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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sqlalchemy-pysqlite3-binary-0.0.4.tar.gz
.
File metadata
- Download URL: sqlalchemy-pysqlite3-binary-0.0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d1b4932ba586f56989a81108b83a1fd1595fa7b1e3258c413acc21e39056da |
|
MD5 | d669c2553d2b3a3605a2fa26401c0b26 |
|
BLAKE2b-256 | 5c8bfb5ba82059cc8739ad26ecf4ae3076a453fc53957dfd5e6ad648317eaae1 |
File details
Details for the file sqlalchemy_pysqlite3_binary-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: sqlalchemy_pysqlite3_binary-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915743f972682f04b964f7f64d4ebfed44abf47e9145199cd8e5b95df445214b |
|
MD5 | f00e5a8026fddbb58b561e87c2a81302 |
|
BLAKE2b-256 | a0bfa379086e1fdc777f9ac4ce387606d76f1018f9a4ab2d65f6297c6a4c081e |