★ wanayoo — archive 1999 http://www.python.org/topics/database/persistence.htmlNouvelle recherche | Portail wanayoo
  
Home Search Download Documentation
Help Community SIGs Modules
Database Home
DB-API spec v1.0
DB-API spec v2.0
Database Modules
Documentation
Other DB Modules
Persistence
DB Books
Database SIG
At dmoz.org
Database Software
Database Programming
 
Email Us
webmaster@python.org
 
  

Other Persistent Storage Modules

The modules listed on this page provide other mechanisms for storing data. Some modules are simply the disk-based equivalent of dictionaries; others provide for persistent storage of arbitrary Python objects.

Disk-based Dictionaries
anydbm Included with the standard Python distribution. The anydbm module is a generic interface to all the DBM-like modules listed in the next two lines, selecting from whichever modules are installed.
DBM,
GDBM,
dbhash
Included with the standard Python distribution. Each of these modules is an interface to a specific library.
BSDDB Included with the standard Python distribution. In addition to dictionary-like behaviour, this module also supports B-trees, which allows traversing the keys in sorted order.
Metakit MetaKit is a C++ library for storage, transport, and manipulation of structured objects and collections. A proof-of-concept Python interface is available.
Persistent Objects
pickle.py Included with the standard Python distribution. The pickle module can convert Python objects to and from a string representation.
shelve.py Included with the standard Python distribution. Built on top of the pickle and anydbm modules, the shelve module behaves like a persistent dictionary whose values can be arbitrary Python objects.
PyVersant A wrapper for the Versant commercial OODBMS.