Skip to main content

A wrapper for 'sqlite3' to make it play better with 'gevent'

Project description

A gevent-ification of pysqlite3, including a SQLAlchemy dialect.

The module takes a simple approach of any potentiall long running methods off to the gevent hub threadpool for execution.

This lets greenlet code perform parallel queries.

Try the demo script.

$ python
Populating 'demo.sqlite' ...
gsqlite3: 10 loops, best of 3: 105 msec per loop
sqlite3: 10 loops, best of 3: 243 msec per loop


You can use gsqlite3 with SQLAlchemy by specifying ‘sqlite+gsqlite3’ as your URL scheme.

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 gsqlite3, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size gsqlite3-0.1.3.tar.gz (3.1 kB) File type Source Python version None 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