S3M - is a sqlite3 wrapper for multithreaded python applications.
S3M prevents multiple database operations (or transactions, can be disabled) from running at once. That's basically the whole point of this library.
Documentation is available at Read the Docs
pip install s3m
or
python setup.py install
There are no requirements.
The usage is pretty much the same as with built-in sqlite3.