A PostgreSQL ORM
Project description
This is my effort to create an ORM which would take full advantage from PostgresSQL. It is currently under steady development.
Philosophy
PostgresSQL is great. However portable ORM’s use it like SQLite. To use all features of Postgres we need to drop portability to weaker engines.
Simple things should be simple, complicated things should be possible. The ORM should guess all the obvious things, but allow to override them.
Where possible use pythonic EAFP strategy. If database seems to be not in sync with ORM try to migrate.
The interaction with persistent objects should be as seamless and pythonic as possible
DONE
Simple tables.
Inheritance.
Simplest one-to-many and many-to-one
Many-to-many
EAFP table creation
Simplest identities
Dependent and independent relations
Some documentation
Tree decorator for simple parent_id tree
List-like relations
TODO
Dict-like relations
Advanced primary keys
Concurrency control and conflict detection
Advanced identities
EAFP table migration
Joined loading strategy
Full documentation
MPTT trees
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
File details
Details for the file Elephantoplasty-0.0.1-2.tar.gz
.
File metadata
- Download URL: Elephantoplasty-0.0.1-2.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e838bb68762b26ccb16a8b281ccbeb90abf5f4ac89637a8d755ccec393b608c0 |
|
MD5 | ab447e977bb10fb50a4aad3651ec88e4 |
|
BLAKE2b-256 | ea823c1c43b1166bbfd070f702cbff3188b4c9d10412adc0d495f1a040e04a5e |