Skip to main content

A curated list of awesome things related to Pydantic! 🌪️

766
GitHub Stars
69
Curated Resources
6
Categories
6 hours ago
Last Refreshed
Command-Line InterfaceData EngineeringMachine LearningObject MappingUtilitiesWeb

Use this list with your AI agent

Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:

"Show me utilities resources from awesome-pydantic"

Installation instructions →

What's inside

Utilities

  • AioClock

    Scheduler framework asyncio-based designed for execution of periodic task with dependency injection

  • autodoc_pydantic

    Seamlessly integrate pydantic models in your Sphinx documentation.

  • datamodel-code-generator

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

  • easyconfig

    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.

  • env-example

    A command line tool for creating a .env.example file for all Pydantic settings classes in your project.

  • erdantic

    Entity relationship diagrams for Python data model classes like Pydantic.

Object Mapping

  • Beanie

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

  • django-pydantic-field

    Django JSONField with Pydantic models as a Schema. DRF supported.

  • Djantic

    Pydantic model support for Django.

  • Edgy

    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.

  • FastDepends

    FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic.

  • Mongox

    Familiar async MongoDB ODM based on Pydantic and Motor.

Web

  • BlackSheep

    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.

  • Django Ninja

    Django + Pydantic = Fast, Async-ready, OpenAPI, type hints based framework for building APIs.

  • Esmerald

    Full suite python web framework with results and design in mind based on Python type hints and pydantic.

  • FastAPI

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

  • FastStream

    FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.

  • Flask Pydantic

    Flask extension for integration of the awesome pydantic package with Flask.

Machine Learning

  • BoFire

    Bayesian Optimization Framework Intended for Real Experiments.

  • ContextGem

    A free, open-source LLM framework that makes it radically easier to extract structured data and insights from documents with minimal code.

  • DocArray

    Represent, send, store and search multimodal data based on Pydantic. Compatible with Multiple Vector Databases

  • FastMRI

    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.

  • Instructor

    Controlling OpenAI Function Calling via Pydantic Models

  • jina

    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.

Command-Line Interface

  • Clipstick

    Clipstick creates your cli using Pydantic models. Define a Pydantic model as you would normally do, pass it to

  • Pydantic Argparse

    Pydantic Argparse provides declarative typed argument parsing using Pydantic models. (Compatibility with Pydantic V2 still pending)

  • Tyro

    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

Data Engineering

  • Laktory

    A DataOps framework for building Databricks lakehouse.

  • sparkdantic

    A library that converts Pydantic models to PySpark schemas (StructType), facilitating schema validation in PySpark pipelines.

Showing a sample of 69 resources. View the full list on GitHub →