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

Uploaded Source

Built Distributions

adbc_driver_flightsql-1.6.0-py3-none-win_amd64.whl (13.3 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.6.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

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

adbc_driver_flightsql-1.6.0-py3-none-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.6.0-py3-none-macosx_10_15_x86_64.whl (7.1 MB view details)

Uploaded Python 3 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.6.0.tar.gz
  • Upload date:
  • Size: 19.9 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.6.0.tar.gz
Algorithm Hash digest
SHA256 060fe6a566d485d933e8f3d597178486bcdc3379a411e0d94a3924f1a6f50707
MD5 e7efc765fcb108d8ac9ceccbf02dd1ce
BLAKE2b-256 a2e586a08c8a35479b7eca0ab7ee118355de7e86e6f2afefb827e41cc60fdc67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.6.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fcc61b91716af113627b3be1e5b35ac82c2612bc330211ffa20f1c43e4406d5c
MD5 2e7609751be794ba55119867ed5701db
BLAKE2b-256 54f188068128c0d99e8e86b755277e986afca4c26694599fe996a1d53683912f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6597a78d676705a3fde0074d4df90dc3a5e27d7933445bad120c4fc3ccd70a8c
MD5 95cdba7e29d07ccabf55746c7fc61a57
BLAKE2b-256 20efb39413ea761fe2b853aa2e4f1958bb86ccdfaf9e8b47711513338da395f0

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.6.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.6.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a25d581e5d4deccdfabf2ff296f0172b2641c087f8cb95cd306dc65639470863
MD5 4ab308586dc1e747db102604345421d3
BLAKE2b-256 75ae8537dc1d5b9329df7e8cc59446ed6035890b4fa0358316d73fe162fdd82a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 153fdf7f266370f4e26caa158ae24b5f553fef236876605afc49d622d2b1e451
MD5 271e27f4595f1d1fb6ed329b15246751
BLAKE2b-256 3f2608b96741c05ae130bd3667c5c6b90f64adf8c25be20ac6d7421bfe74adb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.6.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 24872b650dd403776a6a5538706f7f2d0259f9804a618b14a8d3bde830a82030
MD5 e1726b97a9cdfcdf80d7f0674b741455
BLAKE2b-256 61773dd8535743bb9206e898da49adc8b2faa195697bfde9a8e46a17651bd2b3

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