An ADBC driver for working with SQLite.
Project description
ADBC SQLite Driver for Python
This package contains bindings for the ADBC SQLite driver, using the driver manager to provide a DBAPI 2.0/PEP 249-compatible interface on top.
Example
import adbc_driver_sqlite.dbapi
with adbc_driver_sqlite.dbapi.connect() as conn:
with conn.cursor() as cur:
cur.execute("SELECT 1")
print(cur.fetch_arrow_table())
Building
Dependencies: a build of the SQLite driver, and the
adbc-driver-manager
Python package. Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.
Set the environment variable ADBC_SQLITE_LIBRARY
to the path to
libadbc_driver_sqlite.{dll,dylib,so}
before running pip install
.
# If not already installed
pip install -e ../adbc_driver_manager
export ADBC_SQLITE_LIBRARY=/path/to/libadbc_driver_sqlite.so
pip install --no-deps -e .
See CONTRIBUTING.md for details on the general build process.
Testing
To run the tests, use pytest:
$ pytest -vvx
See CONTRIBUTING.md for details on the general test process.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for adbc_driver_sqlite-0.7.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e021812822387e024a8bcbcbdec3a51a82d280275d403695848150e5a719126d |
|
MD5 | 3b4bebbaa4255014e319799a97fac25b |
|
BLAKE2b-256 | b491fc52a44a212d9c26dbde6feebd114286505f69caab183bf11e539a94619d |
Close
Hashes for adbc_driver_sqlite-0.7.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4c4d51ca01df3d365ba4abc595a32cd44d2600ee15c1edaa757f6d152007c3b |
|
MD5 | 77ead8894da7eb3b9af7fcac18a8caae |
|
BLAKE2b-256 | f253167e22cdcb9b75c6f14ded8f66e4efe6680c2c7b20825f121878efa1be0f |
Close
Hashes for adbc_driver_sqlite-0.7.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05f581cdd1880be7eb6978ea51174fdbea2181eecc299767c77180fbeeb1d5e |
|
MD5 | 72a995a9d851e8e3ab8558f05551de49 |
|
BLAKE2b-256 | 8a4cacdfafed66e379d2b19bec2c0d2d8eb3dfad5bce9677719bcb6ab83d7004 |
Close
Hashes for adbc_driver_sqlite-0.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8219deaea1e845ef94311e8d089402bcc74724a9bbd82b629545ab38599ced65 |
|
MD5 | 60d81ed1af708ad3ff954ccfdf75c07e |
|
BLAKE2b-256 | 474ee97e31478ce6415d5210d3368d519c4d6a557c95701e9c2b3942b9ec1d13 |
Close
Hashes for adbc_driver_sqlite-0.7.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5447d5bdabeb3bacc258589aad21337c024d6a9e38ba76585972d156b19fb543 |
|
MD5 | b3a533e97d52db420e06edc7b524bcc2 |
|
BLAKE2b-256 | adc1591e6b178b5d20e62e27a533d2c2de21e758273c3d2bfa5d1a458c27bffd |