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

Uploaded Source

Built Distributions

adbc_driver_flightsql-1.7.0-py3-none-win_amd64.whl (14.3 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_flightsql-1.7.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.7.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (7.7 MB view details)

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

adbc_driver_flightsql-1.7.0-py3-none-macosx_11_0_arm64.whl (7.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_flightsql-1.7.0-py3-none-macosx_10_15_x86_64.whl (7.7 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.7.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for adbc_driver_flightsql-1.7.0.tar.gz
Algorithm Hash digest
SHA256 5dca460a2c66e45b29208eaf41a7206f252177435fa48b16f19833b12586f7a0
MD5 2efb0a3ea33123695c2218cb071568c0
BLAKE2b-256 b8d4ebd3eed981c771565677084474cdf465141455b5deb1ca409c616609bfd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.7.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f8b5290b322304b7d944ca823754e6354c1868dbbe94ddf84236f3e0329545da
MD5 b92b5c32d93e17ba05fefe5c31aa9960
BLAKE2b-256 1014f339e9a5d8dbb3e3040215514cea9cca0a58640964aaccc6532f18003a03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.7.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 e0c5737ae6ee3bbfba44dcbc28ba1ff8cf3ab6521888c4b0f10dd6a482482161
MD5 b8948750048c19ccc94328d1776fb68a
BLAKE2b-256 8bc9591c8ecbaf010ba3f4b360db602050ee5880cd077a573c9e90fcb270ab71

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.7.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.7.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 3282fdc7b73c712780cc777975288c88b1e3a555355bbe09df101aa954f8f105
MD5 788d87d433193c3eeaa6a3458284f7e3
BLAKE2b-256 2782e51af85e7cc8c87bc8ce4fae8ca7ee1d3cf39c926be0aeab789cedc93f0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65e21df86b454d8db422c8ee22db31be217d88c42d9d6dd89119f06813037c91
MD5 4dda9cf785b8babcf02bec046e693706
BLAKE2b-256 cde69e50f6497819c911b9cc1962ffde610b60f7d8e951d6bb3fa145dcfb50a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.7.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a5658f9bc3676bd122b26138e9b9ce56b8bf37387efe157b4c66d56f942361c6
MD5 bd74ff1fb44de0e6b7437750ccbeacef
BLAKE2b-256 3620807fca9d904b7e0d3020439828d6410db7fd7fd635824a80cab113d9fad1

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