Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

awesome-pydantic

A curated list of awesome things related to Pydantic! 🌪️
https://github.com/kludex/awesome-pydantic

Last synced: 4 days ago
JSON representation

  • Command-Line Interface

    • 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 `dataclasses`, `pydantic`, and `attrs` structures, and it supports subcommands and fine-grained configuration via runtime annotations.
    • Pydantic Argparse - Pydantic Argparse provides declarative typed argument parsing using Pydantic models. (Compatibility with Pydantic V2 still pending)
    • Clipstick - 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.
    • Pydantic Argparse - Pydantic Argparse provides declarative typed argument parsing using Pydantic models. (Compatibility with Pydantic V2 still pending)
    • Clipstick - 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

    • Laktory - A DataOps framework for building Databricks lakehouse.
    • Laktory - A DataOps framework for building Databricks lakehouse.
  • Machine Learning

    • Transformers - State-of-the-art Natural Language Processing for PyTorch and TensorFlow 2.0.
    • ray - Ray provides a simple, universal API for building distributed applications.
    • spaCy - 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 - 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 - Controlling OpenAI Function Calling via Pydantic Models
    • ZenML - MLOps framework to create reproducible ML pipelines for production machine learning.
    • Opyrator - Turns your machine learning code into microservices with web API, interactive GUI, and more.
    • 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.
    • Mirascope - Pythonic prompt engineering for developers built on Pydantic
    • BoFire - Bayesian Optimization Framework Intended for Real Experiments.
    • Transformers - State-of-the-art Natural Language Processing for PyTorch and TensorFlow 2.0.
    • ray - Ray provides a simple, universal API for building distributed applications.
    • spaCy - 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 - 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 - Controlling OpenAI Function Calling via Pydantic Models
    • ZenML - MLOps framework to create reproducible ML pipelines for production machine learning.
    • Opyrator - Turns your machine learning code into microservices with web API, interactive GUI, and more.
    • DocArray - Represent, send, store and search multimodal data based on Pydantic. Compatible with Multiple Vector Databases
    • Mirascope - Pythonic prompt engineering for developers built on Pydantic
    • 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.
    • BoFire - Bayesian Optimization Framework Intended for Real Experiments.
  • Object Mapping

    • SQLModel - SQLModel is a library for interacting with SQL databases from Python code, with Python objects.
    • Ormar - 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.
    • SQLModel - SQLModel is a library for interacting with SQL databases from Python code, with Python objects.
    • Ormar - 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 - An async query builder and ORM, which can auto generate Pydantic models from database tables.
    • Redis-OM-Python - Redis OM Python makes it easy to model Redis data in your Python applications.
    • ODMantic - 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.
    • Djantic - Pydantic model support for Django.
    • Piccolo - An async query builder and ORM, which can auto generate Pydantic models from database tables.
    • Redis-OM-Python - Redis OM Python makes it easy to model Redis data in your Python applications.
    • ODMantic - 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.
    • Djantic - Pydantic model support for Django.
    • FastDepends - FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic.
    • 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.
    • django-pydantic-field - Django JSONField with Pydantic models as a Schema. DRF supported.
    • pydantic-aioredis - A simple Declarative ORM for Redis using Pydantic Models and aioredis
    • pydantic-numpy - NumPy typing for Pydantic; `NumpyModel` Pydantic model for numpy arrays for saving and loading numpy files
    • pydantic-sqs - Send and receive pydantic models via AWS SQS
    • Mongox - Familiar async MongoDB ODM based on Pydantic and Motor.
    • django-pydantic-field - Django JSONField with Pydantic models as a Schema. DRF supported.
    • pydantic-aioredis - A simple Declarative ORM for Redis using Pydantic Models and aioredis
    • pydantic-numpy - NumPy typing for Pydantic; `NumpyModel` Pydantic model for numpy arrays for saving and loading numpy files
    • pydantic-sqs - Send and receive pydantic models via AWS SQS
  • Utilities

    • HttpRunner - HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework.
    • Strawberry GraphQL - Python GraphQL library based on dataclasses.
    • datamodel-code-generator - Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, GraphQL Schema, and YAML data sources.
    • Robusta - Open source Kubernetes troubleshooting and automation platform.
    • Pydantic PyCharm Plugin - A JetBrains PyCharm plugin for pydantic.
    • erdantic - Entity relationship diagrams for Python data model classes like Pydantic.
    • Pydantic-resolve - A small yet powerful tool to extend your pydantic schema, and resolve all descendants automatically.
    • jsf - Creates fake JSON files from a JSON schema.
    • pydantic-xml - Pydantic xml extension
    • autodoc_pydantic - Seamlessly integrate pydantic models in your Sphinx documentation.
    • Goodconf - 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.
    • AioClock - Scheduler framework asyncio-based designed for execution of periodic task with dependency injection
    • pydantic-i18n - An extension to support an i18n for the pydantic error messages.
    • Settings Doc - A command line tool for generating Markdown documentation and .env files from pydantic_settings.BaseSettings.
    • Flake8 Pydantic - A Flake8 plugin to check Pydantic related code.
    • fodantic - Pydantic-based HTTP forms
    • 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.
    • Settus - Settings management using Pydantic Settings and extended to secrets from Azure Keyvault, Databricks secrets, AWS Secrets Manager and GCP Secrets Manager
    • HttpRunner - HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework.
    • Strawberry GraphQL - Python GraphQL library based on dataclasses.
    • datamodel-code-generator - Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, GraphQL Schema, and YAML data sources.
    • Robusta - Open source Kubernetes troubleshooting and automation platform.
    • Pydantic PyCharm Plugin - A JetBrains PyCharm plugin for pydantic.
    • erdantic - Entity relationship diagrams for Python data model classes like Pydantic.
    • Pydantic-resolve - A small yet powerful tool to extend your pydantic schema, and resolve all descendants automatically.
    • jsf - Creates fake JSON files from a JSON schema.
    • pydantic-xml - Pydantic xml extension
    • autodoc_pydantic - Seamlessly integrate pydantic models in your Sphinx documentation.
    • Goodconf - 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.
    • AioClock - Scheduler framework asyncio-based designed for execution of periodic task with dependency injection
    • pydantic-i18n - An extension to support an i18n for the pydantic error messages.
    • Settings Doc - A command line tool for generating Markdown documentation and .env files from pydantic_settings.BaseSettings.
    • Flake8 Pydantic - A Flake8 plugin to check Pydantic related code.
    • fodantic - Pydantic-based HTTP forms
    • 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.
    • Settus - Settings management using Pydantic Settings and extended to secrets from Azure Keyvault, Databricks secrets, AWS Secrets Manager and GCP Secrets Manager
  • Web

    • FastAPI - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
    • Django Ninja - Django + Pydantic = Fast, Async-ready, OpenAPI, type hints based framework for building APIs.
    • Litestar (before Starlite) - Flexible ASGI API framework built on top of Starlette and pydantic.
    • FastStream - FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.
    • FastAPI - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
    • Django Ninja - Django + Pydantic = Fast, Async-ready, OpenAPI, type hints based framework for building APIs.
    • Litestar (before Starlite) - Flexible ASGI API framework built on top of Starlette and pydantic.
    • FastStream - FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically.
    • 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.
    • Propan - Propan is a powerful and easy-to-use Python framework for building event-driven applications that interact with any MQ Broker.
    • 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.
    • Propan - Propan is a powerful and easy-to-use Python framework for building event-driven applications that interact with any MQ Broker.
    • SpecTree - API spec validator and OpenAPI document generator for Python web frameworks (Flask, Falcon, Starlette).
    • Piccolo Admin - An admin interface powered by Pydantic. Automatically generate forms using Pydantic models.
    • Esmerald - Full suite python web framework with results and design in mind based on Python type hints and pydantic.
    • Quart-Schema - Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation.
    • turms - GraphQL code generator that generates pydantic models from GraphQL documents
    • graphql-query - The package to build GraphQL queries from pydantic classes
    • pydantic-enhanced-serializer - Better pydantic object output for apis including selectable fields and smart object expansions.
    • SpecTree - API spec validator and OpenAPI document generator for Python web frameworks (Flask, Falcon, Starlette).
    • Piccolo Admin - An admin interface powered by Pydantic. Automatically generate forms using Pydantic models.
    • Esmerald - Full suite python web framework with results and design in mind based on Python type hints and pydantic.
    • Quart-Schema - Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation.
    • turms - GraphQL code generator that generates pydantic models from GraphQL documents
    • graphql-query - The package to build GraphQL queries from pydantic classes
    • pydantic-enhanced-serializer - Better pydantic object output for apis including selectable fields and smart object expansions.