Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

sqlalchemy dialect adaptor for gevent to work in non-blocking mode

Project Description


sqlalchemy dialect adaptor for gevent to work in non-blocking mode

import sqlalchemy
import sqlalchemy.dialects

# use case 1.
# Installing sqlalchemy_gevent via setuptools installs gevent_* schema
engine = sqlalchemy.create_engine("gevent_sqlite:///example.db")

# use case 2.
# override standard sqlite driver with gevent enabled driver explicitly.
sqlalchemy.dialects.registry.register("sqlite", "sqlalchemy_gevent", "SqliteDialect")
engine = sqlalchemy.create_engine("sqlite:///example.db")

# use case 3.
# monkey patching
import sqlalchemy_gevent
engine = sqlalchemy.create_engine("sqlite:///example.db")

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.7 kB) Copy SHA256 Hash SHA256
Source None Jul 2, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers