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.10.0.tar.gz (24.5 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.10.0-py3-none-win_amd64.whl (14.2 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_flightsql-1.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (13.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.10.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (14.4 MB view details)

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

adbc_driver_flightsql-1.10.0-py3-none-macosx_11_0_arm64.whl (7.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_flightsql-1.10.0-py3-none-macosx_10_15_x86_64.whl (7.9 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for adbc_driver_flightsql-1.10.0.tar.gz
Algorithm Hash digest
SHA256 aab737ee7c16d0ec89928ef2297c92f815756e91773085d55cc5eabbebcb9338
MD5 b4ff0dd382e742fece7a483c4287a613
BLAKE2b-256 55c3a97fba4960b76b4b3a3055d8c33f6915e7d40a9c67f065fe760d9a17514a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6750c1def8c782469cc33dd883f5c9598086a875432a257adf0522bb1e3b95ca
MD5 b70aa4e0e0d707b094abdad31cb4a43d
BLAKE2b-256 e74d55b96339f18c3932c61bd503c477fabfb7f6c95d4fc4ceb31a1e4275d4fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 e6212fba5a2a59d7a2a71db1b036730908eb85457df3cc3c90563e4ddadaa923
MD5 3705b74e1c88dd5160ae8819cdcef32f
BLAKE2b-256 b35d1d4c235a04b349d8d5c89e6ca42e11a6b21e6959f48b5847523e87926b4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.10.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 9dfee1c767281c9add95fcf29eac84338107a7610b2d9b19d1169e67083a3eaa
MD5 9c592598618e0483c446358b6b148742
BLAKE2b-256 50ed2cc8683b1f59d5c9c82aaf8f5992b41d19e5abc90393af6b882eab072773

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.10.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6d6f5e93adcc87f41e70adc07a470f865f36f8dd1e6e9ab2b05855bc44274ca
MD5 53ab0e28936c7f30d25c1d4f2f9f6250
BLAKE2b-256 c855c8bc08ea1e0ba3a35f6307528efa23f11745c5acb90981d2632f5d416659

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.10.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a520579be3194e315f35c749afc9cb2ae9b9b7b852c8c2ac5fb9cafa31cdc0c6
MD5 92a19109650ac0e05f0589ae5199538b
BLAKE2b-256 94fbc0d48ded0e75b61bbaff24ef52c89b97ba9b2fbc5caaeb9a102ab17f8f1d

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