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

Uploaded CPython 3.10+Windows x86-64

oai_statsig_python_core-0.31.0rc3-cp310-abi3-win32.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3.tar.gz
Algorithm Hash digest
SHA256 f8e2ad1c96ac3c0572fe99b5b8f65b0f0d9f619db17f610b837e74a7e4785b41
MD5 fcf52c6f8d8778448811d4d492d715e8
BLAKE2b-256 0e8eabd1639965214212447df10b1260a9d2974eae83f2aef277d3481ec0412e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ebce48e84f4a861b82575abb6a86a2f5462737c82f09907af1957ae51f66c185
MD5 098a6c930809fa61e424b6c3f06c9a35
BLAKE2b-256 9c304f68df30a42319422c85dc624363bb0802ff9db395685689d838f74c0568

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 3f903d8bf379b80a709112bf4c750fa87a82bf6ecec003eb44699781d527ecbc
MD5 4fe996755ed070db44fb2b5c802cde0f
BLAKE2b-256 ec7275aad24f57f7915c1620147c12a3d4509bf08fffd05fca2d775907acc133

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f7a2f95300bb459dad8c5a24d8370e72e471357c8ebc1e80c7225469c09632ad
MD5 db6c0eaf068cc7aa0e796bf31bcf0192
BLAKE2b-256 23358f688418efcd0a112d7d5c62e3fa429f91eed5d8609e91d807b45460af8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e837c9884f8768ac802b9faadfadf803f9aa162629cf0cf91e277b5e1b77539f
MD5 167cd56c86d845fe623306155b48f46a
BLAKE2b-256 b64d0d858997f17fcdd16217ecdc476def259b8bc82b1567b6ad27de1bbadecc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 029cf7c82c61784f29f33465bbb02eb29c9c34d944a2af7b89e6dec31564ecb5
MD5 72fd7032e1b11215ff716256e07504c6
BLAKE2b-256 c31300a3a9c272759388aab4ffde9f7982c302552d677aeb0c9ef608b40773d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 486d090623164ef9edca54503e3ca1d935b9e79996bc176a68f86acbec9172da
MD5 86a1558cca71738199451cd93a8b68d2
BLAKE2b-256 5b59f78e83b244d62cac59c706f8a99e647be54eed659e45297de63fc95875fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21b640e526ef54ae898c973dcc6a37c09c83336d689068e49824cec1c53860c4
MD5 4bae5fd7872e4553efe65183bd214ea8
BLAKE2b-256 0775e70b5d87fca898a5ed12f9d1240916de9c1620d2363fbca21cb8434c9721

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7babd14abd356cd94e59c43fef1065b832f3ba9c616f1145f999fd780747f61f
MD5 3c0832bfd3c9d3ff1638309cd75b65ee
BLAKE2b-256 0aee04475769601927cf3e99b18f8fd39a8eec92aa6a285c981e04042cedbceb

See more details on using hashes here.

Provenance

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