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.0b6.tar.gz (1.3 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.0b6-cp314-cp314-win_amd64.whl (12.5 MB view details)

Uploaded CPython 3.14Windows x86-64

snowflake_connector_python-5.0.0b6-cp314-cp314-manylinux_2_28_x86_64.whl (18.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b6-cp314-cp314-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b6-cp314-cp314-macosx_11_0_arm64.whl (11.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b6-cp314-cp314-macosx_10_15_x86_64.whl (11.6 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

snowflake_connector_python-5.0.0b6-cp313-cp313-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.13Windows x86-64

snowflake_connector_python-5.0.0b6-cp313-cp313-manylinux_2_28_x86_64.whl (17.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

snowflake_connector_python-5.0.0b6-cp313-cp313-manylinux_2_28_aarch64.whl (16.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b6-cp313-cp313-macosx_11_0_arm64.whl (11.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b6-cp313-cp313-macosx_10_14_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

snowflake_connector_python-5.0.0b6-cp312-cp312-win_arm64.whl (11.7 MB view details)

Uploaded CPython 3.12Windows ARM64

snowflake_connector_python-5.0.0b6-cp312-cp312-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.12Windows x86-64

snowflake_connector_python-5.0.0b6-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.0b6-cp312-cp312-manylinux_2_28_aarch64.whl (14.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b6-cp312-cp312-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b6-cp312-cp312-macosx_10_14_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

snowflake_connector_python-5.0.0b6-cp311-cp311-win_arm64.whl (11.7 MB view details)

Uploaded CPython 3.11Windows ARM64

snowflake_connector_python-5.0.0b6-cp311-cp311-win_amd64.whl (11.8 MB view details)

Uploaded CPython 3.11Windows x86-64

snowflake_connector_python-5.0.0b6-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.0b6-cp311-cp311-manylinux_2_28_aarch64.whl (13.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

snowflake_connector_python-5.0.0b6-cp311-cp311-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

snowflake_connector_python-5.0.0b6-cp311-cp311-macosx_10_14_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6.tar.gz
Algorithm Hash digest
SHA256 1615b9e57f125dfaa170d0ece8015968bfad7bc3a3ffafa461ec03486ca5c91b
MD5 7a463422e0a62c6497f9279549b45289
BLAKE2b-256 7878b1a28ab44688aceac76164fc3acb73a334677f8dd41e133e065a99d364f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c715e075107182c6cadc5645f9f2c01cc83d290a11f25e1eb88ff676d8e93b25
MD5 8d9d3f80a77374ce3f455efa735ba0a8
BLAKE2b-256 93c937a2813143102f2d9232b1d6ec1a29f8ff8fde07f7ed7dcd1c459c9b805f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7dbb04290f2eb11bb4e9a26a14dd0b618a9e3e74a5be41b852fd3947e9ab7e46
MD5 5dda81456260b9e764b9f37ab378aed2
BLAKE2b-256 526be45ad100fd052edb4410d0d429d4afcc8454a5417a9d0fe7060ae50ce10b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eafede8fc108790c6f93b007f1d372df8b80e464829cdfc69746892f6f703323
MD5 892ab98ff2d4c6881e054d5b3d37f683
BLAKE2b-256 945cf48eda9693783422f9e4278edeca9828845ff7fb47c73a93ffd375187370

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6facb20420767fe7d9d0d4bf927112f3adacb8ab7ffa9c354ecef267c61cc5a7
MD5 b2983611e471afcd9c61cd9f10691503
BLAKE2b-256 07dced5a32b6f5819a38ee7abae9b18dfa6a3a96be7c409747921cdc1a3e53cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3854120cfb240cd2bfa73fd0e40c977f63c10d2d85aadce709236aba63ea2b7b
MD5 504851184b71ba751860519427fdec3d
BLAKE2b-256 73dca138f2a98d9d6c0c22f9e41385271afe6dad7bd4a207a9e48351502588c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 41875bb3895f0b2f685798238e21af43a99f1ce8df15d4b6168f4782af5fea61
MD5 705003676096248b7e0cd05fdfa50868
BLAKE2b-256 26add914afe920c56db73121dc8d99e9b481157416a77dc393091e42227aa790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f03890c7db66e6deeee7fa8ef350cf14c6a085c2a058579f6569ae0f1a0a2a0
MD5 2436ccc7965e4b953172eceb88a85a15
BLAKE2b-256 d44987c715c0c8e11ce1ce6f8961fe3e8996b5d022398489dbb819a8bd69b04a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3a411dd14db042f6b4d291e0323f197e96f3385c2261a6383cd5a38da28d5159
MD5 517b7048949baaff9d5065df90b5a520
BLAKE2b-256 1676e6e2fd3da8ce634d13debe8a0e81542928575df7795eda6f04efd382e028

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aa5ff9bfe1a2e6be65ce6f8d0042703921586b1b95dacf7993d71a873ce1aa94
MD5 4b33ec94159658235c77a40ea8289472
BLAKE2b-256 7301920ef5ab2d2686e96bdc543bbbe8f3cbdf8f945f49317712cd911f15d647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 423b2f6d611c16ac319a37f25553990acf0cf35a2e701419253180d9f5d5ea4f
MD5 1da7e2c5d631d957592473bdb3662a2b
BLAKE2b-256 eb86bd9feb28859877b1d50589103ccd81d166359c319181885432af9f19eddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 1def79b893bfbfbe246aa10fe7251beb3a19bd36e434da386fa4f991b408e4e5
MD5 545a365d9db7b7f581b1e3f7e7924c0a
BLAKE2b-256 5b4d9f8e84d47ec6af7762c746cee206bbe9fd90501764b47bc81e6b1af3a14c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ec929e7328cf82b1c4c9b8a211d85933bb23b0750f2ce6414c11357159bf1fe6
MD5 c503cb5998429b7802a00c5ce72358ed
BLAKE2b-256 5b3ae8ddac20da0a7a369200b1aae4d9fe47e7bc08c26ce587acc5a192c53b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 004bf60169fd477f6a5526e0e10fbfce5b7edfd493fdb0d6b78b3f0250e301e4
MD5 d35f2d97161448f906c581a32cb19172
BLAKE2b-256 e8b6364d405b89d704123d44bf01d894d341f6f7815eb669dfae44fc8c0cb497

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fbe00b80122988a1242fa707e3604eb1aa782a4a02f20f69b0027a51a303dd93
MD5 8d3afee5379f2400da6f904c9ab969bf
BLAKE2b-256 9a6255311cb653d0892b9d30153822ee7e5bc66376dc9009f09228bde60abbf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 422e79e63a5ebbc7063095292729810b794e99d852736e8aa4d8712e6a6534e4
MD5 498524902250afdccc4e681ca6aab9b1
BLAKE2b-256 da203dbbd36c06119db33b9945d35ad40806c9e9a615e6b493d17e215f858798

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2f745fb16a4de3f9932d8ff443ac23dead7c0b1857aadd52360f3b0400672a21
MD5 f10e63a3a0eea4684f03f6848be55391
BLAKE2b-256 110654bf50ac375990974b66b248fdfd7d14f9cb2c53aa0cabe83b46584e91b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 aba190034ed4535fd4eba35da168e402cba4116a44096f4a960f03c3ba541963
MD5 e64d3bde4fa7847e15c71c1a348cf743
BLAKE2b-256 0d913564e23bcdd197cfa8c0e49e7883323e0a3e7608d29ac37504204ceb7a9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b4991b7eced30cebcceb635890111845bb4589a70399e68425eda906bcac09f8
MD5 de893e053feabbf1cc5f7399f63780aa
BLAKE2b-256 96e1d351bce9cc6fce219df0373b2820efc6e961d3b62ddebc698716b600a10d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15893877cbfd7f41b0d07b81f6736c5299a844f7be6a1948531027541c2147da
MD5 ee22a7d2f2ef8214486d217a07f455fd
BLAKE2b-256 557bf753a1a6ce6edb1da0603109823a6424f8416767074fcb93ebcdab4b20ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 79283bb1c662dc6199ee479c242a47f9dbec6ac9d00eeb400ff498c21717dc0a
MD5 4ba5ef404c590f937775efa8d2b5871a
BLAKE2b-256 cc85561658fe72b7db7ad1f3f08bb484de9b07c781907f38784bff61d9ba1e72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf7667f57750f551fcab0a9700ee6211c7402e4876522f08108fbcda32100b7a
MD5 862a64e60a5c2d1e9207f559ae5417a2
BLAKE2b-256 8de018115020926b3e80b0959be973cd920c1d2e0253857c52ddf82db0913f19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snowflake_connector_python-5.0.0b6-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c8dc27bdb0de9dcb0c2a382b65ebaf1c558bddd8811db34c9b461bdbb8c7412f
MD5 287115292c04579aab0ccdfb88882d0c
BLAKE2b-256 c42900dbd0aeab0d05ae0235c2d14af4a8960dbd6d708189e0377a09800546f0

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