DBWrapper

Thread-safe wrapper for Python sqlite3 bindings.


Keywords
database, sqlite, threading
License
GPL-2.0+
Install
pip install DBWrapper==1.1

Documentation

The package dbwrapper contains a simple, thread-safe wrapper for sqlite3.
It runs a sqlite3.Connection in an own thread and passes SQL commands and
results using queues.


Author:  Sven Festersen (sven@sven-festersen.de)
Version: 1.1
Date:    29 March 2013
License: GPL


Example usage:

import dbwrapper.db

database = dbwrapper.db.DBWrapper("database.sqlite")
database("SQL commands here")
database.close()


For more examples, see tests/test.py