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 details)

Uploaded Source

File details

Details for the file DBWrapper-1.1.tar.gz.

File metadata

  • Download URL: DBWrapper-1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DBWrapper-1.1.tar.gz
Algorithm Hash digest
SHA256 9fd011bc7dd0e60780b5a696f93c704989b81df98bf1c92c42050c253d76ba39
MD5 88ad0ec44096297055ceaebc9cf7bd1b
BLAKE2b-256 2c2bbeec01286f4ac3945ebae0f27a4f4cfec9113cc68fd663641743b78bca5e

See more details on using hashes here.

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