Skip to main content
Pre-release

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

If you're not sure about the file name format, learn more about wheel file names.

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win_amd64.whl (6.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win32.whl (6.1 MB view details)

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_x86_64.whl (23.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_aarch64.whl (23.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_10_12_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827.tar.gz.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827.tar.gz
Algorithm Hash digest
SHA256 5a8194ff7c93e5ca4051480638119bb708f995a12cb662f65e35607039fa4531
MD5 897805043b31d2ecad32a4eedf818c9b
BLAKE2b-256 55853897bb2e828fccb0927c1fa43f226d7fa20bd1a66ef867b06c1249a0ff7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827.tar.gz:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7535215fa02b32843e70417024e5977fda808a6726860a160cfed580b4be2dc2
MD5 aea2b21473092e20e0ecd509ed270f1d
BLAKE2b-256 5e04356be36dac5b076a5a0da5d1f6acf85a8bb2cbe3004ecdebf7ae451bb4a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win_amd64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 b21d53b06a0849192a01c0e0f440530a7a83f8cb7549255f55882423f34c3f5e
MD5 a49af84f534f51ff074bef26ce7463ef
BLAKE2b-256 1fb1612d26ccb232416fa3eb1804372bbe4660f2984ad69827f6191a2e6f9a91

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-win32.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 79ab0a3c07ab9b24f8d3170a20f214d0768342809234eeaee99be5e51eb82446
MD5 c03b191356ead316d6c5b808f5e09ff2
BLAKE2b-256 81bb66b5eed463a0307cb3c7581115253603378e325062480abf14913e1bfa3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_x86_64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 38435c5dd81341bfba79f0965b534691af36502bc605bd16ec4bc1c292a6821a
MD5 7e2a5c7c268d28b29ba39b0a9e26f61e
BLAKE2b-256 e46efd86622d285b853faf03c4687fee13f2349f369b732290ad83f7952a76d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-musllinux_1_2_aarch64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b9f3e523f0a20c006a7dbf586be942f8ba8d238081740576ca64360fb959482
MD5 d877c0f55ab751b8c57b5fefed9ae127
BLAKE2b-256 6fb7d7eb6470de4a1a9f0c31b44a6ab78edc04525070352e52186180886aba9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ff693717b03a5f93c705b1b3432e541bc2a3017aeefd1b3aef11a352242ed24c
MD5 8f27fa16ae2a782405a5b774e7add2f3
BLAKE2b-256 e3cb3258d69d229dfebf9f13cd2358827a1a6e9ae01dbfb8f8d6f7ba2064dcdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 79e61153c613569b32e64f7d2fc8e429a7927bc5fbe4f7e7af8a7fc29249939f
MD5 aa922ab9b88c3be827576f9105de06c1
BLAKE2b-256 40a4e53689f4b400a54062333c57633eaee52fd27eda2aa9978e4a8c1272f763

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7329942136351babdc16763568beb874a7d22f397ac098389714c1061b4c528f
MD5 f70f0bcee1f48c24b858f41b988939d1
BLAKE2b-256 d6163c813bf6af8e3ef10fcf842c50b2c38bf21b75602aa018055b2d7583ef57

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609131827-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: new-release-bot.yml on openai/statsig-priv-server-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.32.0b202609131827 This release

9 files

0.30.0

9 files

0.29.0

9 files

0.28.0

9 files

0.27.0

9 files

0.26.0

9 files

0.25.0

9 files

0.24.1

9 files

0.24.0

9 files

0.23.1

9 files

0.23.0

9 files

0.22.0

9 files

0.20.0

9 files

0.19.5

9 files

0.19.4

9 files

0.19.3

9 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page