Differences between revisions 53 and 54
Revision 53 as of 2013-09-30 16:35:43
Size: 4752
Editor: PaulBoddie
Comment: Reverting to the last good revision.
Revision 54 as of 2014-08-11 05:52:39
Size: 4746
Editor: techtonik
Comment: fix Axiom URL
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 8: Line 7:
 * [[http://divmod.org/trac/wiki/DivmodAxiom|Axiom]]: MIT-licensed, SQLite-based  * [[https://github.com/twisted/axiom/|Axiom]]: MIT-licensed, SQLite-based

There are several wrappers that provide improved or simplified interfaces to SQL databases. Some of these might be referred to as object relational mappers, or ORM in this list -- these create Pythonic objects out of database rows. Others may only help generate SQL, or provide simple mapping support.

Object Relational Mappers (ORMs)

  • Axiom: MIT-licensed, SQLite-based

  • Bazaar ORM: Easy to use and powerful abstraction layer between relational database and object oriented application.

  • dal.py: a Database Abstraction Layer (DAL), an API that maps Python objects into database objects such as queries, tables, and records. 101 video (This module is normally distributed as part of web2py but it does not depend on web2py, except for few some web2py specific functionalities)

  • DbObj: ORM

  • Dejavu: Public domain, thread-safe, Data Mapper ORM. (latest rel. 1.5 dd. 2007-01-24)

  • forgetSQL: ORM

  • libschevo: Next-generation Object-Oriented DBMS based on Schevo.

  • MiddleKit: ORM

  • Modeling Object-Relational Bridge: ORM and schema design with Zope integration

  • Object Relational Membrame (Freshmeat entry): ORM

  • ORB: easy to use ORM with Pythonic query markup language for multiple databases, works with the Orbiter ORM designer

  • PyDo: ORM

  • quick_orm: ORM on top of SQLAlchemy to make things simple

  • SQLObject: ORM

  • SQLAlchemy: SQL Toolkit and ORM

  • Storm: Clean and powerful ORM by Canonical.

SQL Wrappers & Generators

  • db_row: SQL result wrapper

  • gnue-common: gnue.common.datasources module - Database abstraction layer

  • Roundup's hyperdb: set of constrained data types with relations (many-to-many included) over multiple backends including SQL, metakit and db (yes, relations in an anydbm-backed database :)

  • ll.sql: SQL generator

  • PDO: Python Database Objects - allows use of most DBAPI modules with a clean, simple API similar in scope to ADO or JDBC. Column access by name is provided by a low overhead mechanism.

  • pySQLFace: SQL interface over DBAPI2. It provides a database specific API to retrive and save data by creating SQL/DML command objects from a configuration file.

  • PyTable

  • The PythonWebModules web.database module - Database abstraction layer to make it possible to run the same SQL on different databases without changing your code.

  • The PythonWebModules web.database.object module - ORM - treat an SQL database like python objects for easy programming, the SQL is done behind the scenes. Supports one and many to many mappings and can generate HTML forms for the data automatically.

  • QLime (Freshmeat entry): Easy to use, transparent data access to relational databases or other data sources. See examples here: http://www.qlime-project.org/example.rst

  • simpleQL: SQL generator using live translation of generator expressions

  • SQLBuilder: SQL generator

  • SQLDict: SQL wrapper

  • prototype SchemQL/Roe-like thing in Python --- Python objects representing relational algebra expressions, backed by lazy compilation to SQL and an iterable interface.

Relational Python

  • Dee: A proposal to supersede SQL and the need for database sub-languages. Adds truly relational capabilities to Python (no wrappers, no mappers).

See also PersistenceSystems and ObjectOrientedDatabase

Editorial Notes

The above lists should be arranged in ascending alphabetical order - please respect this when adding new entries. When specifying release dates please use the format YYYY-MM-DD.

HigherLevelDatabaseProgramming (last edited 2014-08-11 05:52:39 by techtonik)

Unable to edit the page? See the FrontPage for instructions.