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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-musllinux_1_2_x86_64.whl (23.3 MB view details)

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

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315.tar.gz
Algorithm Hash digest
SHA256 bab77edc409ef426e99193c37548b29589d15e10dc0302c80ab6ebebdf180fa5
MD5 80910f2a2e7b2409678dbabc1548dfaa
BLAKE2b-256 bc61017db725ec8de8d2125eefded6ff78d5eedaf5d3ea399d06450fdc2f74c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1310b50c37931bcbdbd3c49352f7962e470eb14f9a1ac5a1af56748dd541d82f
MD5 2904e037e12b4e95b4cc76b1e332b78f
BLAKE2b-256 6d6bc51e8f56251686516df92539aab5b16a71edb773538a2ecc8ec7b350e882

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 907b2efec25dfdbb50a78690b14b2412fd2e01806e72a7bb93bd1602d0d28f99
MD5 09e700e74edfedc4259e59898901dfa2
BLAKE2b-256 98edda530aa13926354c020696a7f96114bc7ecea312fe326decf9793ba008e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b8910fef60ee3877d0630799722b3d04c5f87388ac49ff50f628a9a798715109
MD5 9e29df2ef60623e6aeb04106903f57bb
BLAKE2b-256 84f804326c25e86693f0ee5fb013f80d0087124f93f950adc3b42f89db9844c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b1c6a3695eba5c10d5146fa2291df507ff07003ba7f16852e10822da9d039b6f
MD5 48ffa965b6166c7c571f8dc05970dfc8
BLAKE2b-256 cc5c1c4769d5fab69e7a57382790ae9712606f8c38a10bd5733fb763d4b841e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 feb1e5e06b6b7517872cffb3c5e785f84977dbc610c448765ca295c34503ee68
MD5 7adec135b267961dca863901b04133b5
BLAKE2b-256 d1d89dd7773682188c468f3c45eea130028201652e613f1ebb7d88f6e3a38d30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 253828f76f750da9a2af30d576fa8093264628a08994b6d1d31c1e455ae7ca2e
MD5 d199215b093443afacd6b64f1b83d4d1
BLAKE2b-256 49aa1ac844cebe51b36f9fd908138aa8ee9f5b8a72d1d917bd8ebb4c1a45a37e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4ae43495867592ad4051e47ad29cfa84ea2219f36334eb0f199ac744244a6493
MD5 ed71b00c275331ad0bfe38dc8200195e
BLAKE2b-256 1b68e0da77f60c63950cce8831f09d024ce039c777f1434c79bb6506472b7dcd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.32.0b202609071315-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b2f7b83c98434a910708bf78d073e46ae93b6d6a9f5734b040d3d97bd72f0a59
MD5 15b5fff777e95d9503a4df5637f44057
BLAKE2b-256 60011eb81e0de4113e1c63605747170a63f34e805ffa26ea3c846b159eb72cc6

See more details on using hashes here.

Provenance

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