ponyorm/pony
Pony Object Relational Mapper observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 97
- Release rhythm 64
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4954
- days_rel: 24
- days_push: 23
- n_releases_24m: 1
Adoption not part of the score
3819 stars · 256 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Pony is a Python object-relational mapper that lets developers write database queries using Python generator expressions and lambdas, which it translates into SQL via AST analysis. It supports SQLite, MySQL, PostgreSQL, Oracle, and CockroachDB with a concise, Pythonic API.
Use cases
- query a database using python generator expressions instead of raw sql
- map python classes to database tables with compact entity definitions
- build a python backend app with sqlite or postgresql
- prototype database schemas with an entity-relationship diagram editor
- get readable generated sql and precise error messages during development
When to choose
- you want a lightweight, easy-to-learn Python ORM with a distinctive query syntax
- your project uses SQLite, MySQL, PostgreSQL, Oracle, or CockroachDB
- you prefer writing queries as Python expressions over string-based SQL or query builders
When to avoid
- you need an ORM with a large ecosystem, async-first design, or extensive third-party tooling
- you require databases not supported by Pony, such as SQL Server or MongoDB
- your team prefers mainstream ORMs like SQLAlchemy or Django ORM for hiring and community support
Facets
library · maturity active
orm database databases web-development backend developer-tools python cross-platform python-orm generator-expressions sql-generation sqlite postgresql mysql oracle cockroachdb
2 sources
- readme: https://github.com/ponyorm/pony · fetched 2026-08-28 · eec5d1387e73
- registry_pypi: https://pypi.org/pypi/pony/json · fetched 2026-08-29 · b109fd0039eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ponyorm/pony | main | 86 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem