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

Uploaded Source

Built Distributions

adbc_driver_flightsql-1.4.0-py3-none-win_amd64.whl (12.0 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.0 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.4.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

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

adbc_driver_flightsql-1.4.0-py3-none-macosx_11_0_arm64.whl (6.1 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.4.0-py3-none-macosx_10_15_x86_64.whl (6.5 MB view details)

Uploaded Python 3 macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for adbc_driver_flightsql-1.4.0.tar.gz
Algorithm Hash digest
SHA256 18f2fd5b2dafca62adad8522774730166f51226ecf5893f1af7e3c2b99c649c5
MD5 12d35215725c7879d836abaaa3ec70f7
BLAKE2b-256 aad56a94b3cc9fab4cbad3e0eacfe3b4fa28289aca97ad65a78e4493f62ae6a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 29a83b0fbdd9d1eb86f58e8539847eb927dcd4031bdd497993a5494b87678221
MD5 835b79aacca655e6f555d674c56fc634
BLAKE2b-256 d0222d664a97805dddcaa0864570f44e612f038171b58c4fa3b6266d00389834

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e2a7437f9b35e4789de0cfe33d721da427d102bf4be7cfe87ab8b5d7bc513ad5
MD5 262059a8597d5524eb7e2bb83d2683fc
BLAKE2b-256 9b62650f359bea1189f82984d4c1da82e7d9aa5e2841851a78cc4524a0097d51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.4.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b3c7916606423883d7ad85e193356414297dcbdc0c576229702b2d943c7288b
MD5 60eaf03d468223a8a37eb120f0448e57
BLAKE2b-256 4f2bc3633f5577d2dda98fe3f5a9f8041c174469f1b269c679fbd870f519770a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b8635f22e76f349eef5259890a4251ca8116138e654b9d9faabe9ed3d532091
MD5 8571b6b593a8cb6e6bf92b2070ff388a
BLAKE2b-256 3639c291e444a00d108422c0dfeeb1f93b524bfd61312ff5c6f7a0d7d46784cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.4.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a9e41907eda36e1d2fc1595c44d7f5753c24c7fa086588549f8a0f4754ce5870
MD5 c305cb815611caf7445d369eb71e8a7a
BLAKE2b-256 dba5ebda11efc76878e19d6e1dde8ed008656bdd2b888f4fad5a38aa498ed30a

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