[go: up one dir, main page]

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.9.0.tar.gz (21.2 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.9.0-py3-none-win_amd64.whl (14.4 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_flightsql-1.9.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (13.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.9.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (14.6 MB view details)

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

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

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_flightsql-1.9.0-py3-none-macosx_10_15_x86_64.whl (7.8 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.9.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.5

File hashes

Hashes for adbc_driver_flightsql-1.9.0.tar.gz
Algorithm Hash digest
SHA256 534e125194b6e835245eb705246c6525a8d4046d23489140deeededdd6f848a9
MD5 b85a88a95ea5e6907bcbb61d238df7ad
BLAKE2b-256 848a4d0c84b15eefe6576d431a18103005e356bca44b6a45fbc631cb6e8bb17a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ccd438a02c1638db9131ba46eafb7b860df76756ecc7585317e72dd83162b712
MD5 8ca34366802fdb43aa302cb6ee7914ae
BLAKE2b-256 621abc7ec4153b1d00c0a7fbde9cf0a836600d954b362e19a994365710ade713

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.9.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5c6ca16f2963297abb4816e1c0a0dc07852993e5a2ac1a3232536833153e6df8
MD5 41a1aaa1d50973cb34889071e886622d
BLAKE2b-256 946934cf90a32fe3925be6806ad7bf8c1d46d40ad8e16a7a3a36adb02ae65cfb

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.9.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.9.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a79a4225de366f8c1f622f4ab92ad7cc09e874a89748c6d21003641a96de8482
MD5 f5eaa1b398dcbaa004b8446de92e7cdd
BLAKE2b-256 04e5a2826ac6e8cb135d9a9f24d46e60563353fe387c542ee19b42dc4d043402

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 edee43183625acb2fd2e2b8331f07ac516b6958ef1f27663f6308334db7f7272
MD5 63055eed4bcc92aebf38c024141c6930
BLAKE2b-256 2e67b301f1ff18e03124c62a6d29cabd01d1b122bea94d94035233316b44d03f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.9.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 49c15fec4e03732bf478922035563be0665686b950efd8efb325b6ce84e05dd5
MD5 30647acec08dd95d13008806dd3a47d2
BLAKE2b-256 94ee08baaea64b123ef1c904c6a25f63b1c95208c040d794425047cbcb6c2c3a

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