Awesome Pydantic [](https://github.com/sindresorhus/awesome)

August 21, 2026 ยท View on GitHub

A curated list of awesome things related to Pydantic.

These packages have not been vetted or approved by the pydantic team.

Command-Line Interface

  • Tyro ๐ŸŒŸ(1099) - Tyro is a tool for generating command-line interfaces and configuration objects in Python. Generates CLI interfaces, populates helptext automatically from defaults, annotations and docstrings, understand nesting of dataclasses, pydantic, and attrs structures, and it supports subcommands and fine-grained configuration via runtime annotations.

  • Pydantic Argparse ๐ŸŒŸ(138) - Pydantic Argparse provides declarative typed argument parsing using Pydantic models. (Compatibility with Pydantic V2 still pending)

  • Clipstick ๐ŸŒŸ(42) - Clipstick creates your cli using Pydantic models. Define a Pydantic model as you would normally do, pass it to clipstick and you get a cli including subcommands, nice docstrings and validations based on typing and pydantic validators.

Data Engineering

  • sparkdantic ๐ŸŒŸ(130) - A library that converts Pydantic models to PySpark schemas (StructType), facilitating schema validation in PySpark pipelines.

  • Laktory ๐ŸŒŸ(57) - A DataOps framework for building Databricks lakehouse.

Machine Learning

  • Transformers ๐ŸŒŸ(164286) - State-of-the-art Natural Language Processing for PyTorch and TensorFlow 2.0.

  • ray ๐ŸŒŸ(43570) - Ray provides a simple, universal API for building distributed applications.

  • spaCy ๐ŸŒŸ(33836) - spaCy is a free open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more.

  • jina ๐ŸŒŸ(21860) - Jina is geared towards building search systems for any kind of data, including text, images, audio, video and many more. With the modular design & multi-layer abstraction, you can leverage the efficient patterns to build the system by parts, or chaining them into a Flow for an end-to-end experience.

  • Instructor ๐ŸŒŸ(13757) - Controlling OpenAI Function Calling via Pydantic Models

  • ZenML ๐ŸŒŸ(5555) - MLOps framework to create reproducible ML pipelines for production machine learning.

  • Opyrator ๐ŸŒŸ(3133) - Turns your machine learning code into microservices with web API, interactive GUI, and more.

  • DocArray ๐ŸŒŸ(3124) - Represent, send, store and search multimodal data based on Pydantic. Compatible with Multiple Vector Databases

  • ContextGem ๐ŸŒŸ(1987) - A free, open-source LLM framework that makes it radically easier to extract structured data and insights from documents with minimal code.

  • FastMRI ๐ŸŒŸ(1534) - fastMRI is a collaborative research project from Facebook AI Research (FAIR) and NYU Langone Health to investigate the use of AI to make MRI scans faster.

  • Mirascope ๐ŸŒŸ(1522) - Pythonic prompt engineering for developers built on Pydantic

  • BoFire ๐ŸŒŸ(402) - Bayesian Optimization Framework Intended for Real Experiments.

Object Mapping

  • SQLModel ๐ŸŒŸ(18274) - SQLModel is a library for interacting with SQL databases from Python code, with Python objects.

  • Beanie ๐ŸŒŸ(2692) - Beanie - is an Asynchronous Python object-document mapper (ODM) for MongoDB, based on Motor and Pydantic.

  • Piccolo ๐ŸŒŸ(1936) - An async query builder and ORM, which can auto generate Pydantic models from database tables.

  • Ormar ๐ŸŒŸ(1802) - Ormar is an async ORM that was written with FastAPI in mind and uses pydantic validation. It bridges FastAPI with pydantic, as ormar models can be used directly in FastAPI requests and responses so you are left with only one set of models to maintain. Alembic migrations included.

  • Redis-OM-Python ๐ŸŒŸ(1314) - Redis OM Python makes it easy to model Redis data in your Python applications.

  • ODMantic ๐ŸŒŸ(1175) - Asynchronous ODM(Object Document Mapper) for MongoDB based on standard python type hints. It's built on top of pydantic for model definition and validation.

  • FastDepends ๐ŸŒŸ(517) - FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic.

  • Djantic ๐ŸŒŸ(469) - Pydantic model support for Django.

  • Edgy ๐ŸŒŸ(439) - Edgy is a modern, full suite complete ORM fully built on the top of Pydantic v2. All you need in a ORM in one place. From migrations, to automatic validations.

  • django-pydantic-field ๐ŸŒŸ(218) - Django JSONField with Pydantic models as a Schema. DRF supported.

  • Mongox ๐ŸŒŸ(123) - Familiar async MongoDB ODM based on Pydantic and Motor.

  • pydantic-aioredis ๐ŸŒŸ(61) - A simple Declarative ORM for Redis using Pydantic Models and aioredis

  • pydantic-numpy ๐ŸŒŸ(52) - NumPy typing for Pydantic; NumpyModel Pydantic model for numpy arrays for saving and loading numpy files

  • pydantic-sqs ๐ŸŒŸ(4) - Send and receive pydantic models via AWS SQS

Utilities

  • Strawberry GraphQL ๐ŸŒŸ(4704) - Python GraphQL library based on dataclasses.

  • HttpRunner ๐ŸŒŸ(4294) - HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework.

  • datamodel-code-generator ๐ŸŒŸ(4005) - Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, GraphQL Schema, and YAML data sources.

  • Robusta ๐ŸŒŸ(3075) - Open source Kubernetes troubleshooting and automation platform.

  • Pydantic-Factories ๐ŸŒŸ(1501) - Pydantic based factories to generate testing data.

  • Pydantic PyCharm Plugin ๐ŸŒŸ(535) - A JetBrains PyCharm plugin for pydantic.

  • fastapi-voyager ๐ŸŒŸ(447) - Explore your router and response models interactively.

  • erdantic ๐ŸŒŸ(416) - Entity relationship diagrams for Python data model classes like Pydantic.

  • Pydantic-resolve ๐ŸŒŸ(326) - A small yet powerful tool to extend your pydantic schema, and resolve all descendants automatically.

  • pydantic-xml ๐ŸŒŸ(255) - Pydantic xml extension

  • AioClock ๐ŸŒŸ(242) - Scheduler framework asyncio-based designed for execution of periodic task with dependency injection

  • jsf ๐ŸŒŸ(200) - Creates fake JSON files from a JSON schema.

  • autodoc_pydantic ๐ŸŒŸ(181) - Seamlessly integrate pydantic models in your Sphinx documentation.

  • Goodconf ๐ŸŒŸ(156) - A thin wrapper over Pydantic's settings management. Allows you to define configuration variables and load them from environment or JSON/YAML file. Also generates initial configuration files and documentation for your defined configuration.

  • pydantic-i18n ๐ŸŒŸ(101) - An extension to support an i18n for the pydantic error messages.

  • Settings Doc ๐ŸŒŸ(63) - A command line tool for generating Markdown documentation and .env files from pydantic_settings.BaseSettings.

  • Flake8 Pydantic ๐ŸŒŸ(21) - A Flake8 plugin to check Pydantic related code.

  • fodantic ๐ŸŒŸ(19) - Pydantic-based HTTP forms

  • easyconfig ๐ŸŒŸ(11) - Easy application configuration with yaml files and pydantic models. Allows automatic creation of default configuration files with value descriptions as comments. Additionally has environment variable expansion and support for docker secrets. Can also has support for reloading values on the fly e.g. in combination with a file watcher. Works with normal pydantic models and pydantic settings.

  • Settus ๐ŸŒŸ(5) - Settings management using Pydantic Settings and extended to secrets from Azure Keyvault, Databricks secrets, AWS Secrets Manager and GCP Secrets Manager

  • env-example ๐ŸŒŸ(2) - A command line tool for creating a .env.example file for all Pydantic settings classes in your project.

  • Schemato ๐ŸŒŸ(1) - Browser-only converter that turns JSON, JSON Schema, OpenAPI 3.x, SQL DDL, Protobuf, Prisma, Mongoose, Avro, GraphQL SDL, and TypeScript interfaces into Pydantic v2 models.

Web

  • FastAPI ๐ŸŒŸ(101737) - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

  • Django Ninja ๐ŸŒŸ(9167) - Django + Pydantic = Fast, Async-ready, OpenAPI, type hints based framework for building APIs.

  • Litestar (before Starlite) ๐ŸŒŸ(8398) - Flexible ASGI API framework built on top of Starlette and pydantic.

  • FastStream ๐ŸŒŸ(5309) - FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.

  • BlackSheep ๐ŸŒŸ(2357) - BlackSheep is an asynchronous web framework to build event based web applications with Python. It is inspired by Flask, ASP.NET Core, and the work by Yury Selivanov.

  • Propan ๐ŸŒŸ(496) - Propan is a powerful and easy-to-use Python framework for building event-driven applications that interact with any MQ Broker.

  • Piccolo Admin ๐ŸŒŸ(468) - An admin interface powered by Pydantic. Automatically generate forms using Pydantic models.

  • Flask Pydantic ๐ŸŒŸ(434) - Flask extension for integration of the awesome pydantic package with Flask.

  • Esmerald ๐ŸŒŸ(389) - Full suite python web framework with results and design in mind based on Python type hints and pydantic.

  • SpecTree ๐ŸŒŸ(362) - API spec validator and OpenAPI document generator for Python web frameworks (Flask, Falcon, Starlette).

  • RichAPI ๐ŸŒŸ(156) - Find HTTPExceptions and turn them into documented responses!

  • Quart-Schema ๐ŸŒŸ(110) - Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation.

  • PydanticRPC ๐ŸŒŸ(78) - PydanticRPC enables you to quickly expose your Pydantic models via gRPC/Connect RPC services without having to manually write any protobuf files.

  • turms ๐ŸŒŸ(77) - GraphQL code generator that generates pydantic models from GraphQL documents

  • graphql-query ๐ŸŒŸ(70) - The package to build GraphQL queries from pydantic classes

  • pydantic-enhanced-serializer ๐ŸŒŸ(10) - Better pydantic object output for apis including selectable fields and smart object expansions.

Contributing

Feel free to add your own package here by creating a PR. You just need to add an entry to the end line of awesome.yaml file. For example:

- repo: https://github.com/tiangolo/fastapi
  category: Web
  # optional
  name: FastAPI
  description: FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

Then it will automate reordered by repository stars and category.