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

oai_statsig_python_core-0.32.0a2026090801.tar.gz (2.2 MB view details)

Uploaded Source

Built Distributions

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

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801.tar.gz
Algorithm Hash digest
SHA256 32ff30dc931c6e21df226653675d9593dbee2be3e24cdb5c3cdc466a1c72f961
MD5 a7d71cd2c0930ec3ea52290c4fcfbe11
BLAKE2b-256 272aaa5804fa33e9b0b164bfd9433958e692e2fdb1629104517772f75a0f563b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 575f2faa037ea5403196aeede48c3d1850d782f43ac79f148ab2600f442a4d1e
MD5 79f5179d02fde1ca6cb3ed186d2c306b
BLAKE2b-256 1d0d924a94c47aaa0b0dec3128581444b30049003edfa6983737bc0bba9ed80f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 cb5c96fa3cd4b408cf4f898d74a59999ef5a7f6036c4ce0d093d980b881ec7f7
MD5 345c8cecf3d7890da0331da281f6539a
BLAKE2b-256 c3f05bb1345a111951eadab3b1d69c717b87cc5647d6bc7475701ff8e0697bfb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b788aede4bff4dc4798c6443a7575048e355ffcd81a06eaf6ecd6468121991ea
MD5 16a7769d66141da0e3c63138091b1ff0
BLAKE2b-256 cbde18d2b6c1eef77f53d25bf84c778c292958e779a0090c3492831d90570b7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8f134dae6ec025ec3162cf903b1bfec5901cb08d56760f0611a7ddf1b8012d5c
MD5 d7696a283e7896b0ea8496bf1d388e22
BLAKE2b-256 4a5103fe0e11f27a421afb80b3399675446bb58864ad016ad05d02f15e360342

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2066fc7c8273b00ece84431715ab05c6bceebebfe1ba7288958cb43a232326b7
MD5 8f0aac82f3dc4c6a65cc7c6a7f9a9095
BLAKE2b-256 9de709363aa161e09d40a7d1093c6f8bbc0239156a35a7fcd2cd59aa0897644c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 be74adfe7cbe7bc9ad0ee51d5001d9c2677e1ab999eca22eb8cd7ac01d4689dc
MD5 7d7ad0e8efaa5c8f2486a2389542ebd1
BLAKE2b-256 17b64888e2eb48e775d7838de8a959510482606746ad873154fb73657f2219eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee6e5c89c7c51c7a26c439bfc34c8c645b77fefb422500a678d6213f01df2ae9
MD5 118d1bd48622ecb9ef1b3eabb54c66c8
BLAKE2b-256 b41c1b6b8dcefd33abc993a2abce2d58c014092c629f9424f25d04fd9e56c729

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090801-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aa456028b15e51de03100378dc0a534005fbc9ded35e0ac3ad81b8a7d0f6dba1
MD5 15127a2fb7e2f0926574d1bd4141ef12
BLAKE2b-256 491a9fc2055d02872c89bc91670a0d1c778eb75b9c53ad2912ce3ba4f1b2df85

See more details on using hashes here.

Provenance

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