Skip to main content

Elephantoplasty

This is my effort to create an ORM which would take full advantage from PostgresSQL. It is currently under steady development.

Philosophy

  1. 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.

  2. Simple things should be simple, complicated things should be possible. The ORM should guess all the obvious things, but allow to override them.

  3. Where possible use pythonic EAFP strategy. If database seems to be not in sync with ORM try to migrate.

  4. The interaction with persistent objects should be as seamless and pythonic as possible

DONE

  1. Simple tables.

  2. Inheritance.

  3. Simplest one-to-many and many-to-one

  4. Many-to-many

  5. EAFP table creation

  6. Simplest identities

  7. Dependent and independent relations

  8. Some documentation

  9. Tree decorator for simple parent_id tree

  10. List-like relations

TODO

  1. Dict-like relations

  2. Advanced primary keys

  3. Concurrency control and conflict detection

  4. Advanced identities

  5. EAFP table migration

  6. Joined loading strategy

  7. Full documentation

  8. 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)

Source distribution for Elephantoplasty 0.1
File Size Uploaded Provenance Actions
Elephantoplasty-0.1.zip 100.9 kB Without provenance Details for Elephantoplasty-0.1.zip
Elephantoplasty-0.1.tar.bz2 69.8 kB Without provenance Details for Elephantoplasty-0.1.tar.bz2

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

Security for Elephantoplasty 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page