Skip to main content

SQLAlchemy dialect to use pysqlite3 dbapi2

Project description

sqlalchemy-pysqlite3-binary

This is a fork of sqlalchemy-pysqlite3. The difference is that this library requires pysqlite3-binary which is usually shipped with newer version of sqlite3.

This module registers an SQLAlchemy dialect for sqlite that uses pysqlite3.dbapi2 instead of pysqlite2.dbapi2 or sqlite3.dbapi2. When pysqlite3 is linked to a more recent version of SQLite3 than the system library, this allows you to use the newer version together with SQLAlchemy.

It would also be possible to do by passing a module parameter to create_engine, but that option is not always available.

Installation

pip install sqlalchemy-pysqlite3-binary

Synopsis

from sqlalchemy import create_engine

engine = create_engine('sqlite+pysqlite3:///:memory:', echo=True)

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

sqlalchemy-pysqlite3-binary-0.0.4.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

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