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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.31.0rc1-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.31.0rc1-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.31.0rc1-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.0rc1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1.tar.gz
Algorithm Hash digest
SHA256 85de8bac464acbf255ec7035ff64fc752f7131adf1e69ffa58325b8ecc45929a
MD5 ec57382416bb427e366bf426022a308b
BLAKE2b-256 d1741b674b07e2d58116b5c45e6d9118ccb4fc5b02c7ae1b3cf54d81e5b37218

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 62c0ffd8b087c031612852a4c0f8720ca9e2c652b867576076ecab966b3dcb9d
MD5 7616cf260c690a2c71769362115b23b5
BLAKE2b-256 206c81f49dccbc82e6fbba44205327742764294759707301291ef5757ec92de7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 50e4ecf5cb6836d3c5e6ebcbf4fbd62c41677b3e2c6839553aaa62780aad7469
MD5 bc0580e2c6430eb91599701a5b88b4c8
BLAKE2b-256 f6a9f9ba00b29f4de97dd9217d2c6098ea9abc2ac410274b9e3d28f234e6c4c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 60aaa2a63480b3aad556d4decaf95fba4f53258e20c4aebb721c4477a5f91aaf
MD5 0c2403e29f5283acc7d30a4427d50132
BLAKE2b-256 01b33f5391af49dae6ade47be07842ba930a590a2eccbc09c03f48c662d6e26c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f494dfd8fcb301ced336eb746a80c875dafec3fccbf41b82c37efc34775ea498
MD5 d027d25e6fc5432bd82440e27f18345b
BLAKE2b-256 c7a200a4531b738b622479e8c65aa5c88dfcb242fe4e765c5b65009b1852d5ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c31e9aa46e3cd68e656eacbeaef6bd6171a0c0d3e14d6dde2b9d310fec2ea97
MD5 b9eb13bf49031ad15b3d4643e0d06193
BLAKE2b-256 2a2233f15bff00deb7d89fa1a11909c03716fe90b2dcd39ea1f7086b09631eee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c6a61f962a9befcacce9115ded6b5c4fe06d80c4815a96c4c968c688fbe8f77e
MD5 c57af41a534af57462af258f18b3cc4c
BLAKE2b-256 4a86258dd7011625016fab33681b821587c3cf9eda87e1a083674fb8b7526c47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef363445b7c2d0114a14b9fa6295b9c12084c8bf94df7f8e91f870ae6857b9a0
MD5 8564533015313ff163b69278076c0553
BLAKE2b-256 a366ab0e7c77f456694c7f24e30dbf6681247896fd84e7ef96447ace25b6c9d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a050ba954fb6513e4c5a45a394038478033cf7749a998d6ca8cbb94b7aac662b
MD5 f971e6c6276a771e03f7a360b45ef767
BLAKE2b-256 afdb69e301d95565e1e6b78e9545d964b40e863c5d51a480b6f6d9cbc3c7d3bf

See more details on using hashes here.

Provenance

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