Skip to main content

An ADBC driver for working with Snowflake.

Project description

ADBC Snowflake Driver for Python

This package contains bindings for the Snowflake driver, using the driver manager to provide a DBAPI 2.0/PEP 249-compatible interface on top.

Building

Dependencies: a build of the Snowflake driver, and the adbc-driver-manager Python package. Optionally, install PyArrow to use the DBAPI 2.0-compatible interface.

Set the environment variable ADBC_SNOWFLAKE_LIBRARY to the path to libadbc_driver_snowflake.{dll,dylib,so} before running pip install.

# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_SNOWFLAKE_LIBRARY=/path/to/libadbc_driver_snowflake.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_SNOWFLAKE=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_SNOWFLAKE=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_snowflake-1.10.0.tar.gz (20.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_snowflake-1.10.0-py3-none-win_amd64.whl (26.8 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_snowflake-1.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (24.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

adbc_driver_snowflake-1.10.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (27.1 MB view details)

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

adbc_driver_snowflake-1.10.0-py3-none-macosx_11_0_arm64.whl (13.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_snowflake-1.10.0-py3-none-macosx_10_15_x86_64.whl (14.9 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file adbc_driver_snowflake-1.10.0.tar.gz.

File metadata

  • Download URL: adbc_driver_snowflake-1.10.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for adbc_driver_snowflake-1.10.0.tar.gz
Algorithm Hash digest
SHA256 56d5d6e3be86684068f86d49a66f85336b8faa9a4b520b98a122c585d007ce83
MD5 60a1adad8acd560a161a21b3d04dbb79
BLAKE2b-256 70f346727eead86527ae9bb05ca9b830cf18481dbe6ac1973d7abb8e81ca0cfb

See more details on using hashes here.

File details

Details for the file adbc_driver_snowflake-1.10.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd67757909dc3aa9cdfca32c62b490d90a486ccc3f0ed8676d7b29b98dc3af2e
MD5 cac491ce2a39fafc7a2ca28f8846b2b6
BLAKE2b-256 3d4af29fd0d5df8b9070adabf24129ee79f7aa6c5e4a1ed23120e2d68f2afb8b

See more details on using hashes here.

File details

Details for the file adbc_driver_snowflake-1.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 13d47c5e8715001496095201083f6e3b8f69a79305a9e86bfe9a767d13b02916
MD5 fef6de1bd8997dca50cd3b8b3863958c
BLAKE2b-256 7b301fd5424b0eae94112dd81993eccf23e95a5a72d425832afbb201f68a0014

See more details on using hashes here.

File details

Details for the file adbc_driver_snowflake-1.10.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_snowflake-1.10.0-py3-none-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d2822989e137c773c4d7fecafeb0031428379bad28e55020d01fd0ad9534daf2
MD5 48aaf72af329d0aebfa7f9edd04b92c0
BLAKE2b-256 65d43323a56d0bf8fd0b78294c389d6fe441bc135e32d080892aff341b15af59

See more details on using hashes here.

File details

Details for the file adbc_driver_snowflake-1.10.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.10.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d96885c7e2e291c0e8cbb98fade45d326cf08681773cce9c2f68bca8ab3dd75
MD5 bacba0ea1005cba010dcd0374b734414
BLAKE2b-256 343bc7e9aa0da008e321450a0c8c89875dbaa45ee12b277faa29ff7bf7e78d24

See more details on using hashes here.

File details

Details for the file adbc_driver_snowflake-1.10.0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.10.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 30237689e6930710b79dcd91fa949f713ead1fd2bb9745fc0ca2b31b876b5ec3
MD5 64487d96b2d65b11a728c7e94509172e
BLAKE2b-256 ffcbf2606741776efc4621607ff6fe565aa073b048174ef0f41dfb7d147dd7c4

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