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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825.tar.gz
Algorithm Hash digest
SHA256 86cd1abea4a15e75e8ec05ba0d2b0ff23ff8a93609f1ad7edf852e596afc9f39
MD5 f271e887fcfcfda300a0f1ca1fd01840
BLAKE2b-256 ba0ace385adb02f832d187f18feb950c4de4e41575de446244eca9776e559ec3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b750301c32a31cf56b3599fd71700dc603b3acefb0c414e6d608442ac11ebadc
MD5 f1cc513b912c85ca8fe3c9f4feafa685
BLAKE2b-256 3d6f002ef00f22d4465b0329e69e5e69dd2c8c856422ceda351659ebb2220ea6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 a78e4df29effe13e7f546afb427f9d9a1bb970a546116abe5760e58a70665882
MD5 7b6cda2d36548cb936a13db4006e553f
BLAKE2b-256 4bf6f50e15c33c3061fe9df45dbafd04090298f3a85bf7f9cbfa9b767b37996d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a7df35b7e0e29ae5a66f33f802b798c9fee5468fe13745b7e70b2279db773743
MD5 951386ac6e61078f66ec0d7ff0aaa08a
BLAKE2b-256 4357b3a74a8e459754c965dcad1a52bcd7b0da2f45404ca282f0fde1cd4d35fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 650f176f296be1bf105a2b99abd3e3f4ddf128d279129a64d3a64a37c6d78169
MD5 7ae6cdc8e2dc82858a9cf32530f376be
BLAKE2b-256 4e81b82678a810f8df356bafd77d321d9dfd7d79a92afbca58f287ea1609f75a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f81988c421f26146dc1ef395c3aebab46b994b1346cfabad5ff8985f77913291
MD5 9210030ad12c2f149a2121a76f741ea7
BLAKE2b-256 923a434a8e985bad0d1d635b2313f35221986702868ea90c1ddbb472e84e774c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 690b0c09f58825984c87a6289ad1ee253a225466f2d96612dbfd8744a6236d8b
MD5 a545b03ae99334264397833a8dda3ae4
BLAKE2b-256 b36bbcf4a998d85c068d84b6499f4047d2634d6b86581254c6078b2a480b35ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a6a3f50a5aebe649231d84a9e8d18e7b1816390ebee23874c6487d69641aec0
MD5 206217313870fa055148fd0117d2edcd
BLAKE2b-256 1a9e28c5f8ee90664f2ff4a2739cdfbc8358a7460c4c222fe24bb9189faacf8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609121825-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 736ef282449be24329e3cf15363cfe159246585368343154f4ef9f69f38bcdad
MD5 3e0c0a3739596cf0a46f52b41f2795b9
BLAKE2b-256 b5cf9802bd2ee14e1cb55076866cb1f3b33a23fa6cc697cfd52cb846d2fe9804

See more details on using hashes here.

Provenance

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