Python Pydantic

Open-source Python projects categorized as Pydantic

Top 23 Python Pydantic Projects

  • fastapi

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

    Project mention: LangChain, Python, and Heroku | | 2024-03-18

    An API application framework (such as FastAPI)

  • 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.

  • FastUI

    Build better UIs faster.

    Project mention: FastUI: Build Better UIs Faster | | 2024-03-01

    Django admin is really extensible. I'm not seeing here how to offer multiple forms against the same model. Eg if a user can edit some of their profile but not the subscription plan field, while a sales team can.

  • django-ninja

    💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

    Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | | 2024-03-07

    Django Ninja [1], it forever changed how I write Django project, in a way so elegant and productive.


  • litestar

    Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs

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

    What would you like to see here? Could you perhaps open an issue at so we can track and implement this?

    If you are just needing a client what you need should be available OOTB, unless you want more hands off.

    Here is also a good article for example:

  • rocketry

    Modern scheduling library for Python

  • 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.

  • opyrator

    🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.

    Project mention: Opyrator: Turns your Python code into microservices with web API and webUI | | 2023-10-30
  • docarray

    Represent, send, store and search multimodal data

    Project mention: DocArray – Represent, send, and store multimodal data for ML | | 2023-04-27
  • uvicorn-gunicorn-fastapi-docker

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

  • vizro

    Vizro is a toolkit for creating modular data visualization applications.

    Project mention: Vizro – toolkit for creating modular data visualization applications | | 2023-09-26
  • 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
  • beanie

    Asynchronous Python ODM for MongoDB

    Project mention: Ask HN: Where do I find good code to read? | | 2023-08-24

    I recently came across Beanie. A Python ORM for MongoDb. A pleasure to work with and integrates well with FastAPI, the tests document the code well, and at this point it’s only as complicated as it needs to be.

  • prisma-client-py

    Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use

    Project mention: Sunday Daily Thread: What's everyone working on this week? | /r/Python | 2023-04-16

    almost samezies, although I'm trying prisma-client-py for team-specific reasons.

  • magentic

    Seamlessly integrate LLMs as Python functions

    Project mention: Building a local AI smart Home Assistant | | 2024-01-13

    See Magentic for something similar:

  • ormar

    python async orm with fastapi in mind and pydantic validation

  • 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 ...

  • polar

    Polar is the creator platform for developers & the open source ecosystem.

    Project mention: GitHub now officially supports as a funding platform | | 2024-02-15

    Hey HN,

    Birk from Polar here. We're building a platform for open source developers offering better funding & community tools. We're building it open source too:

    Here to answer any questions you might have. You can read more about this on our own Polar page for Polar:

  • redis-om-python

    Object mapping, and more, for Redis and Python

  • odmantic

    Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints

    Project mention: Is there mongoose alternative in Python? (A NoSQL ORM) | /r/learnpython | 2023-05-14
  • polyfactory

    Simple and powerful factories for mock data generation

    Project mention: Announcing Polyfactory - a powerful mock data generator for dataclasses, Pydantic and more | /r/Python | 2023-04-16

    If you'd like to contribute, check out the project on GitHub, and if you want to chat you're welcome to join us on the Litestar Discord!

  • authx

    Ready-to-use and customizable Authentications and Oauth2 management for FastAPI ✨

    Project mention: FastAPI as a authentication provider | /r/FastAPI | 2023-04-24

    Yeah you can use a python OIDC or Oauth2 server lib, and just add the routes to your app. Here some doc for AuthX or Authlib.


    Prompt engineering for developers

    Project mention: [D] Alignment using tests? Will it work? | /r/MachineLearning | 2023-12-06

    I came across this open source library a few times across Reddit + HN and something that piqued my interest was their concept around "test-driven alignment".

  • 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-03-18.

Python Pydantic related posts


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

Project Stars
1 fastapi 70,277
2 pydantic 18,442
3 sqlmodel 12,831
4 FastUI 7,098
5 django-ninja 6,126
6 litestar 4,348
7 rocketry 3,170
8 opyrator 3,011
9 docarray 2,718
10 uvicorn-gunicorn-fastapi-docker 2,505
11 vizro 2,346
12 datamodel-code-generator 2,250
13 beanie 1,780
14 prisma-client-py 1,580
15 magentic 1,559
16 ormar 1,556
17 pydantic-core 1,257
18 polar 1,215
19 redis-om-python 999
20 odmantic 963
21 polyfactory 863
22 authx 681
23 628
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives