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

Uploaded CPython 3.10+Windows x86-64

oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-win32.whl (6.1 MB view details)

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-musllinux_1_2_x86_64.whl (23.5 MB view details)

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

oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-musllinux_1_2_aarch64.whl (23.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.9 MB view details)

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

oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824.tar.gz
Algorithm Hash digest
SHA256 2ea70e21e4048c840d691bdee95d47de677b33e18322bc1d8b65d2ee2b3b6bdf
MD5 a9c1c9202879b569acb2d4fe99829be9
BLAKE2b-256 c8dbf38e56dda1f4b414c25300c1d32a7926fb43cba70d8fb826d59ccd8a0c6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e0937be4d755ab82d023bfee7ac8ca8c65d6aaa056bbb9a3b18b13583d1171b7
MD5 a9a8f524bf26f2e41a043cf7f9dfbfa1
BLAKE2b-256 e4ae35cefafa479e86bb6c9dd562a08d6f060501ce6a59d785c4db61c1ca44f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 ffe86d2f66771b3709dafc971246e9f78a668f7fa31bcb7c98dce298d1c7779d
MD5 400a3d25b1db908cd17db25f6b2ec12b
BLAKE2b-256 a324b7c955411160d91cacbbe9c581fd425ab1dc1b037235d4c0a2aeec502b96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9e431c771e59318ddd6f69b1432199ec92ad0141810dd79436556f0278b62df3
MD5 1d383126482ce19898ccafcc590d41a7
BLAKE2b-256 9be8a5a4d7e8d4d4304270bd7a4ab39218cf9ae20fc1bab3d5cfdb511fc6ff89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 14cf0653139304cba41902eab05da2f8c4c94c3ce8f35c287ee00bb5bdb83c1d
MD5 f6bc2ea17f75b19e3c05049ab5160ac4
BLAKE2b-256 da02c45088beba7da11fef9176d8aa71a225dba2ef1f9a3dc75cc01e34e585b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9c43e668948ad876beb6cc9963fae631d066cf28c9bb87c156ec7c31887b67f
MD5 df53976034b5ae08be7260bbfb51b755
BLAKE2b-256 1c7f675382bbff80efa462baff6d6e3878fb21dd3c971eac0670662d85e9b2a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 654acc717d55ca786e51a042a3a53e0de229a37be8d5bcabead9f763c3c8fe59
MD5 235a54c7a9e5eca79f2936729ac37ec2
BLAKE2b-256 79ee5c973c38de0d39b61f1db99f24819f1f2519a84216a95e3db1d8ff675c30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0614ec4b8ba4237b7aafb0ae4098d27267f0077d15b212c530a46cc37916f19
MD5 66fa1ccd7d8ef01bc6aef874ed035cae
BLAKE2b-256 7d40cbaff48f51d15e46a0e43bec4bb3d04e6d75eee08cad26e5cc23160ca6d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609141824-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1f1f31688fc5fe8c258da64da74b3ff7dbbbd19d0acb7e27209d33514e6a9508
MD5 047c9180e3cce82d37134a24644f656b
BLAKE2b-256 c5459cce92b65d72661ea2f59ca683155b91422e6a95939b40ea38dd800db612

See more details on using hashes here.

Provenance

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