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.0rc7.tar.gz (2.3 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.0rc7-cp310-abi3-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

oai_statsig_python_core-0.31.0rc7-cp310-abi3-musllinux_1_2_x86_64.whl (23.7 MB view details)

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

oai_statsig_python_core-0.31.0rc7-cp310-abi3-musllinux_1_2_aarch64.whl (23.2 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

oai_statsig_python_core-0.31.0rc7-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.1 MB view details)

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

oai_statsig_python_core-0.31.0rc7-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

oai_statsig_python_core-0.31.0rc7-cp310-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

oai_statsig_python_core-0.31.0rc7-cp310-abi3-macosx_10_12_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file oai_statsig_python_core-0.31.0rc7.tar.gz.

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7.tar.gz
Algorithm Hash digest
SHA256 289d6d65f04ea935cd237e5fc004de57901b53b9a69d940a2d76dad89c7c11da
MD5 3fe2b46e267fe4897f7e99d8dd23e8d2
BLAKE2b-256 1c321b6530231001f8fca378b8162ac21fadfb49df9ec8a6046dae648857fa31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f4f8eecdf15403ec7c8cf1d1851921f4f8b6b0dcd7037ec78fe02fa47da37b02
MD5 2f49aeac0520b9a122f1e45a46044ccf
BLAKE2b-256 a15a20bf57baa0e952970e3a7ac6b6acdc2c22cf751085ae9fbfbf18f13fefe9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 2687244f9622f4d54132f41d7643360e5147517e9352d120718ec81e2855a650
MD5 d8046558c4a2696e93c99985233d855a
BLAKE2b-256 c4b2687407e15489a29c115bb9a446ea81f184cee3554a44ce9e96c77e3abc66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ce09aa6a7e0ce1d601c59f8b66b70006eb01cb335e2b4dd567cfa31149c6971d
MD5 ae451fa61278d487c984caf99e978581
BLAKE2b-256 e0ce13c90b353c8d23c4c83d62c36e05c1bd12590b6067fd015bbb81b60a7a21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a2706507d787aac899124b2a4d55f7c3bb548bc7d0f0769613268c90d4941714
MD5 393b0b6d90c65e3f3269d20cf146f721
BLAKE2b-256 93a4cc3f568b070f6f5c394acceff53fc5b6a08e0c6b543b0882161a154c075d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 04ab5848d85e135855d0a6f459c459e9d8aa3e317d507ffef923a67888988bb7
MD5 fa1407cc6ee29151d56f6632d1d6c5b2
BLAKE2b-256 8395e4c17bd558f7eced2ee812b94433c2662b8d44bf2c34b8bbdf2687b0fef5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f7503eff3824b3d14d6f7429f01ab35eaf8cc94bcffabd31c7fc82bdeb48f9db
MD5 6bdbef8e648f5a6dcd24ae1c13440a0f
BLAKE2b-256 58b1480bf0873e5b3028cc0e563d64e733f0f5511786f433e55b56880bedd52b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53625ad3ad6821ea442b44f2e92e507b0d09e8971575e60c7cb001917a27786c
MD5 21c38ee83a33030c0f290515e5a2f525
BLAKE2b-256 ee848cf6716903e2b7471044e3c4bf692de14a00d655af2f1a16a643bce35759

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc7-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5ad90d819a986ff958f94a507db2d62a6e1a872b99f9c89ecd69ea8a064bb3c7
MD5 52a38785f948739a361e73aee71fecaf
BLAKE2b-256 d58fc7fec382e27380973abef0cdf20f1e1dfb62d19c7043dbda260f13b06bb9

See more details on using hashes here.

Provenance

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