Skip to main content

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


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)

Uploaded Source

Built Distribution

p3orm-0.1.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page