Skip to main content

sqlite3 wrapper for multithreaded applications

Project description

S3M - is a sqlite3 wrapper for multithreaded python applications.

Table of contents

  1. Multithreading

  2. Documentation

  3. Installation

  4. Usage

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

s3m-1.0.5-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

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