120px 2d alpha amongst ascii bad benefits blogs brief cellspacing cid clone comes comparing couchdb date dec elementtree entries examines exist extends few groups https interfaces land largely load located love managing mechanism mention middle n objects papers pdf pickle protocolostomy pymotw reactor recording references simpler sqlalchemy step stored techspot title tplus1 tracked trouble ui viewing vs win32com
A large number of support libraries exist to allow one to work with various relational and object databases from a Python program.
- 2010-Jul-22: The openstack cloud initiative includes a distributed object storage system called Swift that is written in Python. 
- 2010-Jun-25: Simple Python object persistence with Durus and ZODB. 
- 2009-Nov-26: Could CloudStore (a clone of the Google File System, GFS) be used from Python? 
- 2009-Oct-23: myconnpy is an implementation of the MySQL Client/Server protocol in Python. 
- 2009-Oct-23: tokyocabinet is a Python wrapper for the Tokyo Cabinet database library. 
- 2009-Oct-23: dobbin is a new (in late 2009) object database for Python. This is taking a different approach to ZODB in that it all data that you access is read only until you check it out. This should have some significant benefits, including easier use with multiple threads and processes and a smaller memory usage footprint. Located here on PyPI. 
- 2009-Aug-04: tempstorage is a RAM based storage implementation for ZODB. 
- 2009-Jul-28: The ZODB Browser allows you to inspect persistent objects stored in a ZODB (including viewing historical changes to them). 
- 2009-Jul-24: transaction is a transaction management package for Python, mainly used for ZODB. 
- 2009-Jun-18: freebase is a Python client library for access in the freebase.com database service. 
- 2009-Jun-05: pyOODB an object-oriented BTree Database for Python. 
- 2009-Jun-04: KirbyBase is a simple database written in pure Python, it gets used with IronPython here. This database stores the records in simple CSV text files. 
- 2009-May-19: pod is an object database system for Python built from cPickle and sqlite. 
- 2009-May-01: Geraldo is a report engine for Python and Django applications. 
- 2009-Apr-23: schevo is a next-generation database system for Python. It is being re-licensed. 
- 2009-Feb-24: stockpyle is a library that provides write-through storage for object caching and persistence. 
- 2009-Feb-04: A simple database-like thing, essentially a dictionary with persistence. 
- 2009-Jan-30: pymssql is a simple database interface to MS-SQL. 
- 2009-Jan-28: pymongo is a driver for the Mongo, document-based, database. 
- 2009-Jan-28: keas.pbstate and keas.pbpersist can be combined with ZODB to allow for an object database that stores its data in Google's "protocol buffers" format, which may prove to be more portable between languages than pickling is. 
- 2009-Jan-21: esedb is a Python module that uses the Esent database engine (which is used by Windows Update and Microsoft Exchange) to provide another Python database. 
- 2008-Dec-19: RelStorage is a backend for ZODB that stores pickles in a relational database. This can allow multiple ZODB clients to share the same database without additional configuration. 
- 2008-Dec-04: Durus
is a transactional persistent object system for Python. The PyPI page for it is here
- 2008-Dec-03: The Zope Object DataBase (ZODB, the package is here) can be used without the rest of the Zope environment to give Python programs a transactional object database. A brief introduction to using it is here (and discusses a bit of how object references are maintained persistently. An IBM DeveloperWorks discussion of it with some simple use example code. The ZODB/ZEO Programming Guide is online here, a stand-alone PDF copy can be obtained here.
tempstorage provides a RAM based storage implementation for ZODB.
Introduction to the Zope Object Database provides a good summary of what the ZODB is, how it behaves and how to use it. FileStorageBackup talks about the design of the FileStorage type of storage system for ZODB, as well as the repozo tool for backing it up and some other integrity related tools. This article includes a list of tools that can inspect or analyze ZODB databases.
How to Love ZODB and Forget RDBMS.
CouchDB for ZODB Users takes a look at CouchDB and how it compares to ZODB. 
- 2008-Oct-28: Some more views on using the ZODB, in ZODB-LESS ZOPE the author reports on bad performance with the 2.7 series of ZODB. This article mentions problems with query performance when their database hit 30K objects. 
- 2008-Sep-15: The PyMOTW takes a look at the anydbm module which provides access to DBM-style databases.   
- 2008-Jul-29: gerald is a tool for recording and comparing database schemas. It is also available here on SourceForge and here on PyPi. 
- 2008-Jul-28: pysimpledb is an attempt to make working with databases in Python simpler. 
- 2008-Jul-23: sqlcmd is an SQL command line tool. 
- 2008-Jul-23: dbmigrate is a utility set for managing database migrations. 
- 2008-Jul-04: wikidBASE,
a project that crosses a wiki web application with a database system,
allowing for a database to be designed and evolved over time without
resorting to tricky tools. Sounds like this might be useful as a system
design tool as well.
- 2008-Jun-20: twist talking to the ZODB in Twisted Reactor Calls. 
- 2008-Jun-11: dabo (home page here) is a 3-tier framework for desktop database applications. This also includes a wrapper layer for wxPython (called dabo.ui) that can be used separately.  
- 2008-Jun-05: Autumn is a simple Python ORM (object-relational mapper). 
- 2008-May-23: Using Python to update selected records in a database or using an SQL command to do this. 
- 2008-May-21: dbtxt is a small, free database written in Python. It gets mentioned on Slashdot here. 
- 2008-May-17: Using Git as a versioned data store in Python examines using a Git DVCS repository to provide version tracked storage to a Python application. Perhaps a better fit would be to use Mercurial (discussed here) as it is largely written in Python? 
- 2008-May-13: Some performance tips for users of MySQL. 
- 2008-May-12: pylo allows you to write Silo visualization files that are used by the Vislt program for large-scale data visualization.  
- 2008-May-09: The rather inconsistent world of date objects in the land of the database. 
- 2008-May-06: The SAP DI Commander IronPython starts to manipulate SAP databases. 
- 2008-Apr-25: Recreate MS Access table in SQLite, this has some limitations but could be used to help migrate data from one database to another. Also includes some use of the win32com API to get at the Access database.   
- 2008-Apr-25: Multithread support for SQLite access, a work around to an SQLite limitation.  
- 2008-Apr-14: python-sybase, a module to provide for the Sybase relational database system. 
- 2008-Apr-08: Using SQLAlchemy with Grok with some mention of Storm. 
- 2008-Apr-06: shove is a common object storage front end, this allows you to store Python objects to a variety of different database or file-system backends (even things like Amazon S3) using a single API.  
- 2008-Mar-23: Transactional Objects, a class that allows changes to be committed or rolled back.  
- 2008-Mar-12: dbcook is a framework to abstract database mappings of objects and relations to isolate the database from the application code. 
- 2008-Mar-12: DyBase is an embedded object oriented database that can be used with Python. 
- 2008-Mar-12: Some thoughts on how to use SQLObject. 
- 2008-Mar-10: bsddb3 is a Python wrapper for the BerkeleyDB. The project home page is here. 
- 2008-Mar-07: Metakit is a structured database for Python (and other languages). This gets referenced here. 
- 2008-Mar-01: A class for extraction and manipulation of data from Microsoft Access.  
- 2008-Feb-28: Yet another Python ORM system is being developed. 
- 2008-Feb-05: JSONStore, a simple database for JSON documents. The Rest API for this. 
- 2007-Dec-29: Storm SQLAlchemy and Geniusql are performance compared here and here. 
ceodbc, an ODBC interface for Python. 
- 2007-Oct-26: pyodbc, an ODBC interface for Python.
- 2007-Sep-30: PyDbLite, a small in-memory database engine  
- 2007-Sep-14: More on ZODB perfomance, this time its compared to Durus. 
- 2007-Sep-13: A comparison of the performance of the ZODB and SQLite3 where the ZODB does pretty well. 
- 2007-Aug-24: PEP249 contains the specification for the 2.0 revision of the Python database API. 
What is the fastest
database interface for Python applications to use? In this simple
test of adding 100000 records MySQLdb comes out on top with about 1.3
seconds. Other interfaces take up to 68 seconds.
PostgreSQL/Python interface written in pure Python
Dee, makes Python
relational. Extends the Python language with relational database
a small, fast, in-memory database
Relational Databases with Python, a paper and slide presentation.
is a database report builder module for Python.
ElementTree with Durus to make a simple distributed XML object
BerkeleyDB as a backend storage engine for Durus
memcached, is a
distributed memory object caching system aimed at speeding up dynamic
web applications by reducing database load. This looks like it might be
useful if you have a model that generates data and a number of users
that needs to see portions of that data (perhaps with overlapping
views). One reference to using this is here (3-Oct-06).
A small tutorial of sqlite usage
MySQL data in CSV format using SQLAlchemy
Adding Python scripting to SAP
BuzHug, a pure
Python database engine
a Pickle-like module intended to be secure.
a pure python library to read/write/modify Palm PDB and PRC format
Why the schema
should be in the database.
aims to be a Python DBAPI 2.0 compliant driver for treating the file
system as a database. This driver will provide a mechanism for creating
entities via SQL, querying via SQL, and connection to local or remote
hosts (remote is via ssh), among other features.
SQLAlchemy and Geniusql compared from a performance perspective
SQLAlchemy Impresses Me, a brief look at using SQLAlchemy
Using SQLAlchemy with SQLite
of lists of objects of varing types. Declaritive mapping
with SQLAlchemy. A step-by-step SQLAlchemy tutorial.
(home page) is a declarative
mapper for SQLAlchemy.
Emmet, is a
persistant object system for Python, looks like it largly makes pickles
of objects and stores them in a SQLite database
RFC language bindings for Python
is a module that implements a way of sharing a number of pickle files
in a safe way amongst a number of processes.
C#3.0 has a feature called LINQ that allows for better SQL database
integration, here are some thoughts and sample code (SQLComp)
for doing something similar in Python.
another object-relational mapping system.
Problems with SQLObject and Unicode
The Firebird database might
be another candidate for use as a datastore, see the KInterbasBD extension
package for Python.
an alternative to SQLObject.
- 2007-Aug-24: Using an SQL database with Python, the pysqlite (also at pysqlite.org) package provides
an interface to SQLite, other
interfaces, like SQLObject,
are available and are listed here.
Some discussion of the pysqlite package can be found here.
SQLitePP is an
wrapper for SQLite, which includes a Python interface. Some problems
and limitations of SQLite.