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.0b202609161823-cp310-abi3-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-musllinux_1_2_x86_64.whl (23.7 MB view details)

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

oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-musllinux_1_2_aarch64.whl (23.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.1 MB view details)

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

oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-macosx_10_12_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823.tar.gz
Algorithm Hash digest
SHA256 6b560826e5764384274ffd784176e8caf57af0f43049716cc41f2f9f8a024d95
MD5 741bd8efe98c1bdd303e461e44fb8e25
BLAKE2b-256 4f789ec6d55e8fc0b52793ef03b1f2f87ac62f9869cc0a42869bd59c3756132e

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823.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.0b202609161823-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f725be8e69176b580135ad409af03d47f4e94b4acd4d83049716d6a645476c4a
MD5 bd5019f72e30684fd9803461f91ad729
BLAKE2b-256 2564414b725fd9d11215dc5a6bd25785d8aa7e9dfc4de3f1e5d8af61538a19ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 ff31d4c6b4a3ac4a37059253fd8055322457867fc3e14c78de09cafe7f9b1ca4
MD5 0e2cfbe2f6f904b3e369a7f9a239301b
BLAKE2b-256 22f5fefd04a87173c54fc7bbdad7cc00f277218a48f595fa701ede16aa9edad2

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 73458914fccb22db127bc03b40dcf445ad9ebaf7f72cfb4d1d02a1ac1f176883
MD5 cccaa48611382a157b6a7262060033ef
BLAKE2b-256 736c339c8a4b100609ffe8f21a88d4918772488950e28f190cf89b632d9bcc57

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fd4baa74faad747bb0a3043344c0017ca6fa2ae0e2e25177cd0f336bb23263f6
MD5 cea68321224f322b628d64e567a1915d
BLAKE2b-256 ddb3c7767dc53625760f935a59370f0cf4978e5c62bc1f2ad99ef70d33e2e6c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c2011811805ddccacbea22c3d310071bef2bf13bf52d3af257fcf02eeb44e370
MD5 a5f8d0271d809a6b640151d0291aaeca
BLAKE2b-256 fc52ba7c28dc7173c6865988faac662318f18e37cb02725076c0e1aecb8cd738

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0e5f321568fc106178a8021ac1a89718184a2f4e1cd323032096fe5afd6ff5ee
MD5 0a267424793f4450d5d54fc613caf370
BLAKE2b-256 1ea5b30ea7964c7a9fd366c2a914acee20a6586de8fdd61cad5f69a38049b002

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9487c1f592e28280cb48ae2be858ea1e56982bb18aee5fb7de7cf937557b2c8
MD5 d294cf87176aba734e0671838092426e
BLAKE2b-256 2f8af88453934f4a57c28db509ae2e72275b07a102142b5617b5cb6a6d8d78bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609161823-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 559cc35d51d5dfec3ff0e8dcb0c4153031a9bc22a963068fdd8d355f5dc85b76
MD5 72a7b159da5b8a11f113e064696f4d70
BLAKE2b-256 52ed3f93eb93a4e34dad3eb99413013f1f2867ea369ee2496b713c649967e7e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.32.0b202609161823-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.0b202609161823 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