Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

sqlite3 wrapper for multithreaded applications

Project description

S3M - is a sqlite3 wrapper for multithreaded python applications.

Multithreading support

S3M prevents multiple database operations (or transactions, can be disabled) from running at once. That’s basically the whole point of this library.

Documentation

Documentation is available at Read the Docs

Installation

pip install s3m

or

python setup.py install

There are no requirements.

Usage

The usage is similar to sqlite3 with a few exceptions.

There is no cursor()

You never have to use cursors. s3m.Connection object is completely self-sufficient, it has the methods of both a connection and a cursor.

Connections can be freely shared between threads (given check_same_thread=False)

Multiple threads can use the same connection at the same time without any problems, that is, assuming that the connection was created with check_same_thread=False.

Project details


Download files

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

Files for s3m, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size s3m-1.0.5-py3-none-any.whl (6.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page