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

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-0.9.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.9.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

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

adbc_driver_flightsql-0.9.0-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-0.9.0-py3-none-macosx_10_9_x86_64.whl (11.7 MB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 223860dbf328def61638bb4baed79b66aa7f88cf600fa960d77be82584ff0acb
MD5 1c3ca75478b7a088f275df617ff5873b
BLAKE2b-256 6004e21e95e6021b3592c0978f4689b5b7e634c38346cf9bdb9d9d7702293685

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.9.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dcd93c153c5758b4e7b3ffafd8f6c376194f37ca344b75f592a137ddd6ca43a4
MD5 56a2649c4e638784d057337f2a0436cc
BLAKE2b-256 8630eda7c814438a6207bce07467ef399a39e24e10c8b782a3e032a340576614

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-0.9.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.9.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4fc2eb771b4502c7e14779eb119607657d7aa8518fa856c20c381ebc11986b4
MD5 3879d7df279387bec94a956668591fb3
BLAKE2b-256 517182d93e6d5cbfa6c4871db207e2188e6cb2de70ffd0a6a2ed3e259d918573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6537ed860b47f38a8344ecc62f55f70bb3d2ddf2edd5662f7e8b569312eecc9a
MD5 da644a8b10ba04d0f72328f55ebc041f
BLAKE2b-256 60f7029a8e4985209fa2609df6b8e6c70713c9b204a7c4275b6b822fe44f75fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-0.9.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9a50e86b18c28f2fa19b2762af2acabf63c8a86eff24d8658572acf840ac8cb5
MD5 3465d072ecb2bde38825f8c17399ae7c
BLAKE2b-256 bfc02a000630551bf9b4329b40d1bd5418019b44971352e5204d46de9c92ca08

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