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

Uploaded Source

Built Distributions

adbc_driver_flightsql-1.1.0-py3-none-win_amd64.whl (11.4 MB view details)

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.1.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB view details)

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

adbc_driver_flightsql-1.1.0-py3-none-macosx_11_0_arm64.whl (5.8 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.1.0-py3-none-macosx_10_15_x86_64.whl (6.1 MB view details)

Uploaded Python 3 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: adbc_driver_flightsql-1.1.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for adbc_driver_flightsql-1.1.0.tar.gz
Algorithm Hash digest
SHA256 612dd162215e47a87f6e8089a9ff7a7fa7e9d30685971cc027f3cb711afc0586
MD5 c72ab4ce3ee0f8f0072c556a1b787d1b
BLAKE2b-256 9611ccbcf8ec5d7334922449addc93d3ed122fff179acd5ef203dd785a3ed0d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 283127332baa99a3ac55925246c7d9c310cf12d2176c800d77ca014a27644b44
MD5 57660dfe201d2777e13018c4e0358fc4
BLAKE2b-256 58f2080dfd9061e2a35234c7f786991c5d52dd44331083dc5b2b480a5c337c5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 974f7d72e601223051d874e55a67e6c05219eed2e43dcc2d3cc5af00cee5e65b
MD5 68d050b0ec5ca88601168d9e6c9076dd
BLAKE2b-256 a256a32ec92d7eecf00864cfed3ba6acc6ccf1bcfbcd3833d05477ad84de721e

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.1.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.1.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 327c3d6c8b4622517b2d44fc78b679599a6c7682685af63a763f0281fdc70f95
MD5 d537b0f73d9d828d77b01a2f35368830
BLAKE2b-256 3f72f9631336bb75831bb56588ec55aefe091431eb9e3831503712e0c1d90ba7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9e4ed77cf007ba2c165715885511cbef0dfd8c7266409b473a8fbc9eda26e7a
MD5 a8aa9514d26e61e980184e2044131931
BLAKE2b-256 c0eb053823a3a91bc7d5593bd7539dea8bd2489ee695e7f11dca0971196f831c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.1.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 481b67c0abeecfdc00b911d7b5be15d76dc189f4690a38963abdc1a0684561d4
MD5 0e28525735aafec670e6d51e55dd9c36
BLAKE2b-256 6a02780eac217156773c0014d22f1bb376dec4bc199316d4d8fbf50400d01f8d

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