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.11.0.tar.gz (30.6 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.11.0-py3-none-win_amd64.whl (27.3 MB view details)

Uploaded Python 3Windows x86-64

adbc_driver_snowflake-1.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (24.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

adbc_driver_snowflake-1.11.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (27.6 MB view details)

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

adbc_driver_snowflake-1.11.0-py3-none-macosx_11_0_arm64.whl (13.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

adbc_driver_snowflake-1.11.0-py3-none-macosx_10_15_x86_64.whl (15.1 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for adbc_driver_snowflake-1.11.0.tar.gz
Algorithm Hash digest
SHA256 7fce54ae7540c6c63aad6cc9ec2795a05647cc147c8af41ca2bd4e95455e8eae
MD5 6f956ac3ed1ce31ad6080e8e369c930d
BLAKE2b-256 fdc1561549e36abe8644bedc6b4848abb79ab41a6b0fc4b106ceef944b0c3493

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 83b1a363a44ae4cb1e4956f9cc6c4e44dddd7c768a0f0a8b42d9cb8eb8906305
MD5 482da2040f99d74f81a5b6f1b023eb0f
BLAKE2b-256 e9ca542793fc9a164f013e3248061e922ac5d5246ce93718a5c0cb44bbd2219e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 07b5edbeb1b85be0882d7095641df26a24b3b4c2ba4d8edda35e3bbe89e70a06
MD5 f7ab06f282146818d3b33673aaeb80e2
BLAKE2b-256 5d41fe557f0d8414037dfe86fcba6338eb094a51da894050ec9a4c9f4504513d

See more details on using hashes here.

File details

Details for the file adbc_driver_snowflake-1.11.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.11.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 7c7d7ecef7246303648a08cee3d78c383133bea8f2e1568cf6e8750ab94b5a57
MD5 248373c3fe5572e39ba9d32735d5b407
BLAKE2b-256 6f26baa44b8b9faaf26846dd8c0e513c7ce6862d7f35de46ee61175ac976699f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 be862f8d0b6a507dae5c0644e13be79290180532c097d97c5a95a294c0bb5302
MD5 84ba2cedd8e5bf37ebabe23a60f30efb
BLAKE2b-256 d51d88d564a8941607e6e555a3d3290ecb92852d4aa5a926a1cdbe86b17a8424

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adbc_driver_snowflake-1.11.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5ebddfa5fc0b5cd7c86b5cce17bb578889c8db5ff2b756903b64e684b56829e8
MD5 913631fb2a28a49e33d93b978db46c59
BLAKE2b-256 2af31125c7929faf750e7a5bdcec33ca22259ce040338dae12f75f3eb8080def

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