Differences between revisions 45 and 46
Revision 45 as of 2011-06-13 07:34:24
Size: 4183
Editor: adsl234
Comment:
Revision 46 as of 2011-06-13 07:35:56
Size: 4186
Editor: adsl234
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 * [[http://code.google.com/p/web2py/source/browse/gluon/dal.py|DAL]]: a Database Abstraction Layer (DAL), an API that maps Python objects into database objects such as queries, tables, and records. [[http://vimeo.com/20760298|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)  * [[http://code.google.com/p/web2py/source/browse/gluon/dal.py|dal.py]]: a Database Abstraction Layer (DAL), an API that maps Python objects into database objects such as queries, tables, and records. [[http://vimeo.com/20760298|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)

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)

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 2018-02-01 18:11:05 by EtienneRobillard)

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