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 -DADBC_DRIVER_FLIGHTSQL=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 Distribution

adbc_driver_flightsql-1.12.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

adbc_driver_flightsql-1.12.0-py3-none-win_amd64.whl (15.0 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_flightsql-1.12.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (13.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

adbc_driver_flightsql-1.12.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (15.0 MB view details)

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

adbc_driver_flightsql-1.12.0-py3-none-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_flightsql-1.12.0-py3-none-macosx_10_15_x86_64.whl (8.1 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file adbc_driver_flightsql-1.12.0.tar.gz.

File metadata

  • Download URL: adbc_driver_flightsql-1.12.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for adbc_driver_flightsql-1.12.0.tar.gz
Algorithm Hash digest
SHA256 300f67801ea016578e0c4bb798fc2b9024e405cfdd3f79fd77e37481a5767e45
MD5 2202a415c0130e2d4a899564a86287b7
BLAKE2b-256 6591605b35b97aa5972a8026c0687e9996658d1d10ff7a0624173a0d0c7c5b93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.12.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 098f2498778fd3efd671fbeacba80987de98ebfeb0291da77fe0a26c6fa78532
MD5 67093d1ae0e97766c5601177c39f343d
BLAKE2b-256 dcc76773dedc54fad73277ee2d767dd817e203e949972b0cfb197df99e00b784

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.12.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9adfb5e46abc77347476d09ee76dfc835fef2b4dcb0c76d08d6d35aa3a4cce17
MD5 4ab31967910f9d2af20663b06412e6aa
BLAKE2b-256 57456468fb425f3c0ae868c1ca9ab8e15cba76b59e941edd7e80e892e5476728

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.12.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.12.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 69742e4f8fcc254490aa7f8e254a3b704c24bde9d5d827a0926ea90a6b4c3a6d
MD5 975a283dc72db0c646204e512b396e2a
BLAKE2b-256 2b5bf8566aa6d05eb40225f5874f8f5f5e8b8b4a4ce866d817a5ff352f326302

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.12.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fb37efefceb7ceca64840c76c55e6280f3811b54dca305ec1781f9cc1a6da21e
MD5 c54d4f830f8f2773bb2af3d20e189fb5
BLAKE2b-256 613649267a4fc8c07c066dd8c36b9c3d27265a4dc0fc478cb5acb7bd6a551d80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.12.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c2c7209407c180d9d0dd94846203f184ab91e116782585bf29cb968c2686ba75
MD5 335cc3fb52cf7e4f8acbd0f490be5881
BLAKE2b-256 7aa45ad52abf0c4830585b86d68cff8ce07779cdee9b8cf390dff0ee21a29fa7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page