Skip to main content

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


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

adbc_driver_sqlite-0.8.0-py3-none-win_amd64.whl (623.4 kB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_sqlite-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (733.9 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

adbc_driver_sqlite-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (727.4 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_sqlite-0.8.0-py3-none-macosx_11_0_arm64.whl (697.6 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_sqlite-0.8.0-py3-none-macosx_10_9_x86_64.whl (744.7 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file adbc_driver_sqlite-0.8.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for adbc_driver_sqlite-0.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b144532c5a4809ba4a554831149d2585de0decdd4fc4331751d2c6bd7e26f2d2
MD5 5d41b63c7bd2b1cf5ae1482c89b5d771
BLAKE2b-256 85d00bb10d37125ffc4abcf9f1e78e9e849ab46c4076400bd4767f76cf5f297c

See more details on using hashes here.

File details

Details for the file adbc_driver_sqlite-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_sqlite-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eed8a811638176ca19719bc6b4e47f6098bb5eed14bd673ad5f8dbbb29b9a9b8
MD5 44de7bf642c623e20983024bcd69040d
BLAKE2b-256 38b95e7f3af2d1e3fb7c50c5f83510716ab46b5175a83e141c976540c33a2015

See more details on using hashes here.

File details

Details for the file adbc_driver_sqlite-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for adbc_driver_sqlite-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0413f797457626fce414c29b723425209ff9e4898b8d9a1b998a42b5c6f03733
MD5 521d2ca9b1da92d8224c61fdb9fd137d
BLAKE2b-256 37f11d8bacf229bebba244973182de7c311b99e21541c2f023b4e0e5ff916974

See more details on using hashes here.

File details

Details for the file adbc_driver_sqlite-0.8.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for adbc_driver_sqlite-0.8.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 081048b932e59bcc211a68f6b4d9f6dd520824781efaffd20b4e4a5a299ed535
MD5 eb50d23869f3ef0307510169eed27d5b
BLAKE2b-256 3b81a68e6305a7d49833bf9a95f5123bc823c7c38205bf3f8d8b2ab02c9be25f

See more details on using hashes here.

File details

Details for the file adbc_driver_sqlite-0.8.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_sqlite-0.8.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7c6e6ccfe3652596f36c1467265e39a2545600aa934dafd3c05e67892b8c7ecc
MD5 70a51c358dca307fbf22a84dfa4493c7
BLAKE2b-256 0ac10bb0f921e08140dd7f04adf4dfcfc0690c9f01a25a5cde378c8545887894

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page