Python PyPika Postgres ORM
Project description
porm
Minimal PostgreSQL Python ORM, backed by asyncpg, Pydantic, and PyPika.
Philosophy
90% of the time we talk to a database is with a CRUD operation. porm provides helpers
The remaining 10% is a bit more complicated. porm doesn't attempt to hide SQL queries behind any magic, instead it empowers you to write direct, explicit, and legible SQL queries with PyPika.
Object created or fetched by porm are dead, they're just (currently) Pydantic models. If you want to manipulate the database, you do so explicitly.
Roadmap
- Annotation type definition
- Relationships
- Tests
- Look into attrs over pydantic (does this actually need type validation)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
p3orm-0.1.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
p3orm-0.1.0-py3-none-any.whl
(4.3 kB
view hashes)