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.11.0.tar.gz (34.9 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.11.0-py3-none-win_amd64.whl (14.5 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_flightsql-1.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (13.5 MB view details)

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

adbc_driver_flightsql-1.11.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (14.7 MB view details)

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

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

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_flightsql-1.11.0-py3-none-macosx_10_15_x86_64.whl (8.0 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.11.0.tar.gz
  • Upload date:
  • Size: 34.9 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.11.0.tar.gz
Algorithm Hash digest
SHA256 75f703eef1812c3932e5f4643c5e21b5690b23df7e09e88b727f7952aa559f2a
MD5 ce5563c8a4dff091e407c8c18efec9bd
BLAKE2b-256 e2d8b0bf88456d9acf85812b1d28568f3c3f80019d2b52d2131d28daea259d1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 955865ed9a5746073a7b78c291ebb59aaaeaf0244e394b1e5a037c53cf61900c
MD5 d80754a583ab1a4199576ba81eddc8ad
BLAKE2b-256 97e4343f698d0377db4a99009af3cf4ce8dbdc36f1578d9be71e128ee2e3a225

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6252f0a4c8a6240d51b61dcefed88fb3d9fa1e5bcc67cb954c94907f447b744d
MD5 55560802a365ee053a36dca7fe652da6
BLAKE2b-256 bdd218147e9fda30d41644ef75c9b30a19c8bc39734b3308e127b17747079e93

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.11.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.11.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 cabff560abcf18cebef0bf24bb2886d145bae340e8eef18cf0b6642e09fa349d
MD5 7061240e5d95cf79911fa030aa7270cd
BLAKE2b-256 9a37d8d12630ebbe336517b42aed9d9d4deab91e2bee153a1cba6ea9af9c5026

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e716c15bfad65c489d13a49528de5bcce72179fb8024be19353b143af5749fd
MD5 60ea9d86e62f7710260e4cbb3e87be04
BLAKE2b-256 b2066ae41136909c88fc85c913b008d3d9878683289a851ec78924ab11c9e3bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.11.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6cceffd95af5cdf5f3be051629de6bfd65744e591177b0f8176cd6810725e8f0
MD5 0d4fea613a83f6826b6c9b2551a6641d
BLAKE2b-256 88af3e40778760257b594df4efc0b12cbfe3c182bdcb69f67a9730cfad5e9cae

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