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.
Release files for oai-statsig-python-core 0.31.0rc9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oai_statsig_python_core-0.31.0rc9.tar.gz | 2.3 MB | Details |
Built distributions (wheels)
Total release size: 125.7 MB
Release files / oai_statsig_python_core-0.31.0rc9.tar.gz
| Download URL | oai_statsig_python_core-0.31.0rc9.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a816cdc4e6b1acd7333a790d8161ae1de23127502d4cb4e5376929305d9252d
|
|
BLAKE2b-256 checksum How to use checksums |
fa750bf5a9f40a1d49ddd1a46e87ccc0818a1caadd6831a0954931489f5e45e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-win_amd64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
57efaadb348b42a2534b8ddc3dd14183431e0abb9d43751d093e4e47533589a5
|
|
BLAKE2b-256 checksum How to use checksums |
7c957c444395db5658bffd896dc80f4f24f94ca33b33656f81ef935d5ccfb5a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-win32.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-win32.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.10 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
c20ed17cf682e0a9ca0ac8ecdc78f62dae8c244db092f12defad0135824a9928
|
|
BLAKE2b-256 checksum How to use checksums |
a1a2df64037f8900ea87ff24bf4746d780be2ead975c31c2f2576206b483f195
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 24.1 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0910fdafe76e809f72a5bcc59c61ceeebcbc347d85162d4ff4712b8e713bbdf4
|
|
BLAKE2b-256 checksum How to use checksums |
f4a0be7c1381291cfa445d11e5b725d4bf81766f1fc26d8b117a11bdcffd6f5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 23.7 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
331efe718bad8462ccd87d21c5f1e43236993fb318566e8fa4fc8e102f249890
|
|
BLAKE2b-256 checksum How to use checksums |
b3a3a2aca8d042076d0a85b7b862ea51206f9eebb3ea74b73fedf11d1388a38b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 25.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
105cb6c8a42ba0cfafa8440d8eede7925f18b635052df5555514e27ef56ab05a
|
|
BLAKE2b-256 checksum How to use checksums |
73d0ce47dc692215759c9e27d2d2be6b8c7e1bb8bfd6687aac4c96f5384f375b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 23.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
80b50a50f0944df8c9f32e34bd33e0fde6818cc38ab5b091f4fae8dc54a9a3d5
|
|
BLAKE2b-256 checksum How to use checksums |
5cf1a491805fa7a3e9699de745567dd3917585966f97425e8a63c5a1dbc67092
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6b35cd88e18de6797866f59b312eb9c42c9ee6720802ee28a78d65febedd0c08
|
|
BLAKE2b-256 checksum How to use checksums |
1b79940441742657e5a703c5d73d6df7a64672e65d81fee46eacea6ec9d8dd1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / oai_statsig_python_core-0.31.0rc9-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | oai_statsig_python_core-0.31.0rc9-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 7.1 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a2fa553d09ccc484a69a7ebc045dd96420374a8e703c7bd138e5214df0ccad7
|
|
BLAKE2b-256 checksum How to use checksums |
496bb14326371ed3b3bbaca6bfea1eeefd59921ad6baa3919e0cfeef2548512f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency log