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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

adbc_driver_flightsql-1.2.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.2 MB view details)

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

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

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.2.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.2.0.tar.gz.

File metadata

  • Download URL: adbc_driver_flightsql-1.2.0.tar.gz
  • Upload date:
  • Size: 19.9 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.2.0.tar.gz
Algorithm Hash digest
SHA256 87a2aeb346f587db5b45f10bbf115e5b15356921b7ab234bf241faf3548575cc
MD5 3ebf31115ddd27a6a99d290e3bc3c43b
BLAKE2b-256 361219bf3d9c7f10adef871ea2ba2af732421ad2d185372769dfe6e21fea1df6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 672ed7e82e8a814e9a0c70f39e8c5f557280dc4322b4503d7cb33eb07d794493
MD5 c5c61d23fca0fbf5d8634403fe898cb6
BLAKE2b-256 618f2d87b1ce08347494f313a4e9a5b26c1d7e31989d3e88816801a20c4b5c25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0693c5e64b7e5055099a905680a379f4b0e3769e9d1f5bfef8da1b4307e8ce44
MD5 23a654c86b36fd234cdb3aba7ca4d3ac
BLAKE2b-256 c2697742e90fe715e8ff8188e421d4b28f7f3e7b8977b3730a60b02127d3b77d

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.2.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.2.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3795c8bd415deba7d6a641d111e8a127d15cac5d54059ef7563ef2778f6e0c2c
MD5 c99c1d3bb8877d0f44f2104f66f066a2
BLAKE2b-256 2b6c501de1c41796301a73da04b221178d30b5963fd8c8360d15403f3490e70c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ef16f8cdb33197e91b019ee8139215fe334c30cdbb719ecc6c16eeaf314caa7
MD5 d7a5674b1a48bc285ca63c452558a5d1
BLAKE2b-256 f0981db509c6207a8782489f11c30592c915fa5e4623542ac67f44fbb55189fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.2.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 77d76c6e2dffe13c029fdb05848432ab081903d7e51c954cbd4f52837cacbf4d
MD5 9d5738eebdd22cc99e6727fc3cb65b4e
BLAKE2b-256 7cb3646067fd63d52bf181a990bd3183d4604e015a253a5d08c75f8290fda521

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page