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

Uploaded CPython 3.10+Windows x86-64

oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-win32.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-musllinux_1_2_x86_64.whl (23.4 MB view details)

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

oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-musllinux_1_2_aarch64.whl (23.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB view details)

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

oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

oai_statsig_python_core-0.32.0b202609091820-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.0b202609091820-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.0b202609091820.tar.gz.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820.tar.gz
Algorithm Hash digest
SHA256 0c8e0e3224f0e2b41f174ec002163b0bb214f6360df57b0bdbb3adf32e3c73eb
MD5 66f6d38267de0c3b6bffdf2bd5c8a02a
BLAKE2b-256 9d4ae367c836bc9b9e66ac244550cdc00dd557d7cda6a3cf887bad0409eadd1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fe0037146730d7b875615dcf22d8947c6dd2f8548bda62b32db49971147ebcf2
MD5 e79b6c28a7685e7d643a72428e844039
BLAKE2b-256 462e6269f3d165333df2cd237c6e30a12c6d76f9da61f5d3d89dfa7fe589035e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 f10335fb944a69f5cf3d467791ef17db373633ec01eb3a8e55e8507cb299bc00
MD5 8c0da10a4c7f1215103c33f09bea5506
BLAKE2b-256 756b5ef6929df95851b9a746bb0245638a7bbbe1e698fc4619649b9c18f82145

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1d16184399fdc11afebc13e715a4cb228914601dc2c52597adb81d504b17dd2d
MD5 cec1cf754ede175cba0c8087dba34696
BLAKE2b-256 b8e86d415cdb6ed1420b3a7a239270c9c4287de7b213edc0261d5a8d7a128724

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7aed9a084df46ac4fa0f77f01d913b747906ed0b17dfec31ba5f2612e0fec93b
MD5 f6eb76a17a0cb7cddd7027fb293e2eea
BLAKE2b-256 5cc5d4bbb22fa55c6b0901454af677706622b9110c3cbbc7752eccf7c1ce40cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d44f4393725b475157389f6576c57a460681ecb8014bab768a905881182af433
MD5 b3715da97adb58df6e6d8f738e7fb527
BLAKE2b-256 8a670887763de3135ce1ddc2bfa53416fc10a51127b5f5a60d40cb248dbad1db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ad9b23f734bdc1d37fed3f02dc0804f55470040d8015a79c2eb084b702375bde
MD5 c0a7c08d0972ec490d44b2e2f171152d
BLAKE2b-256 78d5b8858e1b9f0a85c60f4686efbe4575fe7b3de0a780765139f667bbf58a76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 990b1fb3ed34c405a08b70d67f597ec91301799ec5fb3ec1069e46cdfa6d8ffd
MD5 1a24627006c4622b1fa10a779118cb0f
BLAKE2b-256 90b537e151e0843fab43f02645894ce406caceb53ee981bfe818c3295cccc2d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609091820-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8db1461bd349361ff19e7f8b1bdd56652687a023eab8fe98f1907a6b9afc53d1
MD5 dee67a93dc420fee2e389984e1029c1d
BLAKE2b-256 7932532d8c125bba89ec69e45137a5fe2ffec5d757cde13189dbb2a31f347f48

See more details on using hashes here.

Provenance

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