Best Python module for Berkeley DB?

Mark Harrison picture Mark Harrison · Apr 8, 2010 · Viewed 7.3k times · Source

According to the Python 2.6.5 docs [1], the bsddb module has been deprecated for removal in Python 3.0.

What module/wrapper should I be using instead?

[1] http://docs.python.org/library/bsddb.html

Answer

Alex Martelli picture Alex Martelli · Apr 8, 2010

I recommend pyBSDdb (from which the version currently in Python standard's library was taken -- but the stand-alone project is more actively maintained and far from deprecated;-).