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
Metadata
Release files for Elephantoplasty 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | |
|---|---|---|---|
| Elephantoplasty-0.1.zip | 100.9 kB | Details | |
| Elephantoplasty-0.1.tar.bz2 | 69.8 kB | Details |
Release files / Elephantoplasty-0.1.zip
| Download URL | Elephantoplasty-0.1.zip |
|---|---|
| Size | 100.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b0246b4c8c2ee5ca08d6c12bcb64659f3c18c228fb11db18ff771ddc92027be
|
|
BLAKE2b-256 checksum How to use checksums |
7e8d70e7e72e9b6c31dd7ae0910eede8f57002c25d292162c573a323400ea77c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Elephantoplasty-0.1.tar.bz2
| Download URL | Elephantoplasty-0.1.tar.bz2 |
|---|---|
| Size | 69.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f4572c84b7b59a1f91a8c857d26788aa27a1e90a654d65f74251cd457c1f6e6
|
|
BLAKE2b-256 checksum How to use checksums |
58d4ebac646a41d79497b06495165335b09806b466f9a86a38a5d9cec428df71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |