Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

  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
Release History

Release History

This version
History Node

0.1

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1-3

History Node

0.0.1-2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Elephantoplasty-0.1.tar.bz2 (69.8 kB) Copy SHA256 Checksum SHA256 Source Nov 17, 2013
Elephantoplasty-0.1.zip (100.9 kB) Copy SHA256 Checksum SHA256 Source Nov 17, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting