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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.32.0a2026090802-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.0a2026090802-cp310-abi3-musllinux_1_2_aarch64.whl (22.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802.tar.gz
Algorithm Hash digest
SHA256 f5f109e52ac2951402b66a4ef2370eca7a886a304759ed8079728f29077ffae0
MD5 92c256080a9875070f8fea732a5edaea
BLAKE2b-256 a05bde389af499eb7e6376ef865ce9f89e21839863681ea53aaab419b6006ad3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d8bb6ac931f2cff31b271efd7099255053e4b54380e69df718d697c85c497c94
MD5 99f5850b2be0610ec914ae0f06b51d76
BLAKE2b-256 640bfb715b7aab6a5f642996b83e9c843d746dbea073d33c8462956ddf3704eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 3478e143cc0a88eda499c8bccb9bcb30a83fb031eabc00e997c08666a45b2806
MD5 9d4f4bf5d32f9f2c8a555b4daaa591b0
BLAKE2b-256 ae18eba98e049d1f491afcdb27e6495a8a7418e405b191ffb40bbce0db6055e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 69cd1dab1596d313116f0d6d6a658c15ecdb416a9fb2f2049a08aa5ebfbe1578
MD5 a43153f76a589e382e4c8d53bdf7cf67
BLAKE2b-256 659bf0949b73066a93f324109324bc57593a301a3870f1e47c23a181d1048d96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c54d5cd71b0fe878e0c21bcd87808d13a9811333a09c9f568806a756a96f098d
MD5 609fd44e9b77179ea167c44c24081453
BLAKE2b-256 893dbbf116e7dac698028bdc35fa3d8f8f400728def9e69cf8100669c9c40e4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0eebc85430b9ebf6e1652484ca8e77a112f69d189793dfda61621284b0479a02
MD5 164072f7074f86b3ce119f93b56d037d
BLAKE2b-256 2d591c7b79fb4de06f52733bf097b2c14f817676a2ee30b2b23b5a4ea15b0aef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c0cc44a102bd641c168ceee4cd60f0eb8a777cbbbb1b8afd3519cf04d9a930c3
MD5 01c0006d971c5dc39799d5196c19ac22
BLAKE2b-256 5e1fec903ba71836555b77273db37a462c4b9ebb6e33d20919c99803cfd82068

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6e0545dabf26fb13977e3d90dbfda02d218851ea6cd0397fe0f8563f8c9faf5
MD5 5cd877b8ddd0b2b3b98b09cd2da8c23f
BLAKE2b-256 362d7885f605fd41dca0d33122be36ae2b11b40408d0687f28c8dd6548fc4b05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090802-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0d9c4da96c64d7a45b94706d264b397325e8b0c15cbeb41df62aeaae359618f7
MD5 807212e23b8262ece2da4fc2a43bba4b
BLAKE2b-256 8943e7bce001a27e920c1683d3e907ad9fa718a0eb30f83ea74eff039ab7e79b

See more details on using hashes here.

Provenance

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