Python Pydantic

Open-source Python projects categorized as Pydantic

Top 23 Python Pydantic Projects

  1. fastapi

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

    Project mention: Always Up-to-Date API Docs Are Real (And No, It’s Not AI) | dev.to | 2025-08-15

    The most sophisticated approach uses type hints and models to automatically generate documentation. FastAPI is the poster child here - it introspects your Pydantic models and function signatures to build comprehensive OpenAPI specs with minimal manual input.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. pydantic

    Data validation using Python type hints

    Project mention: Dict Unpacking in Python | news.ycombinator.com | 2025-07-08
  4. sqlmodel

    SQL databases in Python, designed for simplicity, compatibility, and robustness.

    Project mention: Architecture Patterns with Python | news.ycombinator.com | 2025-03-28

    an SQLModel entity backed by a database table doesn't validate its fields on creation, which is the point of Pydantic.

    https://github.com/fastapi/sqlmodel/issues/52#issuecomment-1...

  5. pydantic-ai

    Agent Framework / shim to use Pydantic with LLMs

    Project mention: Building Your Own CLI Coding Agent with Pydantic-AI | news.ycombinator.com | 2025-08-28

    I've been building an integration [1] with Pydantic AI and the experience has been great. Questions usually get answered within a few hours, and the team is super responsive and supportive for external contributors. The public API is easy to extend for new functionality (in my case, durable agents).

    Its agent model feels similar to OpenAI's: flexible and dynamic without needing to predefine a DAG. Execution is automatically traced and can be exported to Logfire, which makes observability pretty smooth too. Looking forward to their upcoming V1 release.

    Shameless plug: I've been working on a DBOS [2] integration into Pydantic-AI as a lightweight durable agent solution.

    [1] https://github.com/pydantic/pydantic-ai/pull/2638

    [2] https://github.com/dbos-inc/dbos-transact-py

  6. FastUI

    Build better UIs faster.

  7. django-ninja

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

    Project mention: Django 5.2 Released | news.ycombinator.com | 2025-04-02

    If you're looking for a mixture of the two, there's Django Ninja: https://django-ninja.dev

  8. litestar

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

    Project mention: Best Backend Frameworks for 2025: A Developer's Guide to Making the Right Choice | dev.to | 2025-02-02

    Litestar: The New Python Performance King

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. logfire

    Uncomplicated Observability for Python and beyond! 🪵🔥

  11. datamodel-code-generator

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

  12. rocketry

    Modern scheduling library for Python

  13. vizro

    Vizro is a low-code toolkit for building high-quality data visualization apps.

  14. tracecat

    All-in-one automation platform (workflows, tables, cases) for security and IT teams. Open source Splunk SOAR / ServiceNow SecOps alternative.

    Project mention: N8n – Open-source Zapier alternative | news.ycombinator.com | 2025-05-03
  15. opyrator

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

  16. docarray

    Represent, send, store and search multimodal data

  17. uvicorn-gunicorn-fastapi-docker

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

  18. beanie

    Asynchronous Python ODM for MongoDB

  19. magentic

    Seamlessly integrate LLMs as Python functions

    Project mention: Using LLMs in 3 lines of Python | dev.to | 2025-06-30

    #!/usr/bin/env -S uv run --script # /// script # requires-python = ">=3.10" # dependencies = [ # "fire", # "magentic", # "pydantic", # ] # /// from fire import Fire from magentic import chatprompt, AssistantMessage, SystemMessage, UserMessage from pydantic import BaseModel # this is a modified version of magentic's example chatprompt code # https://magentic.dev/#chatprompt class Quote(BaseModel): quote: str character: str @chatprompt( SystemMessage("You are a movie buff."), UserMessage("What is your favorite quote from Harry Potter?"), AssistantMessage( Quote( quote="It does not do to dwell on dreams and forget to live.", character="Albus Dumbledore", ) ), UserMessage("What is your favorite quote from {movie}?"), ) def get_movie_quote(movie: str) -> Quote: ... if __name__=="__main__": Fire(get_movie_quote)

  20. ormar

    python async orm with fastapi in mind and pydantic validation

  21. pydantic-core

    Core validation logic for pydantic written in rust

  22. polyfactory

    Simple and powerful factories for mock data generation

  23. redis-om-python

    Object mapping, and more, for Redis and Python

  24. fastcrud

    FastCRUD is a Python package for FastAPI, offering robust async CRUD operations and flexible endpoint creation utilities.

    Project mention: This Week In Python | dev.to | 2025-01-10

    fastcrud - CRUD operations for FastAPI

  25. odmantic

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

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Python Pydantic discussion

Log in or Post with

Python Pydantic related posts

  • Building Your Own CLI Coding Agent with Pydantic-AI

    6 projects | news.ycombinator.com | 28 Aug 2025
  • Curiosity and Craft: What Drives Me to Build

    1 project | dev.to | 16 Aug 2025
  • Building MIA: A WhatsApp AI Assistant to Escape Subscription Hell

    4 projects | dev.to | 8 Jul 2025
  • Framefox-Python web framework-FastAPI+MVC+SQLModel+Interactive CLI

    1 project | news.ycombinator.com | 19 Jun 2025
  • Loading Pydantic models from JSON without running out of memory

    4 projects | news.ycombinator.com | 22 May 2025
  • New tools and features in the Responses API

    2 projects | news.ycombinator.com | 21 May 2025
  • 🥔 Reputato: Not Every Company Is Golden. We Sniff Out the Ones That Are.

    3 projects | dev.to | 16 May 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 Sep 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 fastapi 88,998
2 pydantic 24,969
3 sqlmodel 16,663
4 pydantic-ai 12,048
5 FastUI 8,859
6 django-ninja 8,462
7 litestar 7,360
8 logfire 3,494
9 datamodel-code-generator 3,419
10 rocketry 3,355
11 vizro 3,297
12 tracecat 3,205
13 opyrator 3,130
14 docarray 3,098
15 uvicorn-gunicorn-fastapi-docker 2,796
16 beanie 2,418
17 magentic 2,362
18 ormar 1,766
19 pydantic-core 1,661
20 polyfactory 1,283
21 redis-om-python 1,245
22 fastcrud 1,230
23 odmantic 1,127

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?