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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901.tar.gz
Algorithm Hash digest
SHA256 f08e1a85c27f5c31696de8ec737ed32db41c5335416a50da4d55ef57885679ea
MD5 a193bff3dd63d859c332f2a32e650e8a
BLAKE2b-256 73149c9b2c6e0d95eb8b41fb30710e42c3e54d08e6b2fd7a6bd79b1e05fc5bd4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 70c23f27d35d7296045b1a138f806346dfcfd96f08493d3331d0db359f10cfd4
MD5 8ea81c5c17ae12562b5845713017a307
BLAKE2b-256 9d69bb9eb14d17afa2749f1ab8468a5354809010d50ac870b16052827567d3c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 b1f49b094204a782c428455257d55c0486fa642539b0f4a491046ff145773ccb
MD5 2c007a4e70f8341ccce112abf21b2ccf
BLAKE2b-256 e4a51abd95fda14cb487d9c8d5af5b6f7bf611d96c6a133a5d1abbb5e50b7d83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c5143392a87330d28dbdea3c1b55c822cffb61cace9f13f334c8b52cdf7d4d81
MD5 12cc0946b7c5d8d2887b7b57ec1d2ff6
BLAKE2b-256 2c3848306f4c24aba6232fb55baa87de330caeac4cd4e551a5e932f77e673f2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 00c3b5744af03e369ff043bbddff35c5d98de5fe5b2ad988350f4009d09cfde8
MD5 ed25a85d1a0280ddfc49fbf8d0d1027f
BLAKE2b-256 a1546fe141d6022bb1670ab3badca99c5ae39591805ba34d2da67ef2dc324c06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 842aa968610e3f0a6c7793b4cf9c3eae06a1b08ed9d688534e740a21694d5554
MD5 d8c3a436ed2029805f6f1a4ee341031a
BLAKE2b-256 2c1bb32ff8d37aaa9b99529aac726f1cdb520b7fa0403b8a65d2704554a1ccd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 df4bdca8ddd557268ee6116fa7f0be43381434fc7670bf63dc7ba8368585c63b
MD5 91194f58e84b0b5ca01524651407eb9c
BLAKE2b-256 8c959e47d46074072d9aca9b33b3662b133ad49a5eb563f144038f32995d5fa2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 519b300440c2ebf809f08642aea00d6bb3688bc33d84a0bcf70f51495b9f6e47
MD5 c61ecaa3daf1509c0b2b9f9fd2748a91
BLAKE2b-256 0bfb0e8713a153450176967d8a8111601a14157c5ce1a0a59c549b7f8b3341b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0a2026090901-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e6ee47b6441be6a393700577cb1431ff606f3d16df4c64e62deb669438aab157
MD5 7e03c701b380118df218e8140e580854
BLAKE2b-256 a4b64e1bf3b2b74e692448f4550980c367bdf37bdcde1e73328aecb7cfb8e66e

See more details on using hashes here.

Provenance

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