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 demo.py
Populating 'demo.sqlite' ...
gsqlite3: 10 loops, best of 3: 105 msec per loop
sqlite3: 10 loops, best of 3: 243 msec per loop

SQLAlchemy

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.

Source Distribution

gsqlite3-0.1.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file gsqlite3-0.1.2.tar.gz.

File metadata

  • Download URL: gsqlite3-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gsqlite3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0e2b29a4ea00530793fc0474d86b4bd6b4fc49febe8aba502e5f231207a5b68a
MD5 8a8e2132dffa14d7bef5a5823da3223a
BLAKE2b-256 7334fc0ba417f3ac2681decc319739e0c1ae65d1de7e42d240f0910cc5eca1d1

See more details on using hashes here.

Supported by

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