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.3.tar.gz
(3.1 kB
view details)
File details
Details for the file gsqlite3-0.1.3.tar.gz.
File metadata
- Download URL: gsqlite3-0.1.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3439a3534fd73b08ed80844edbe68073ed9444cdb19c5df21294ce273ed3295
|
|
| MD5 |
fb1a5230f5a71bd6182d6991eb33d19a
|
|
| BLAKE2b-256 |
d52f9da2dd2d1027bc54109518c3db9427ded7728190a7fd7e7dd662e019d3cc
|