Skip to main content

Snowflake DB driver for Python (Private Preview)

Project description

⚠️ PRIVATE PREVIEW DISCLAIMER ⚠️

IMPORTANT: This release contains a Private Preview version of the Snowflake DB driver. By downloading or using this software, you acknowledge and agree to the following conditions:

  • Restricted Access: Usage of this driver is strictly limited to participants who are actively enrolled in the official Private Preview program for this specific driver. If you have not been explicitly invited and authorized to participate in this preview, do not download, install, or use this software.
  • Testing Environments Only: For authorized Private Preview partners, this driver is provided solely for evaluation, feedback, and testing purposes. It must be deployed exclusively in isolated, non-production environments.
  • "As-Is" Software: As a preview release, this driver is still under active development. It may contain bugs, lack features, or undergo significant breaking changes before general availability. It is provided "as-is" without any warranties, service level agreements (SLAs), or official support commitments.

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.0b2.tar.gz (1.0 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.0b2-cp314-cp314-win_amd64.whl (11.6 MB view details)

Uploaded CPython 3.14Windows x86-64

snowflake_connector_python-5.0.0b2-cp314-cp314-manylinux_2_28_x86_64.whl (18.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b2-cp314-cp314-manylinux_2_28_aarch64.whl (17.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b2-cp314-cp314-macosx_11_0_arm64.whl (10.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b2-cp314-cp314-macosx_10_15_x86_64.whl (10.8 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

snowflake_connector_python-5.0.0b2-cp313-cp313-win_amd64.whl (11.1 MB view details)

Uploaded CPython 3.13Windows x86-64

snowflake_connector_python-5.0.0b2-cp313-cp313-manylinux_2_28_x86_64.whl (16.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b2-cp313-cp313-manylinux_2_28_aarch64.whl (16.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b2-cp313-cp313-macosx_11_0_arm64.whl (10.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b2-cp313-cp313-macosx_10_14_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

snowflake_connector_python-5.0.0b2-cp312-cp312-win_arm64.whl (10.9 MB view details)

Uploaded CPython 3.12Windows ARM64

snowflake_connector_python-5.0.0b2-cp312-cp312-win_amd64.whl (11.0 MB view details)

Uploaded CPython 3.12Windows x86-64

snowflake_connector_python-5.0.0b2-cp312-cp312-manylinux_2_28_x86_64.whl (14.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b2-cp312-cp312-manylinux_2_28_aarch64.whl (14.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b2-cp312-cp312-macosx_11_0_arm64.whl (10.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b2-cp312-cp312-macosx_10_14_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

snowflake_connector_python-5.0.0b2-cp311-cp311-win_arm64.whl (10.9 MB view details)

Uploaded CPython 3.11Windows ARM64

snowflake_connector_python-5.0.0b2-cp311-cp311-win_amd64.whl (10.9 MB view details)

Uploaded CPython 3.11Windows x86-64

snowflake_connector_python-5.0.0b2-cp311-cp311-manylinux_2_28_x86_64.whl (13.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b2-cp311-cp311-manylinux_2_28_aarch64.whl (12.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b2-cp311-cp311-macosx_11_0_arm64.whl (10.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b2-cp311-cp311-macosx_10_14_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2.tar.gz
Algorithm Hash digest
SHA256 99c79f98faad8ae779cf9e3a20e05aa58184f79866a5c0ee7e1812df4e66ef91
MD5 6f87908ad13c913cbd270fb6bd561470
BLAKE2b-256 f232ab4c02c7ac1c94c227a89c3aeb4e80dc0e3878bf91c7c0d177983d95d466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 80ef7127b13f4adb7a167e2f1ac94dc9ba2ff391e7dbc7297386bf15a2e87201
MD5 2ea1d16d809c78733969f913153a029c
BLAKE2b-256 790b36a83c491c3f7ee01aaed50176429b610df5b34a08f9f3bccf3c5d5a5013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ecdd8b07a52a5d3aee733b4c5e090c8351b46233adae2d0e967ca6f724b9e998
MD5 a9494b503773fafa83dee747ae7d02c7
BLAKE2b-256 704b4e2ad3abc750fd6dd16aa5cc14ea14bab0d4e290a035a28fb2819f8354cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 da516cd36abae197120489f2fa4c75de2bb73393353eda7109982c05ee1139b1
MD5 08390b36b83b1d1ed6ad3ac6c8e542cb
BLAKE2b-256 0978d78bf61d277f967a0e89725052debc6b0f965d1db1f8dedb3d6d8751e754

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22ac9b82cf5feb06585bbd1db1868f31b2d8f083837367d35c7473af554343c9
MD5 f43e66aa5921d940832383cd1892d203
BLAKE2b-256 b7da90453b562d3c7debc7f27b49f2ae27696a6ee9d380b3d115981ae3b2dfc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 095441b7035fec1771daa4c463c43148447233b609b2ed56b1a66bd4cba6fcd9
MD5 d7c42a5f832b279579f2aa92883b588c
BLAKE2b-256 5f25dc1c574dafd27e6247ce12100e613e51f5bb2a64e7174d8baf324a06d669

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 47a6af3a69c93f5377408b8ded7d7983a10649113b3583c31c1c64e4cea114df
MD5 8db086cbc8831d3cdcc57cac8f47f633
BLAKE2b-256 776761b3858d10306b98eec4ce1975e962e92cd8a44e1bd78478c5c50ec0f3cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8fd57deaaeb090fa85efa7de73a35a67e6fa46e977abf44b81aafcbd196b35cc
MD5 fc92219c6bad1cae71f8d2071f930957
BLAKE2b-256 ef015db9472b273a32a8df6a20a7870bb1660a42945986111a0c351973744378

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4627256517eb7217a3ded83922749e0886eab7ea208298f5bd63d70a7482259e
MD5 23fa5e80e5bdf0dd3377008f9b3e1430
BLAKE2b-256 19b45506f5e24fe37a329b54b8a2e5dbefaa00c51eef4e379e6ad29d0c0239e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7334140101c22d965d475c1c873d74576d6c1382176d2acb1f69d554cc2282d0
MD5 d36e3d3670736937b0b7be604517b29d
BLAKE2b-256 0e273c34bb1d04e3c796f04b0ccfff5ede214a176214d66067c6dd19b44d723f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3683ae9cdeb335eae9eeb16d00e62c5af87fc7fbbc20fbb25e65fb7f62dd8207
MD5 aa75f16600636a127978fa5d052d4275
BLAKE2b-256 e1dcf38dfc318f5d4414a56a11c83a6344e0d0615024f924d0fcce297edf8e5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 66e82f4b201505183dc8338470bac5f42d841e3cfbfa9937fcc6f8730bd633fe
MD5 0d08513aeca7a8c14795b2c9a61848f9
BLAKE2b-256 34b0820b380e8c8edacf0bc56f17708f7458e19c67b6883e9e22f1f16a6a0a76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e1d6810f0af92e25b47843939f0abd559913b4b3cd529dc4f829325686484243
MD5 92cc4e25fe37872e8fec207264f0d4b6
BLAKE2b-256 738c0b9264756df56008cbd3cc756bbccc6fef474077411624a36404597cd321

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce139e5219cd4ed3d7e29ee3903507e1a5d412c8d2adad80337fdc2d92fb27e9
MD5 a55d01c43e54d50c84f25346ac89d1d3
BLAKE2b-256 e99a8b6d4722ea87f4fa3cc38f4d31fd62abf1bc595c2da4e1bce67922be8796

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7033fed962913dc51e052fba8bdd21264ac3a61ad601926f848a5a6a45a80dba
MD5 1c562b6e763e7bed5d254e889a8b3312
BLAKE2b-256 ed5c29050ddc504a602062898db7d466532f75e741f9ef13c0c0335e9675ac5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d5498881ddc44d4ab8b5d9bb7699b85b5e74cbcf6c66422f83fc7a709918490
MD5 4f1814975461943903e346b87fe33e9c
BLAKE2b-256 902328e9a4a59f2fee978fab1c82bd54bea43284e192e56111cdf52e26fc1c9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 21e032bd6c5315fd51f1ce3663494ee470698a5b243225f9ddcba625ce289fa2
MD5 3d6882891c2f955e6820d49bae11a1a0
BLAKE2b-256 f9744bb27f138d868108c56294c4f5d9e206dfdc54859d6fdcf8fe6c116037f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 059e58ad6ac08cd8e78263a50254e80ba2ebbad9ae78f9b423f1ce8fd2cfdbc1
MD5 eb65c1441e54c5bf4915e05414ce328e
BLAKE2b-256 049892f0b189780c4c0d9d3bef6b1e7fd77767a4512d7e094fe36f10f321adab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c6c19ffe7652c893528b9651da805f701d1e7db22e205df4a90ac83f7b20e189
MD5 2053c282890b66775199a55d9583eb92
BLAKE2b-256 c6d6161c289e9c1b789f9f4408ea73328f3fd68a74aebd9e828bee5c3d33cbb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6fd1f94f148e3332f64bd83c0f0ee48ca2347bdeeb5db0ca9392a2996cab65df
MD5 5cc8ca6e6504148708fc7f021f022d83
BLAKE2b-256 ec61d5ef73ecea0955516cd0ca9082975aa29c35ef52dfd44d99bda6f6172ee8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 475b8d3f25f720b445d61b2dc91960a92756a51290cf18966b190bb4c38d9d4c
MD5 06ab9de170d55df4c5d4ca080a6d2548
BLAKE2b-256 2a6b5856d902aa9f5dad67a1162b8ed241dfcd8fd0daa0355718d5781335683f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bac2febf241002fc09be1204403cffed667e850f2fad1b97fce1e88b6f7e807f
MD5 0e29e4515953bb56d0940ce5338112c7
BLAKE2b-256 1125bde2fef000b026b3632b3b32762f0357d93c945856edd7320c53c33faa54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b2-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9edb2c9ff55f5006470053e318b88748728af0f96f59b3418bf6dedb24d00c1f
MD5 863610e8252487828977ae24f4caaff9
BLAKE2b-256 b150411cfcc2c279a1e44ec639ab049acc5cbabe310e3f39f11c5c5762314c1d

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