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.11.0-py3-none-win_amd64.whl (11.3 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-0.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-0.11.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB view details)

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

adbc_driver_flightsql-0.11.0-py3-none-macosx_11_0_arm64.whl (5.8 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-0.11.0-py3-none-macosx_10_15_x86_64.whl (6.2 MB view details)

Uploaded Python 3 macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c7bad7d952789d8037a418abf12cfca7529ff9d7b244111c737dda2ac04b8576
MD5 796bbaecd2d438939b51fd4379beacbf
BLAKE2b-256 778cf8f9c32facaebd0e16655d47db814c8e944cb4d641b698cf623457ff2533

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d89ff9b049e85cbac0a92d971e646a30523a4bc2786d310a08fb588862fdd8de
MD5 06e674e75a224509947a50203df219f4
BLAKE2b-256 6f5abd19def7ef7e6e56da90fd5dc8ce80fd06f1196e321c14e219049c008182

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.11.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.11.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59a83bb7e546d921676eaad933d6470616f57c4239c0f6c2a48b7e227d5a7aee
MD5 352cc1c9e8fd9de04aa3eb547cde50fe
BLAKE2b-256 0258bfcd961bff85c529bfebafc5f01e0206c9479b74b7c4b41bdbcd15abbcb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0ba5d23c1416a8dd09d06d572f86a3be2ac017524f4bd958ee5ae3853ea4c45
MD5 956e5bc72a86210c37a2258a2ba33199
BLAKE2b-256 cf5ebe5cf70b9a06da2cacc34a1055623927bbf852632247dcfa0d2128771138

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.11.0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.11.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 eb745b930dc2c1258b9a63006693bbb428cc3729f6e05cc30b40b5e127894eb3
MD5 2d0644ea7b2579cc100781e86044ce8a
BLAKE2b-256 d12f0fabb6761153a9b24c8673b37b5e09b7080aa31058ed6fe53b13754f5913

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