17

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

Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
  • Those looking for equivalent functionality may be interested to know that the [shelve](https://docs.python.org/2/library/shelve.html) module uses [anydbm](https://docs.python.org/2/library/anydbm.html) underneath by default. – Evgeni Sergeev Jun 07 '18 at 01:32

1 Answers1

15

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;-).

Alex Martelli
  • 854,459
  • 170
  • 1,222
  • 1,395