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 .
For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify -DADBC_DRIVER_SQLITE=ON you can also add -DADBC_BUILD_PYTHON=ON to define a python target.
For example, assuming you run cmake from the project root:
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_SQLITE=ON
cmake --build build --target python
will properly build and install the Python library for you.
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.
Release files for adbc-driver-sqlite 1.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adbc_driver_sqlite-1.12.0.tar.gz | 12.8 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| adbc_driver_sqlite-1.12.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| adbc_driver_sqlite-1.12.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| adbc_driver_sqlite-1.12.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| adbc_driver_sqlite-1.12.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| adbc_driver_sqlite-1.12.0-py3-none-macosx_10_15_x86_64.whl | Python 3 | none | macOS 10.15+ x86-64 | Details |
Total release size: 7.4 MB
Release files / adbc_driver_sqlite-1.12.0.tar.gz
| Download URL | adbc_driver_sqlite-1.12.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18466a2f0c14f94cb0b17818157cc14ed6b93aef0a48ef648de945e9bac1540d
|
|
BLAKE2b-256 checksum How to use checksums |
f5022dc143bdd2a62c52d103d4b0ae491a347944aaed25b3d40fb11797750c70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / adbc_driver_sqlite-1.12.0-py3-none-win_amd64.whl
| Download URL | adbc_driver_sqlite-1.12.0-py3-none-win_amd64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0982bfc06158c2140b5c490b1a1325019c827b158f8432a30d49c8a0c18533ad
|
|
BLAKE2b-256 checksum How to use checksums |
f4d93245d741936100365ea77c434f84a0985523467bd812e5e11bb9b36d7152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / adbc_driver_sqlite-1.12.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | adbc_driver_sqlite-1.12.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3005a80bedf6624c6856da98037ea943a791aa8e82dad458259e0558be32912c
|
|
BLAKE2b-256 checksum How to use checksums |
6910a3156f19fadd254a4f58a328a8aa9472c981ff93bb4d23f3c22a4341796e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / adbc_driver_sqlite-1.12.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | adbc_driver_sqlite-1.12.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
c987d03e3f4850e57f218c8a0b9d224209123af642469ee1f36901c5a51725bd
|
|
BLAKE2b-256 checksum How to use checksums |
6c99415bf90eb912403d2d5d0c31baa1cedf200bd510f40027ee8fd3421c4c02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / adbc_driver_sqlite-1.12.0-py3-none-macosx_11_0_arm64.whl
| Download URL | adbc_driver_sqlite-1.12.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5a81f53791e4aec69afbf8f77dac6acf48749fd84684e86601eafdd36d2eb7c3
|
|
BLAKE2b-256 checksum How to use checksums |
e6315d1d637e6ae76fcc57d5116d537aa78d2ab687354d5a0b2d527e085b61d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / adbc_driver_sqlite-1.12.0-py3-none-macosx_10_15_x86_64.whl
| Download URL | adbc_driver_sqlite-1.12.0-py3-none-macosx_10_15_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
2d5b3e9d0b5dbc66324b0ccf2ded886e3781f901be986892d319529b05536d3b
|
|
BLAKE2b-256 checksum How to use checksums |
a1f7c35740269d3a5e3aa07b9ab155d4e943a7f5267f64d8f7396d5e14184a02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|