Skip to main content

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.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adbc-driver-sqlite 1.3.0
File Size Uploaded
adbc_driver_sqlite-1.3.0.tar.gz 17.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for adbc-driver-sqlite 1.3.0
File
adbc_driver_sqlite-1.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
adbc_driver_sqlite-1.3.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
adbc_driver_sqlite-1.3.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
adbc_driver_sqlite-1.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
adbc_driver_sqlite-1.3.0-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details

Total release size: 4.8 MB

Release files / adbc_driver_sqlite-1.3.0.tar.gz

Download URL adbc_driver_sqlite-1.3.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0c2b50d5f773aae46fd63f62362520b733418719bd2f04f82775db79f5d70146
BLAKE2b-256 checksum
How to use checksums
9a705c02d28accd174b804332fe412eb2c16629c832807d1fa9e9ef5c619353a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / adbc_driver_sqlite-1.3.0-py3-none-win_amd64.whl

Download URL adbc_driver_sqlite-1.3.0-py3-none-win_amd64.whl
Size 863.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0359815f5d351e472cfc56edb1d9bbf511b993ea7cddc48075e494369c2f978f
BLAKE2b-256 checksum
How to use checksums
11d815a7386d796ed870f84bc7babc4eb669c5949fc9ea12c2ca87f3f48ffeca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / adbc_driver_sqlite-1.3.0-py3-none-manylinux_2_28_x86_64.whl

Download URL adbc_driver_sqlite-1.3.0-py3-none-manylinux_2_28_x86_64.whl
Size 953.7 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0a6968d01f7b97e4aa7a15d7e280693a46fc429c74b32108eb04533a4c77af3e
BLAKE2b-256 checksum
How to use checksums
e654bb51e78fdcd4c7088b71764eecf337cb1534b49c73e991a02f5d12343cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / adbc_driver_sqlite-1.3.0-py3-none-manylinux_2_28_aarch64.whl

Download URL adbc_driver_sqlite-1.3.0-py3-none-manylinux_2_28_aarch64.whl
Size 916.4 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
1f0314b1e58bafe1643ec41b149ef11ca319bc733c003ea148939d0f4a54c5d2
BLAKE2b-256 checksum
How to use checksums
5eb7b863ecea1ed97a78e8f1ded055c3779533a22420126bba394b89b9cc9283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / adbc_driver_sqlite-1.3.0-py3-none-macosx_11_0_arm64.whl

Download URL adbc_driver_sqlite-1.3.0-py3-none-macosx_11_0_arm64.whl
Size 1.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e9fd10454bea26bc34fb114c5449d09084451b5bb06b9f98c73bfcac795dc823
BLAKE2b-256 checksum
How to use checksums
f54daee53789b191bd053da16a0d5381d10bacf449568a7463ca2d02afd2f4ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / adbc_driver_sqlite-1.3.0-py3-none-macosx_10_15_x86_64.whl

Download URL adbc_driver_sqlite-1.3.0-py3-none-macosx_10_15_x86_64.whl
Size 1.0 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
6a4348fc23913c34232bc32732785f1378f98a2b5aa1882a41210ce4b7af90c4
BLAKE2b-256 checksum
How to use checksums
bcfcfd9b63d5457696a9d2322a6be56dd505f7d80f3fc5e3a6151e93ad5924b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

1.12.0

6 release files

1.9.0

6 release files

1.8.0

6 release files

1.7.0

6 release files

1.6.0

6 release files

1.5.0

6 release files

1.4.0

6 release files

This release

1.3.0 This release

6 release files

1.2.0

6 release files

1.1.0

6 release files

1.0.0

6 release files

0.11.0

5 release files

0.10.0

5 release files

0.9.0

5 release files

0.8.0

5 release files

0.7.0

5 release files

0.6.0

5 release files

0.5.1

5 release files

0.5.0

5 release files

0.4.0

5 release files

0.3.0

4 release files

0.2.0

4 release files

0.1.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page