Skip to main content

Thread-safe wrapper for Python sqlite3 bindings.

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DBWrapper-1.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page