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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

adbc_driver_flightsql-1.0.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.0.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.0.0-py3-none-macosx_11_0_arm64.whl (5.7 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

adbc_driver_flightsql-1.0.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.0.0.tar.gz.

File metadata

  • Download URL: adbc_driver_flightsql-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 a7813b750f07c426d2954105cb31f4dfe8c80b3258c944aa1d8b3b251fdfe3c4
MD5 c7292a7f85a3f883b09f35e5d86d896a
BLAKE2b-256 4be1f95d433c23461e50b820ebe0dda6471c2a73959f52cf11944791f90fc6b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1832e86cf6f8aaf1b0d11fc68057b646f446ca99b8add598ff072bf6913d1400
MD5 0487c22704107c68a0197ae569d4cc21
BLAKE2b-256 1158661b9a860ae7bd664ba50587326936359b1e498bdb364edf7aeb3cd437c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.0.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 69509b02dda72b2148a49ec1beb815dabaf5edf04bb3e4bf4696ba9927f0746d
MD5 e5b2c502f13353be97aefc3f91043203
BLAKE2b-256 c319f392db33d6db20f351c45f76130bca43ef20839d972620fba1b65cd7282b

See more details on using hashes here.

File details

Details for the file adbc_driver_flightsql-1.0.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.0.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e0ca811b1d3864f4b8b4075b74e552264078c3de9462b0aa4396cf9bfbdd23b
MD5 a88108d10b4c02583af6e66f853567e5
BLAKE2b-256 75062ce72d771529b0a5d2ea755471f3bbee2fb360c102e12b2ed8eb8644616d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7fcc5bea5435796c1cecb456dbaf2843942931b9b849ba5ccf1ced730f81a64b
MD5 65199404536fe6385583443377dff50c
BLAKE2b-256 cd6e7288a3a55c3eaafdecdc044a4bcaabc747459b3d4e8311232529386f05d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_flightsql-1.0.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ef7ad283938e1cbb17cff9bc0d690be5f20e949b648338ee2ef8a44454152c0b
MD5 bf631d7718f05a166232f56f6ed9e0ff
BLAKE2b-256 94979f8036c2f60ec60ee29a504fa6e07e0b84170b4e64ca8f63d53b9b3e2e35

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