ormar-orm/ormar
python async orm with fastapi in mind and pydantic validation observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 29
- age_days: 2222
- days_rel: 86
- days_push: 9
- n_releases_24m: 8
Adoption not part of the score
1802 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Ormar is an async mini ORM for Python supporting Postgres, MySQL, and SQLite, built on SQLAlchemy Core with pydantic validation. It lets you maintain a single model that works directly as FastAPI request and response models.
Use cases
- build async FastAPI apps with database models
- use one model for both ORM and pydantic validation
- query Postgres, MySQL, or SQLite asynchronously
- generate migrations with alembic
- avoid duplicating pydantic and ORM models
When to choose
- you use FastAPI or Starlette and want a single model for validation and persistence
- you need a lightweight async ORM without maintaining separate schemas
- you want SQLAlchemy Core query building with pydantic-style models
When to avoid
- you need the full SQLAlchemy ORM feature set like advanced relationship loading
- your project is synchronous-only
- you need databases beyond Postgres, MySQL, and SQLite
Facets
library · maturity active
orm database serialization form-handling databases web-development backend apis python cross-platform async pydantic fastapi sqlalchemy-core alembic single-model
3 sources
- readme: https://github.com/ormar-orm/ormar · fetched 2026-08-28 · 0bc2bfaee2ba
- homepage: https://collerek.github.io/ormar/ · fetched 2026-08-29 · 998461ea62a0
- registry_pypi: https://pypi.org/pypi/ormar/json · fetched 2026-08-29 · d48e6ad920ea
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ormar-orm/ormar | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem