Skip to main content

Snowflake DB driver for Python (Private Preview)

Project description

⚠️ PRIVATE PREVIEW DISCLAIMER ⚠️

This is a beta version of our Universal Driver intended for Snowflake customers who are subject to Snowflake's Preview Terms.

This driver is not ready for use with production data and may be unstable. Please only use it if you are actively participating in the Universal Driver Private Preview.

Development

Prerequisites

  • Python 3.10+
  • uv package manager
  • Hatch build tool
  • Rust toolchain (for building core library)
  • Credentials: ../parameters.json (see main README.md for setup instructions)

Setup

Install uv and Hatch:

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install Hatch
uv tool install hatch

Note: The Rust core library is built automatically during the build process via a custom Hatch build hook. You don't need to build it manually.

Environment Variables

IMPORTANT: Set up required environment variables before running tests:

export PARAMETER_PATH="$(pwd)/../parameters.json"

Hatch Environments

This project uses Hatch to manage development environments. There are two primary environments for running tests, each designed for a different use case:

dev Environment (for local development)

The dev environment is designed for human developers during active development. It installs the package from sources in editable mode, meaning any code changes are immediately reflected without reinstallation.

Key characteristics:

  • Installs from sources (skip-install = false)
  • Editable mode enabled (dev-mode = true)
  • Changes to source code are immediately available
  • Supports Python matrix: 3.10, 3.11, 3.12, 3.13, 3.14

Usage:

# Run all tests with the dev environment
hatch run dev:all

# Run specific test types
hatch run dev:unit              # Unit tests only
hatch run dev:integ             # Integration tests only
hatch run dev:e2e               # End-to-end tests only

# Run with coverage
hatch run dev:all-cov

# Run with specific Python version
hatch run dev.py3.12:all

# Pass additional pytest arguments
hatch run dev:all -k test_connection --maxfail=1

test Environment (for CI/CD pipelines)

The test environment is designed for CI systems to test the end-to-end software development lifecycle (SDLC). It does not install from sources - instead, it expects a pre-built wheel to be installed, simulating how end users would install and use the package.

Key characteristics:

  • Skips source installation (skip-install = true)
  • No editable mode (dev-mode = false)
  • Requires explicit wheel installation via install-wheel script
  • Tests the actual built artifact, not source code

Usage:

# First, build the wheel
hatch build

# Then install and test with the test environment
hatch run test:install-wheel
hatch run test:all

# Or with specific Python version
hatch run test.py3.12:install-wheel
hatch run test.py3.12:all

Environment Comparison

Aspect dev test
Purpose Local development CI/CD pipelines
Installs from Source (editable) Pre-built wheel
Code changes Immediately reflected Requires rebuild
Tests Source code Built artifact
Use case Developer workflow E2E SDLC validation

Other Environments

# Code quality checks
hatch run precommit:check        # Run all checks (format, lint, type)
hatch run precommit:fix          # Auto-fix formatting and linting issues

# Reference connector tests (for compatibility testing, installs latest v4.x)
hatch run reference:test
# Pin a specific version if needed:
PYTHON_REFERENCE_DRIVER_VERSION='==4.3.0' hatch run reference:test

References

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

snowflake_connector_python-5.0.0b4.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

snowflake_connector_python-5.0.0b4-cp314-cp314-win_amd64.whl (12.1 MB view details)

Uploaded CPython 3.14Windows x86-64

snowflake_connector_python-5.0.0b4-cp314-cp314-manylinux_2_28_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b4-cp314-cp314-manylinux_2_28_aarch64.whl (18.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b4-cp314-cp314-macosx_11_0_arm64.whl (11.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b4-cp314-cp314-macosx_10_15_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

snowflake_connector_python-5.0.0b4-cp313-cp313-win_amd64.whl (11.6 MB view details)

Uploaded CPython 3.13Windows x86-64

snowflake_connector_python-5.0.0b4-cp313-cp313-manylinux_2_28_x86_64.whl (17.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b4-cp313-cp313-manylinux_2_28_aarch64.whl (16.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b4-cp313-cp313-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b4-cp313-cp313-macosx_10_14_x86_64.whl (11.2 MB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

snowflake_connector_python-5.0.0b4-cp312-cp312-win_arm64.whl (11.5 MB view details)

Uploaded CPython 3.12Windows ARM64

snowflake_connector_python-5.0.0b4-cp312-cp312-win_amd64.whl (11.6 MB view details)

Uploaded CPython 3.12Windows x86-64

snowflake_connector_python-5.0.0b4-cp312-cp312-manylinux_2_28_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b4-cp312-cp312-manylinux_2_28_aarch64.whl (15.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b4-cp312-cp312-macosx_11_0_arm64.whl (10.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b4-cp312-cp312-macosx_10_14_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

snowflake_connector_python-5.0.0b4-cp311-cp311-win_arm64.whl (11.5 MB view details)

Uploaded CPython 3.11Windows ARM64

snowflake_connector_python-5.0.0b4-cp311-cp311-win_amd64.whl (11.5 MB view details)

Uploaded CPython 3.11Windows x86-64

snowflake_connector_python-5.0.0b4-cp311-cp311-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b4-cp311-cp311-manylinux_2_28_aarch64.whl (13.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b4-cp311-cp311-macosx_11_0_arm64.whl (10.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b4-cp311-cp311-macosx_10_14_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

File details

Details for the file snowflake_connector_python-5.0.0b4.tar.gz.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4.tar.gz
Algorithm Hash digest
SHA256 42daea42ee9a4c374aa0f7c633c7a934e807643d47065e02f70e6fc119560b13
MD5 ec6c09e265569e22eaedc9a44896acf3
BLAKE2b-256 8db0e85f9726921916edc4ccb4e69310bcf68c3bfaa0a4cfb7d782bc3f70756e

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4ca502b6eebd628288a793c9ef0249d4fc35fd7cc1b5636f453c91dfd6322d66
MD5 8e60280b54f4edeadfa9c41a48e80ff0
BLAKE2b-256 e088b15ecf44f1597913803ecfc643c78a6b82256421d9d27dd678aa4c1716cc

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1128a2a2f54be43bb12eee25d51534a294b3ebb9a46f990c7daee48538103591
MD5 bc7a5a4b33986cf8b3e262253c949841
BLAKE2b-256 b629b0c535bdb9baab585f6de368c7818faba3ae70d7c7b489ba51e88bd3c481

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0ff1ce54b2eaf1dd788be5eada9854eddccd458778c3c46a3a1248e96936f783
MD5 45116165772ace24e8899d38dae267c6
BLAKE2b-256 aa31c5937952c9124aa18a56d73903b9bcf85a41b2d6cf82cfcdbe4816978dca

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2bb7c1871444142be1d4136d7a11bd6ab1e715992cd0f8ebfe81309233906104
MD5 90ed4e3b2f3302651416bd17966c8d67
BLAKE2b-256 6f551b0476c66e42ac20b9ab0fe19928c56a31d8ddf549993dcde5f2c7975c82

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 20a8b0e3eb509f870e7791fd1ac3205398bd5d67fcb9421ba32e29bfcdf2057c
MD5 cde37ad94b8419b3ffeff9205e6731d1
BLAKE2b-256 e07cacd05e11bd9ec05a81f3752244c171a8f060e02eaa093b0991c7f04cca96

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3d9186eb7e350d5fdd0c88b4302dded8853a23bef3610d152a8e57719186ebc0
MD5 e80188f93c5a5881074b73f00f3d2433
BLAKE2b-256 de2d1f51a63e03eeb862f541030a49cb3903bfe6c184b45812cd37863e733179

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e234d30f59e2d80a14562ef26b589a4ca614487e2e1bf40683619589a9f79706
MD5 4a2f2c52040cdce8685fb9d677653aee
BLAKE2b-256 fa9c7da6d01a16f30d82641583d0ec0971cf11d8cf7abc60eec79eea6256349f

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2bd946390652892ecdb25b1932778de5f67a853460e0da1835aa70783838ec29
MD5 eaa714b5d3c00b1b1ad981182bf70554
BLAKE2b-256 583e733053710d24f7396d205457418e5471e6445a3a6c428fdee2882766ece3

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d41e8dbf205860b4fc4b6b8759ee39c23f4139d6011de763f07b3c896794835e
MD5 caf909433174d30f79a2a989f17c80b7
BLAKE2b-256 cf5bb2c8628d3c2278dfbba876b0701f0a75f9e90a4a76b08dd3d07a47a5369a

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp313-cp313-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d0a33ba12f5a73c9e3fd8954ec4d88f64164fdef32b3fe0e46a6bd63408f4809
MD5 84b6d5a475541f50311161c874c6e41e
BLAKE2b-256 ccf8604e7cfd93ff9249a439de86c5547a655d8338c84f155d536bad4fa40ad7

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 5907863cd0db6a01eed368d7cf5d1a62bd7a2cb0896d3253f759cb877c501d59
MD5 17da5f6fe54796dcf09f31b73cdd1f53
BLAKE2b-256 0777e05db907c56aa244fb7b95d1b5834c3395474618b7a809188ae73e8eda71

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 69b8ad2a4bfc487eb08bfbdefba7ec9f2ebb5a572dd8a696f7ed29c027e18433
MD5 a70f2b52bcc0b61bdefce2f98b610a6c
BLAKE2b-256 6fe38d863252bf1e5a11956b7603b7d38dc588ed7ce80e7968405b714bd2d41a

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a274026318251e68dfd084ceb5420b518c56b253b91b45f2673268f3f3aa7389
MD5 438e53acc81ae11e95cbb7541b675b2c
BLAKE2b-256 05bf6008081fb58b2fca8c54c53e4f266eaca3cada10b9bccd7c2cbfad98fb53

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ad8f6406d1c6bfc9cfcdbf4d699dda85c506e0b62042ec46b0ec9bc65f172e1a
MD5 b2e3f4b6cd27627f5d135fae011f7733
BLAKE2b-256 879fc30b53a02d69444255f95d384f19cf07e41f1e66d06bc8d665bb8b9ebad3

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df22660fffb56e3e85e9250ace810308441be1d161dbd901063b3022b6117e70
MD5 4a10bd915dbf9f7161cbc1c79416062c
BLAKE2b-256 e8af505d9b8d1a04e5ee8efcf6259c33e8c6a316ef6e1f4247a61ab720a5c459

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 63b90d30083f60f1816b41c98941618c50c04d33eb3d1cfe40884360d374c370
MD5 5196a67c14d6975b316fc6ac16d8c75b
BLAKE2b-256 c0570d77fd1e939f31c9bc3616e5244981fd04e30b303f707018d4cb7a4e3634

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 f2d60058cada02e1a20b9a839f7222da091abcb12274aa707d50c2a630e5ac25
MD5 c6846d49c9599267f31dbf00001ff82c
BLAKE2b-256 67fb7103908ab593c48b5ad9be15863d90b5baea0788161541f228a662ee6aee

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 038d987aed5b59b5053b1532b03cf377105fc8355b5f876a348a833b686465c9
MD5 4c683c6f8061292f7e62d99f4e6140fd
BLAKE2b-256 61d4d46c38ae0436dd694fae05b7b83e3c0e0f6d823dd3ebcad8053b46b62ffc

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0983e563ed3ef0069eb5f2533b044de5daf6ecbc0fe529eeed2c96767940da6e
MD5 49c3278686adf2c54958d93a36cbf3a0
BLAKE2b-256 a243fc6641dae4b8cc64911e0ea35fa2e73351d1855fbb7db1d2f43c4c691688

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa1688c4a8484fe63580b96e1efb9af41ef12c4c687b86bc0cc01d9ca0fe4275
MD5 fbc183fc77e387e80b29209ac3bc5341
BLAKE2b-256 1d0c7f6252a9093db101d9ece5f6fa3ebf14b2840653f0761dfb7003dfe61776

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11052e12cf1b44d69fcc44be27639f33e94d871a0d3bf4b7d995fcd8c2bca06a
MD5 8d14a73cb4bf7b3541d3ad77693a5305
BLAKE2b-256 23fd2888ce6707c83710d93a36f44ce81b4e0fc5d32e42db538dd3a9e5458e64

See more details on using hashes here.

File details

Details for the file snowflake_connector_python-5.0.0b4-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b4-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 786d6d05eb2121ee804c2d1afc4a319ec2cfca886876f334419297512b9b2ee1
MD5 79a91e22666e3700a76eb0068578f114
BLAKE2b-256 cc5966578d8acc992d851fae486f16a568542ade2410b54a657be992f9350395

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