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

Uploaded Source

Built Distributions

adbc_driver_flightsql-1.5.0-py3-none-win_amd64.whl (12.3 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.1 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.5.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view details)

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

adbc_driver_flightsql-1.5.0-py3-none-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.5.0-py3-none-macosx_10_15_x86_64.whl (6.6 MB view details)

Uploaded Python 3 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.5.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.5.0.tar.gz
Algorithm Hash digest
SHA256 5beef9ec4916bce3baa03d376926f62244562fb5b8e9dd424934869bfb4558c5
MD5 a90c0af244843d114656d18557100704
BLAKE2b-256 f3b4e7a308591f5a0982d77021e00094e8bd3c325c01310338b04cc9f73d59b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf366ba3541c4c32d15cb899de73c57e0712569ac9ab3c765cdbdf1a5bbd8d96
MD5 6d84efa6677fdc44465958cf99744954
BLAKE2b-256 5a27f48f748d3378866b8c33d4068102497650279a2b80bb8564e154d9fa2382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b71399d108a1d0a621f412c86e433a4f7f7a66e8d82df434eaa419f65a2db0ff
MD5 5d9f0bc05f6664fc080763f9c67c4a22
BLAKE2b-256 bd4d480db656caad5b7225227c18ffabb76b9ed2b843d50477fb243c2e85293c

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.5.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.5.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29d9cd05f73d97cf9d9f716dbc521f1057d5d30908e448769290ce6d331b7b2e
MD5 600150cd67c2b36b2b20f5b411fcd58c
BLAKE2b-256 5a7c53b2eda95f126a0dd42fa899f9a549360a79c75a2f272eb1eac4c3acc740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93b61b865b7824d1a3f637a8780ac6928f37b4a4987956ec205a0e28ba4ecf03
MD5 32493fb2ded4661738e5797baeeb4a5a
BLAKE2b-256 434e509f18621ddccc22cbc4f58c05e5261b5eeea40bc6a65238fabfcc216485

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.5.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 63df9621ee3fcfdf0d5c5c0d4aa8d8a3834e1b8ced50ccc6d27d25b01beaec57
MD5 25eb21d05e005eb9a4c705309046616c
BLAKE2b-256 8f50657710004d770c0d6c5aa51ba5bfc72f62a75bb64b57d857141ca4c9ad27

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