Awesome Pydantic
A curated list of awesome things related to Pydantic.
These packages have not been vetted or approved by the pydantic team.
Machine Learning
-
Transformers 🌟(111796) - State-of-the-art Natural Language Processing for PyTorch and TensorFlow 2.0.
-
ray 🌟(27562) - Ray provides a simple, universal API for building distributed applications.
-
spaCy 🌟(27087) - 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 🌟(19080) - 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.
-
ZenML 🌟(3037) - MLOps framework to create reproducible ML pipelines for production machine learning.
-
Opyrator 🌟(2877) - Turns your machine learning code into microservices with web API, interactive GUI, and more.
-
FastMRI 🌟(1145) - 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.
Object Mapping
-
SQLModel 🌟(10635) - SQLModel is a library for interacting with SQL databases from Python code, with Python objects.
-
Beanie 🌟(1429) - Beanie - is an Asynchronous Python object-document mapper (ODM) for MongoDB, based on Motor and Pydantic.
-
Ormar 🌟(1428) - 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.
-
Piccolo 🌟(1099) - An async query builder and ORM, which can auto generate Pydantic models from database tables.
-
ODMantic 🌟(837) - 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.
-
Redis-OM-Python 🌟(826) - Redis OM Python makes it easy to model Redis data in your Python applications.
-
Djantic 🌟(375) - Pydantic model support for Django.
-
Mongox 🌟(117) - Familiar async MongoDB ODM based on Pydantic and Motor.
-
FastDepends 🌟(87) - FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic.
-
django-pydantic-field 🌟(56) - Django JSONField with Pydantic models as a Schema. DRF supported.
-
pydantic-aioredis 🌟(43) - A simple Declarative ORM for Redis using Pydantic Models and aioredis
-
Edgy 🌟(7) - 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.
-
pydantic-sqs 🌟(1) - Send and receive pydantic models via AWS SQS
Utilities
-
HttpRunner 🌟(3799) - HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework.
-
Strawberry GraphQL 🌟(3433) - Python GraphQL library based on dataclasses.
-
Robusta 🌟(2150) - Open source Kubernetes troubleshooting and automation platform.
-
datamodel-code-generator 🌟(1824) - Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
-
Pydantic-Factories 🌟(700) - Pydantic based factories to generate testing data.
-
Pydantic PyCharm Plugin 🌟(361) - A JetBrains PyCharm plugin for pydantic.
-
erdantic 🌟(186) - Entity relationship diagrams for Python data model classes like Pydantic.
-
jsf 🌟(125) - Creates fake JSON files from a JSON schema.
-
Goodconf 🌟(111) - 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.
-
autodoc_pydantic 🌟(108) - Seamlessly integrate pydantic models in your Sphinx documentation.
-
pydantic-xml 🌟(80) - Pydantic xml extension
-
pydantic-i18n 🌟(60) - An extension to support an i18n for the pydantic error messages.
-
easyconfig 🌟(2) - 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.
Web
-
FastAPI 🌟(62501) - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
-
Django Ninja 🌟(4936) - Django + Pydantic = Fast, Async-ready, OpenAPI, type hints based framework for building APIs.
-
Litestar (before Starlite) 🌟(2827) - Flexible ASGI API framework built on top of Starlette and pydantic.
-
Propan 🌟(427) - Propan is a powerful and easy-to-use Python framework for building event-driven applications that interact with any MQ Broker.
-
Flask Pydantic 🌟(298) - Flask extension for integration of the awesome pydantic package with Flask.
-
SpecTree 🌟(284) - API spec validator and OpenAPI document generator for Python web frameworks (Flask, Falcon, Starlette).
-
Piccolo Admin 🌟(245) - An admin interface powered by Pydantic. Automatically generate forms using Pydantic models.
-
Esmerald 🌟(65) - Full suite python web framework with results and design in mind based on Python type hints and pydantic.
-
turms 🌟(44) - GraphQL code generator that generates pydantic models from GraphQL documents
-
Quart-Schema 🌟(14) - Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation.
-
pydantic-enhanced-serializer 🌟(1) - 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.