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 Distributions
File details
Details for the file Elephantoplasty-0.1.zip
.
File metadata
- Download URL: Elephantoplasty-0.1.zip
- Upload date:
- Size: 100.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0246b4c8c2ee5ca08d6c12bcb64659f3c18c228fb11db18ff771ddc92027be |
|
MD5 | 0f5e4667e5eda07e0e516e60ba8490eb |
|
BLAKE2b-256 | 7e8d70e7e72e9b6c31dd7ae0910eede8f57002c25d292162c573a323400ea77c |
File details
Details for the file Elephantoplasty-0.1.tar.bz2
.
File metadata
- Download URL: Elephantoplasty-0.1.tar.bz2
- Upload date:
- Size: 69.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4572c84b7b59a1f91a8c857d26788aa27a1e90a654d65f74251cd457c1f6e6 |
|
MD5 | 7beaeeb3a24b40505f7edac823cfa431 |
|
BLAKE2b-256 | 58d4ebac646a41d79497b06495165335b09806b466f9a86a38a5d9cec428df71 |