This release is a pre-release and may not be stable for production use.
Statsig helps you move faster with feature gates (feature flags), and/or dynamic configs. It also allows you to run A/B/n tests to validate your new features and understand their impact on your KPIs. If you're new to Statsig, check out our product and create an account at statsig.com.
Getting Started
Read through the Documentation or check out the Samples.
ID-list file routing and fallback
download_id_list_file_api selects the preferred base URL for file downloads.
Enable fallback_to_statsig_api to try the original file URL from the manifest
after an overridden request exhausts its retries, provided that URL belongs to
the trusted HTTPS OpenAI CDN origin:
let options = statsig_rust::StatsigOptions {
download_id_list_file_api: Some("http://statsig-proxy:8080".to_string()),
fallback_to_statsig_api: Some(true),
..Default::default()
};
Fallback accepts only https://statsigcdn.openai.com with the default port or
explicit :443. Fallback sends no request or SDK credentials to other manifest
origins; the original request error is returned. Fallback does not follow redirects.
Custom network providers must implement send_without_redirects; otherwise the
fallback returns an error without sending a request. Fallback preserves the URL's
path and query, the file identity, and the byte offset for incremental updates.
Each destination uses its own range protocol: a range query for the OpenAI CDN, or Range and
statsig-id-list-file-size headers for other hosts.
Set fallback_to_statsig_api to Some(false) or leave it unset to keep file
downloads strictly on the selected destination. There is no second attempt when
the override resolves to the original URL, no override is set, or the request
fails with an authentication rejection (401/403) or another non-retryable error.
Response parsing failures do not trigger fallback. This uses the existing option
across language bindings; wrappers that disable it continue to opt out.
A successful proxy request makes no additional request. An eligible failure can add one request to the trusted CDN URL using the existing network timeout and retry policy. The next synchronization starts with the configured override again.
Packages
Bindings
Community
If you need any assitance or just have a question, feel free to reach out to us on Slack.
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
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 oai_statsig_python_core-0.31.0rc5.tar.gz.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d628db679968ac68bbb93e121eccaf9e0d6ce315f8f32c9cb58c782b2b788169
|
|
| MD5 |
fb42e81a6f8ae2cf672a23a106e9867f
|
|
| BLAKE2b-256 |
a25bd83b8371cef282cac0debca033e9074de19e2a371290c2dc00c95ab494d8
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5.tar.gz:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5.tar.gz -
Subject digest:
d628db679968ac68bbb93e121eccaf9e0d6ce315f8f32c9cb58c782b2b788169 - Sigstore transparency entry: 2833573962
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 6.7 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3565cc2a65df3dc9cac4cf5219ca0751f8e156b5b0b94ac04c1630b097b14d9
|
|
| MD5 |
56e7fa6521e55e518c272767e575048f
|
|
| BLAKE2b-256 |
801e150981438f27a13077791d878e5d522f5e1cf6b3fd6ec0df23703a36a5e1
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-win_amd64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-win_amd64.whl -
Subject digest:
d3565cc2a65df3dc9cac4cf5219ca0751f8e156b5b0b94ac04c1630b097b14d9 - Sigstore transparency entry: 2833573977
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-win32.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-win32.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.10+, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b194c42b99d8a93d740e06a5758023454a7b500bf563f3647619bc903c3af38
|
|
| MD5 |
72b39fb6dabe3ae673ce4f51ac3cc734
|
|
| BLAKE2b-256 |
082918a026fcfa7a735521ee3be44e70251ad1a35a30961ee004549aeed1a5f9
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-win32.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-win32.whl -
Subject digest:
9b194c42b99d8a93d740e06a5758023454a7b500bf563f3647619bc903c3af38 - Sigstore transparency entry: 2833574015
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 23.5 MB
- Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2527d0cd4260e149bf6fe7949fe68a16e75b922d18022e22bfc1cf24630e83f1
|
|
| MD5 |
30dfa5f4c06fc032eb467bc8ebd2563d
|
|
| BLAKE2b-256 |
24da6a9418a8a8c256c00ff9001db18ebcfc0728e3bbb8f248f4d38b19c7596b
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_x86_64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
2527d0cd4260e149bf6fe7949fe68a16e75b922d18022e22bfc1cf24630e83f1 - Sigstore transparency entry: 2833574002
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 23.1 MB
- Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8d743800a7e7f70acd2e82cce55104a597c1eb52e617f28d7990cbf67b332f2
|
|
| MD5 |
26ab157f204eb3d6a133e3a41217cb37
|
|
| BLAKE2b-256 |
9084f1ea59534f8d0f9ef533e25e783dd227dee2dc064ec5ab4ae877f4f809de
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_aarch64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-musllinux_1_2_aarch64.whl -
Subject digest:
e8d743800a7e7f70acd2e82cce55104a597c1eb52e617f28d7990cbf67b332f2 - Sigstore transparency entry: 2833573991
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 24.9 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288b09b85fbf93101184cb3af1ba79c24aa68216293dff41e47746bf12f2529f
|
|
| MD5 |
106f9c0a4c5907f8f5ddfe805569b95d
|
|
| BLAKE2b-256 |
79c637aa37383797c6bb868caf9d59e8e8ea4df6e87e39badc5e48b3049b6e09
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
288b09b85fbf93101184cb3af1ba79c24aa68216293dff41e47746bf12f2529f - Sigstore transparency entry: 2833574026
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 22.6 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b24087a514848158abd0e9f69a7f1ed06d4073e7fd7c3320a84f70164827c62
|
|
| MD5 |
3bd7ef273f473d9729841f224832a336
|
|
| BLAKE2b-256 |
574e13d1e1462f6b4e5f541f9e4743c9c8c2cecc703d4a80f91088e88149356d
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
0b24087a514848158abd0e9f69a7f1ed06d4073e7fd7c3320a84f70164827c62 - Sigstore transparency entry: 2833574059
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 6.7 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caadb553d1d6bc46a117215ee120f2624668f654c8bba200a08735f6741aa36a
|
|
| MD5 |
2bcc4db0a7e203a57287d4633ed5c395
|
|
| BLAKE2b-256 |
c864f3ffa42e382e88eeef3179b2bb17025ce6050e64ab3023dcab4c2b868d15
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
caadb553d1d6bc46a117215ee120f2624668f654c8bba200a08735f6741aa36a - Sigstore transparency entry: 2833574041
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ca9b7448f7f40937b1219af7a589673617cd4b6ae2b322cd79d5baca446982a
|
|
| MD5 |
1e99edbac5d331fe42bb6f68adef37d2
|
|
| BLAKE2b-256 |
da65340c36cda2d11ee8e21d2567fc09d695ae2aa51127843792ca21c0ec3ce2
|
Provenance
The following attestation bundles were made for oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_10_12_x86_64.whl:
Publisher:
new-release-bot.yml on openai/statsig-priv-server-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oai_statsig_python_core-0.31.0rc5-cp310-abi3-macosx_10_12_x86_64.whl -
Subject digest:
9ca9b7448f7f40937b1219af7a589673617cd4b6ae2b322cd79d5baca446982a - Sigstore transparency entry: 2833574045
- Sigstore integration time:
-
Permalink:
openai/statsig-priv-server-core@8000bbea2889b0ba2e002b198d874a5862114a22 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/openai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new-release-bot.yml@8000bbea2889b0ba2e002b198d874a5862114a22 -
Trigger Event:
workflow_dispatch
-
Statement type: