https://github.com/hoehrmann/sqlalchemy-pysqlite3
Python module to use pysqlite3 as sqlalchemy dialect
https://github.com/hoehrmann/sqlalchemy-pysqlite3
python-module sqlachemy sqlalchemy-python sqlite3
Last synced: 6 days ago
JSON representation
Python module to use pysqlite3 as sqlalchemy dialect
- Host: GitHub
- URL: https://github.com/hoehrmann/sqlalchemy-pysqlite3
- Owner: hoehrmann
- License: mit
- Created: 2019-04-07T16:38:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-07T17:23:50.000Z (about 6 years ago)
- Last Synced: 2024-11-08T00:09:30.789Z (8 months ago)
- Topics: python-module, sqlachemy, sqlalchemy-python, sqlite3
- Language: Python
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sqlalchemy-pysqlite3
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
```bash
pip install sqlalchemy-pysqlite3
```## Synopsis
```python
from sqlalchemy import create_engineengine = create_engine('sqlite+pysqlite3:///:memory:', echo=True)
```