The contents of this page are being merged into the ChoosingDatabase page.
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.
- 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.
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.
Native Python Databases
[http://buzhug.sourceforge.net/ buzhug] is a pure-Python database engine, using a Pythonic, no-SQL syntax.
The data is stored and accessed on disk (it is not an in-memory database). The implementation has been designed to make all operations, and especially selection, as fast as possible with an interpreted language.
A limited benchmark using the same use cases as SQLite's author shows that buzhug is much faster than other pure-Python modules (KirbyBase, gadfly). SQLite, which is implemented in C, is faster, but only less than 3 times on the average.
[http://www.pythonweb.org/projects/snakesql/ 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.