Python json-schema

Open-source Python projects categorized as json-schema

Top 23 Python json-schema Projects

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    Project mention: Litestar – powerful, flexible, and highly performant Python ASGI framework | | 2024-02-26

    It’s been my experience that async Python frameworks tend to turn IO bound problems into CPU bound problems with a high enough request rate, because due to their nature they act as unbounded queues.

    This ends up made worse if you’re using sync routes.

    If you’re constrained on a resource such as a database connection pool, your framework will continue to pull http requests off the wire that a sane client will cancel and retry due to timeouts because it takes too long to get a connection out of the pool. Since there isn’t a straightforward way to cancel the execution of a route handler in every Python http framework I’ve seen exhibit this problem, the problem quickly snowballs.

    This is an issue with fastapi, too-

  • pydantic

    Data validation using Python type hints

    Project mention: utype VS pydantic - a user suggested alternative | | 2024-02-15

    utype is a concise alternative of pydantic with simplified parameters and usages, supporting both sync/async functions and generators parsing, and capable of using native logic operators to define logical types like AND/OR/NOT, also provides custom type parsing by register mechanism that supports libraries like pydantic, attrs and dataclasses

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • sqlmodel

    SQL databases in Python, designed for simplicity, compatibility, and robustness.

  • jsonschema

    An implementation of the JSON Schema specification for Python

  • uvicorn-gunicorn-fastapi-docker

    Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning. Optionally with Alpine Linux.

  • datamodel-code-generator

    Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.

    Project mention: Datamodel-code-generator: Pydantic model/dataclass from OpenAPI, JSON, YAML | | 2023-11-16
  • msgspec

    A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

    Project mention: Htmx, Rust and Shuttle: A New Rapid Prototyping Stack | | 2023-11-01
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • pydantic-core

    Core validation logic for pydantic written in rust

    Project mention: Is there a pydantic.BaseSettings equivalent in rust? | /r/rust | 2023-06-05

    Funny that you ask... Unfortunately it seems that the functionality you ask for is not (yet) part of this ...

  • apispec

    A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..

  • mashumaro

    Fast and well tested serialization library

    Project mention: DotDict: A simple Python library to make chained attributes possible | | 2023-08-02

    Source code for the CERN Open Data portal

    Project mention: Observable 2.0, a static site generator for data apps | | 2024-02-15

    I think the idea of Framework is really good, but static data limits the applications, excluding monitoring and other cases in which the data is constantly changing, but the dashboard can stay as it is. For example, I'd love to see a revamped Framework version of the LHC beam monitor and related pages (see, but check again in 2 months or so, when the accelerator will be running).

    In high-energy physics, ROOT is /the/ toolkit for data analysis, and I guess jsROOT ( could also be used to load data to be shown in Framework dashboards. I thought the idea of Framework as a blogging engine with powerful data visualization built-in could be very interesting. Think, for example, about physicists pulling open data ( and writing about their analysis or someone pulling data from in their own visualizations to support their case while writing about a particular subject, etc.

  • streamlit-pydantic

    🪄 Auto-generate Streamlit UI from Pydantic Models and Dataclasses.

  • django-jsonform

    A better, user-friendly JSON editing form field for Django admin. Also supports Postgres ArrayField.

  • linkml

    Linked Open Data Modeling Language

    Project mention: Loops: journeys in declarative logic programming in genomics [video] | | 2023-11-30

    LinkML that Chris presents here looks really interesting though!

  • typedload

    Python library to load dynamically typed data into statically typed data structures

    Project mention: Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19 | | 2023-03-06

    Author of typedload here!

    FastAPI relies on (not so fast) pydantic, which is one of the slowest libraries in that category.

    Don't expect to find such benchmarks on the pydantic documentation itself, but the competing libraries will have them.


  • apischema

    JSON (de)serialization, GraphQL and JSON schema generation using Python typing.

  • local-llm-function-calling

    A tool for generating function arguments and choosing what function to call with local LLMs

    Project mention: Tell HN: OpenAI still has a moat, it's called function calling and its API | | 2024-02-21


  • check-jsonschema

    A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!

  • hull

    The incredible HULL - Helm Uniform Layer Library - is a Helm library chart to improve Helm chart based workflows (by vidispine)

  • jsf

    Creates fake JSON files from a JSON schema

  • MOSP

    A collaborative platform for creating, editing and sharing JSON objects.

  • nvelope

    Define your JSON schema as Python dataclasses

  • pydantic_schemaorg classes in pydantic

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-26.

Python json-schema related posts


What are some of the best open-source json-schema projects in Python? This list will help you:

Project Stars
1 fastapi 68,574
2 pydantic 17,820
3 sqlmodel 12,395
4 jsonschema 4,378
5 uvicorn-gunicorn-fastapi-docker 2,486
6 datamodel-code-generator 2,165
7 msgspec 1,771
8 pydantic-core 1,231
9 apispec 1,119
10 mashumaro 713
11 628
12 streamlit-pydantic 296
13 django-jsonform 267
14 linkml 257
15 typedload 246
16 apischema 213
17 local-llm-function-calling 209
18 check-jsonschema 165
19 hull 149
20 jsf 147
21 MOSP 73
22 nvelope 65
23 pydantic_schemaorg 45
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives