SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Pydantic Projects
-
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
Project mention: I built binary serializer for Pydantic models that's up to 7× smaller than JSON | news.ycombinator.com | 2025-10-25
Found in issue where maintainer answered that they are only going to support JSON
https://github.com/pydantic/pydantic/discussions/4097
-
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...
-
Project mention: Structured Outputs on the Claude Developer Platform (API) | news.ycombinator.com | 2025-11-14
-
Project mention: Show HN: Next.js-like Python web framework, built for Htmx with FastAPI | news.ycombinator.com | 2025-10-01
Would be cool if it was opiniated with ready to use and interactive components like in FastUI (https://github.com/pydantic/FastUI)
If you do this, i'll use it. But maybe that's not the goal?
That’s how I like to use them framework to quickly bootstrap a project in Python only.
I've started working on a FastAPI with HTMX wrapper also 4 days ago, it's not as advanced as your projects tho. There's not much there yet, but here's the link: https://github.com/lakonguina/devanture
-
If you're looking for a mixture of the two, there's Django Ninja: https://django-ninja.dev
-
Project mention: Hyperflask – Full stack Flask and Htmx framework | news.ycombinator.com | 2025-10-16
A lot of people in this thread mentioning the limitations of Flask and “why not FastAPI” etc - but I’ve found Litestar to be the best alternative and it has htmx support out of the box.
https://litestar.dev/
-
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.
-
-
datamodel-code-generator
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
-
-
-
tracecat
All-in-one AI automation platform (workflows, agents, cases, tables) for security, IT, and infra teams.
Project mention: N8n added native persistent storage with DataTables | news.ycombinator.com | 2025-10-02 -
opyrator
🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.
-
-
uvicorn-gunicorn-fastapi-docker
Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
-
-
#!/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)
-
-
-
fastcrud
FastCRUD is a Python package for FastAPI, offering robust async CRUD operations and flexible endpoint creation utilities.
fastcrud - CRUD operations for FastAPI
-
-
-
pydantic-settings – Settings management using pydantic
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Pydantic discussion
Python Pydantic related posts
-
Structured Outputs on the Claude Developer Platform (API)
-
Show HN: rstructor, Pydantic+instructor for Rust
-
Hyperflask – Full stack Flask and Htmx framework
-
Show HN: Next.js-like Python web framework, built for Htmx with FastAPI
-
Build a Frontend for your ADK Agents with AG-UI
-
Structured Outputs in LLMs
-
Building Production-Ready AI Agents with Pydantic AI and Amazon Bedrock AgentCore
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Nov 2025
Index
What are some of the best open-source Pydantic projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | fastapi | 91,739 |
| 2 | pydantic | 25,768 |
| 3 | sqlmodel | 17,122 |
| 4 | pydantic-ai | 13,287 |
| 5 | FastUI | 8,907 |
| 6 | django-ninja | 8,696 |
| 7 | litestar | 7,636 |
| 8 | logfire | 3,751 |
| 9 | datamodel-code-generator | 3,579 |
| 10 | vizro | 3,469 |
| 11 | rocketry | 3,361 |
| 12 | tracecat | 3,341 |
| 13 | opyrator | 3,135 |
| 14 | docarray | 3,110 |
| 15 | uvicorn-gunicorn-fastapi-docker | 2,810 |
| 16 | beanie | 2,489 |
| 17 | magentic | 2,379 |
| 18 | ormar | 1,781 |
| 19 | pydantic-core | 1,722 |
| 20 | fastcrud | 1,384 |
| 21 | polyfactory | 1,333 |
| 22 | redis-om-python | 1,269 |
| 23 | pydantic-settings | 1,141 |