Snowflake Native split testing client for Winning Variant
Project description
Winning Variant Python SDK
This SDK is currently in Public Preview
This package provides a Python SDK for interacting with the Winning Variant Snowflake Native App.
Install
pip install winningvariant
Basic Usage
from winningvariant import WinningVariantClient
# `session` is a Snowflake Snowpark session object
wv = WinningVariantClient(session)
# Get an assignment for a subject inside of an experiment
assignment = wv.get_assignment(subject_id="user_123", experiment_id="my-experiment")
print('Existing assignment:', assignment)
# Get or create an assignment
assignment = wv.create_assignment(subject_id="user_123", experiment_id="my-experiment")
print('New assignment:', assignment)
Resources
Copyright
Copyright (c) 2025 Winning Variant LLC. All Rights Reserved.
License
GNU GENERAL PUBLIC LICENSE v3
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
winningvariant-0.1.0.tar.gz
(22.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file winningvariant-0.1.0.tar.gz.
File metadata
- Download URL: winningvariant-0.1.0.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b851a0508fd1cf3170f0dd85e426b0af423dbb0bafff8e547cd4582b174600
|
|
| MD5 |
3e9f82a77b888cf42660b474f9cdffd6
|
|
| BLAKE2b-256 |
fa12fe1154d511a2234aa642405ca92ba051b97aa4d280e8673cffffc2627100
|
File details
Details for the file winningvariant-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: winningvariant-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
267c2df9cf1363e245529e56278ed93908a6ef3f0cd69bdc4681cb277c532d2e
|
|
| MD5 |
84fa8866109d313755a447968468aa83
|
|
| BLAKE2b-256 |
830c36d262db0940036cc711cb0f17fac6af0c24cb01464a53d56943f1f8de65
|