Skip to main content

An ADBC driver for working with Apache Arrow Flight SQL.

Project description

ADBC Apache Arrow Flight SQL Driver for Python

This package contains bindings for the Golang Apache Arrow Flight SQL driver, using the driver manager to provide a DBAPI 2.0/PEP 249-compatible interface on top.

Building

Dependencies: a build of the Apache Arrow Flight SQL driver, and the adbc-driver-manager Python package. Optionally, install PyArrow to use the DBAPI 2.0-compatible interface.

Set the environment variable ADBC_FLIGHTSQL_LIBRARY to the path to libadbc_driver_flightsql.{dll,dylib,so} before running pip install.

# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_FLIGHTSQL_LIBRARY=/path/to/libadbc_driver_flightsql.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_FLIGHTSQL=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
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.

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_flightsql-0.10.0-py3-none-win_amd64.whl (5.8 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-0.10.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.4 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-0.10.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

adbc_driver_flightsql-0.10.0-py3-none-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-0.10.0-py3-none-macosx_10_9_x86_64.whl (11.8 MB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file adbc_driver_flightsql-0.10.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 34840e83aef5db77822287011140e765297b5152dbfa455a78e92249795241c5
MD5 e37aed56b233214c0a0cd2ede76546a2
BLAKE2b-256 eb597fc9a4ca111e4631e98414639fd271649ad92138f4865334567b5334f79a

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.10.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.10.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 666d7be8a85d59c0671cd125880fee75558af6c5ee2e53cd04576584d82f543b
MD5 1234149209910dd4ec7a387b332dcdfc
BLAKE2b-256 e78dabcb10b55ca94850d4aa77471ea0746e2136f933f1c462aed73329d92ffc

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.10.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.10.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 89ece8a93be51ec897404965ae63c3f5cf5627d3ed70d4f8d511a76dd35b456e
MD5 2a8826ce1d067f823cc5b1c197415cad
BLAKE2b-256 9033db18535ee74d4a47c492bf99e61aa9550f2fcb9bb8c74603245eed4e6dbc

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.10.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.10.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 263789d0e266886a07b80db69dc4fbe241a2a087921d0803b0ca9cce6f4bada7
MD5 bacc4cab7684532e86e84326680e7422
BLAKE2b-256 63c973fe63791878ff38dc4d2f517c02f59e6594cd910065dfccd5c64affa4d4

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.10.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.10.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7b113b8c42f860d7d5cf97f537c6492792705d7fb349ef54fdb7909f49bdbab1
MD5 853f9006b993589e428625c51161ad45
BLAKE2b-256 3e7d33113ae3cf20b31dbe1b52d7cd9169474768788d5c69e1c29d30aec1f716

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