Since BerkeleyDB can use the SQLite api, can python use sqlite module to connect to BerkeleyDB.
This post suggests using something else, but could have been written pre-Api sync.
Best Python module for Berkeley DB?
Can get a simple connection string. If there known problem, PLEASE post. I am exploring this topic.
Using python 2.7 on linux and windows.
As suggested here https://forums.oracle.com/forums/thread.jspa?threadID=2302793
I’ve tried on linux x86_64 with python27, here the steps to make a static version since
I doubt your distribution has bdb sqlite api.
Download db-5.2.36.tar.gz
get a copy of pysqlite2 from http://code.google.com/p/pysqlite/, I’ve used an hg checkout.
In setup.cfg add in build_ext section (there are yet two commented lines you can reuse them)
then cd in pysqlite:
or without installing: