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

Uploaded CPython 3.10+Windows x86-64

oai_statsig_python_core-0.31.0rc6-cp310-abi3-win32.whl (6.1 MB view details)

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.31.0rc6-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.31.0rc6-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.31.0rc6-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.31.0rc6-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.31.0rc6-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.31.0rc6-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.31.0rc6.tar.gz.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6.tar.gz
Algorithm Hash digest
SHA256 d931236e4df7b2ce44e185019a10542578104a829854a0eea6dd335beda47aad
MD5 118b7fbb8f40fad8d6c3d3234405663d
BLAKE2b-256 c932fe2655348818d058d28c41e86054558cc345aa676a821a641d7bce95e99b

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6.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.31.0rc6-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b904e59c1d8a20674beef36877025133b5726c0105cd18be16f3e8076df7bc01
MD5 efddcd52be5e8568e955e73e92743966
BLAKE2b-256 d60e100f310db35e6f45bed0842fc3716cd9548642155fdfbd36b2232850de23

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 0c62182d6cc4cac59bfc3de0d2290edbcff7ac1cd35d4d17cb95705940db2ee2
MD5 f4f945077d25b6edb1a8462f53d424c9
BLAKE2b-256 f93d94ad03c68d9b1b27c09e21c49386ae672376175637ef715ced67af788559

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b66c0d81efd6c6fcf929bdd915a33102d4a1db810c09895c72e719ba9b312f38
MD5 a3aaf91d07e06cc6543f1085a307d6a7
BLAKE2b-256 7d6fb1c841e1b17668565776efe003949738edeb39394aa543fa99508bb5bf87

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a1b1a1458b409b9472a4a938a178251c6594ba07acbb7e20cea0646f159472fd
MD5 299a7214e810e26adaad37823d32ab4c
BLAKE2b-256 a20460b0096d578c2dd71b4377b71300dbb16ee6f571656d601de0c84eb8a0e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69683f6c097e6d1429689a24a6f0d714c46d0d6a7e3e2833dd1e1fcd19dc9576
MD5 022599ea82752047222a166235477774
BLAKE2b-256 da49b7ab1c6d26458d6884f264be58235eea32829a98681cab8ec44c671b3bcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 005a2f3cd24e99cefbc8a2ddf3dbb06fd7cf75b7963f2b7a8a5860ba85b79d1e
MD5 130fadef5b84fa8d7d0ad7028374f461
BLAKE2b-256 cb35906c33f10b44c9807bb46aa27a977f67ece594606bbc8975e6bbee321bb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7bb3d64a60f7c607e8de90a30f4b38f258618ecd6dc4648736db449d4cb3a332
MD5 435b7c7bbc7579aafee2fd26db7f675e
BLAKE2b-256 592985e86e869d43a1bac8870cc4b40fbc3cca77bfe26ce8471c91109cba313d

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc6-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1d3baff288dfa9105c30863f7a1f8f37f083da392bec1904e2430b9a9f277f47
MD5 3dab5eb5b92885a334345dd829692a87
BLAKE2b-256 8b9513d4971a0c34e0fcebcbfc6ef731bc5ef1508741931a4be815e49297b62a

See more details on using hashes here.

Provenance

The following attestation bundles were made for oai_statsig_python_core-0.31.0rc6-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.31.0rc6 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