The contents of this page are being merged into the ChoosingDatabase page.
[http://dmoz.org/Computers/Programming/Languages/Python/Modules/Databases_and_Persistence/ Category in the Open Directory Project]
Databases based on a relational model, with support for SQL.
- Asynchronous and pure Python. Speed comparable to C bindings. Special support for Twisted.
- Barebones pure-Python PostgreSQL client
mxODBC: http://www.egenix.com/products/python/mxODBC/ Supports the PostgreSQL ODBC driver on both Windows and Unix. Note that you have to enable the advanced option "Use bytea for lo" in case you want to work with BLOBs.
- Have versions for both SQLite 2 and 3.
- SQLite 3 only.
- Not DB-API compliant. Focus on wrapping all SQLite APIs.
- This is for old Oracle versions (7 and 8).
- For Oracle 8i and up.
Supports the Oracle Instant Client which is available for Windows and many popular Unix platforms.
MS SQL Server
mxODBC: http://www.egenix.com/products/python/mxODBC/ Supports the MS SQL Server ODBC driver on Windows and the Actual Technologies ODBC driver for MS SQL Server on Mac OS X
MS Desktop Engine
mxODBC: http://www.egenix.com/products/python/mxODBC/ DB2's native CLI is ODBC compatible and mxODBC can link directly against these libraries. It also supports the DB2 ODBC driver on Windows.
mxODBC: http://www.egenix.com/products/python/mxODBC/ Supports Sybase ASE and Sybase Anywhere.
mxODBC: http://www.egenix.com/products/python/mxODBC/ MaxDB/SAPDB's native CLI is ODBC compatible and mxODBC can link directly against the CLI libs on Unix. It also supports the ODBC driver on Windows.
mxODBC: http://www.egenix.com/products/python/mxODBC/ Note: The Informix ODBC drivers are included in the Informix CSDK.
mxODBC: http://www.egenix.com/products/python/mxODBC/ Provides ODBC connectivity on Windows, Mac OS X, FreeBSD and most other Unix platforms.
Native Python Databases
Gadfly is a simple relational database system implemented in Python based on the SQL Structured Query Language.
SnakeSQL is a pure Python SQL database written to remove the dependence of the Python Web Modules on 3rd party drivers for non-Python databases like MySQL but designed to be a useful database in its own right.
Zope Object Database.
Durus is a persistent object system for applications written in the Python programming language. Durus offers an easy way to use and maintain a consistent collection of object instances used by one or more processes. Access and change of a persistent instances is managed through a cached Connection instance which includes commit() and abort() methods so that changes are transactional.
Pypersyst provides fast, reliable, and flexible object persistence with a small footprint, suitable for embedding in other Python applications.
A [http://www.python.org/doc/current/lib/module-shelve.html shelf] is a persistent, dictionary-like object. The difference with dbm databases is that the values (not the keys!) in a shelf can be essentially arbitrary Python objects -- anything that the [http://www.python.org/doc/current/lib/module-pickle.html pickle] module can handle. This includes most class instances, recursive data types, and objects containing lots of shared sub-objects. The keys are ordinary strings.
Things you open.
Which stands for .dbf files interface.BR .dbf files were produced by several old systems like dBase(II,III,IV), Fox(Base,Pro)
xBase (http://linux.techass.com/projects/xdb/) - Python interface in plans
http://www.fiby.at/dbfpy/index.html - working now. or (take it [http://starship.python.net/crew/jjkunce/python/dbfpy.tgz here])
http://www.e-bachmann.dk/docs/xbase.htm - dead link
A family of old unix plain hash tables. Has varieties like dbm, ndbm, gdbm, dbmdb185.BR See [http://www.python.org/doc/current/lib/module-anydbm.html anydbm], [http://www.python.org/doc/current/lib/module-dumbdbm.html dumbdbm], [http://www.python.org/doc/current/lib/module-dbhash.html dbhash], [http://www.python.org/doc/current/lib/module-bsddb.html bsddb], [http://www.python.org/doc/current/lib/module-dbm.html dbm], [http://www.python.org/doc/current/lib/module-gdbm.html gdbm] in Python Standard Library.
XML Databases or Interfaces
Forest is a (native) XML database written in Python. It is intended to support fast queries of XML data.