Skip to main content

SQLAlchemy dialect to use pysqlite3 dbapi2

Project description

pysqlite3-sqlalchemy-dialect

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

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.

Files for sqlalchemy-pysqlite3, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size sqlalchemy_pysqlite3-0.0.2-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sqlalchemy_pysqlite3-0.0.2.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page