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.3.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distributions

adbc_driver_flightsql-1.3.0-py3-none-win_amd64.whl (11.8 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (5.9 MB view details)

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

adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (6.4 MB view details)

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

adbc_driver_flightsql-1.3.0-py3-none-macosx_11_0_arm64.whl (6.0 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.3.0-py3-none-macosx_10_15_x86_64.whl (6.4 MB view details)

Uploaded Python 3 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.3.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for adbc_driver_flightsql-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b1bf51ba9606489afaaae93813ce88dde3bf321deb082f4a1ed4231f4ba39f2a
MD5 f1731a019f22c75d327150270bcc16ce
BLAKE2b-256 f3f00b6fdda19da07ec9f77d0ac0396b0867e7267ff9542f57420eb067ee44d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 847387985165b162fce718d4a5f57845c31e3074766d4c2879f16908701a53e9
MD5 82ac4ac36217ea6fce2afc9a28346f42
BLAKE2b-256 5d6b79c6b5753de7dfdef2eeb4691ecec8dad10cab239191c30f54b7f193f708

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f16900b7a76e2848da8d9c63d7a65ab209775c23badef4c65f4d310d0c0c2503
MD5 c1691c2a0f0470ad0d8f542cccba404f
BLAKE2b-256 03e5cc80885b8bf7dc94125e8a03c7ce02e698dd946d75b1a67817b0dfb9ac4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae7f2d6dc59e1f2838206eb23264fe7eeaea000b90b10f4c2867c6c26c30f713
MD5 ba11ec60ea5f208df1b2d8d25fb7232b
BLAKE2b-256 905647c2c7eec81071c96c0293a746988e4dd748c8fb19d098a4f55f747c65fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cbcd030c387a154e6db1475880c5b903971d43f2479394379c3847a5b8f28d2f
MD5 5c61d2a89b0baaf89f33ad9d2e8dda7a
BLAKE2b-256 23ad089d5e808564582670b4d25b3a1e94d1784ec9421ab205c73f80f59c4c99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.3.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7e54598ffd9eedf6f32b74826ca472b85ac8b270aeaaf53cd0d99cd291afd4d9
MD5 f860bd51f4e1ff08e0c4e1dc9596eb9d
BLAKE2b-256 2147d97c79b03e655817cc19ccdd3a771707a830de8e79db2ff88b2d4c4dd662

See more details on using hashes here.

Supported by

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