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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for adbc_driver_snowflake-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a24c96a8adf0a9084f7d9193e757a089334afe11448f89f3eda16cc93edd6c14 |
|
MD5 | 312de7721d8c2287f125586114b31825 |
|
BLAKE2b-256 | 6b15271fc4f8ddca54f63d26057ec18826a3c405db10db340570507d70f6c011 |
Hashes for adbc_driver_snowflake-1.1.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd410125b9dee15b803bdaa4b292fbf55b83533ef7d71830e72f1ce417447eea |
|
MD5 | 208f33d7ab5f0a5bf9cc723ab38eb721 |
|
BLAKE2b-256 | f59fd635dcf47ab98fe658712ae97f99b53b8f782e509d9c472b4d18f4ab02ea |
Hashes for adbc_driver_snowflake-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17dbab0c9046616010c2c32031845ad69241492936a8041a7643d8459311b90c |
|
MD5 | 6462e69371be81a3f7454897b42670c8 |
|
BLAKE2b-256 | 1fe74f219c908a2befe2039b39e64c31c6ba5e6f2687e109a2c4f5758010c1e8 |
Hashes for adbc_driver_snowflake-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 | 4db551954d44a0eb587f3b74ec01f1e8d8ad4e928cb0d1e72c33762fce7304f3 |
|
MD5 | a023f2e71e6748a58fcfd91323bb1a7f |
|
BLAKE2b-256 | ac2b037c03558cc4ef607b0d1ffe9c71862349346261ddf6fcb4a5e68064757b |
Hashes for adbc_driver_snowflake-1.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b5dc36cd75a29e453fc5064138fbf70a23250b9ad9e1c4c58b900c48daeef6c |
|
MD5 | 75f5cda23887cb0f4bc6af1ee19e09ec |
|
BLAKE2b-256 | d354c410adcae985495c8e24752c15d032605f46b13927f8f3da3779d35923e7 |
Hashes for adbc_driver_snowflake-1.1.0-py3-none-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fa9830654f7dc4a507846d12850d3be063d108fa4671c97809a2f486e485a7 |
|
MD5 | bf6156ee6a4597b4d14bb0f22bdb7731 |
|
BLAKE2b-256 | 1e90c61792226a2b7b3ffdc42e7e2a997f15d6fedf1f5a75cbb8bb3180fc2d4b |