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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2.tar.gz
Algorithm Hash digest
SHA256 41f482e22cb66a246741595d9414497706c342e3d48cf0d96a02fe59da3743e9
MD5 049c7f37cf897050695531fc257f0b17
BLAKE2b-256 db13635a972f75f3c322281bf25ba4bf4240e09a15c637dcd7aed6cb8fa6670e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bdc4f853701d83ca0cc530edb5c5364963646ac8481a26e1db17d2bf4442b241
MD5 e9e0fec10cba4d3b942b6ca1a8fad7a3
BLAKE2b-256 a9c23d998cbd7fc68f660da92a2acb1e90b03e02441941c267ab512d816b9225

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 23b027bf8dd2495a2c9b31296a3f043d134383e604639af06c39785dab3aee4e
MD5 e5bfafebb8f23d871eac37696db87fc6
BLAKE2b-256 201084a85b6fae1fdf0b21087b26aa57eac8dbf21d9924180df7860d04ce37ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e262dfbc1d6e2aac47cbee88f659ecf3375d67056e6c866482eb25025650528c
MD5 179a3b64951b5c1df11c29ab01e39eb3
BLAKE2b-256 2f3f17f6b3b6db4918cde4e861beeeacbb68400a95c0b1b3668a184808e18c00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a304a71632ce2b83fdf498c13b9f7e3480766cc7ff65e2ab2cffc370b35798ad
MD5 1aa7142c4f90ae19fc1a39a2603771cd
BLAKE2b-256 c5db22cd7d92ba2db0d7d8892e91c93d49c02761dbadb2607a0f546d1c40f793

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7afed6b8098ed941b36925b4cda26987d3d04b4c66b48cdf6538efb873f3193b
MD5 19fcd47c943b905b7538b80b81510540
BLAKE2b-256 180e14410cf874991910f65f64e9bfe0341965abe7510811bc36e463337afa37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f15eabcc426d02daedfe1694b2d41afb77f097d53b89da0288de66758969bfc0
MD5 d8076af2ec5ec9371c7d94b68c1cb13d
BLAKE2b-256 39469400d244b6cc3eee0ea1d2d4c4df8f92b4d02eff394b7736153ce187c145

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 513c623a083d33d11d9cdbb70dc3f072d39f455d7775ec8c3bdec76752351382
MD5 7c5bef8f3277c67500a73d233224c195
BLAKE2b-256 6768286bda011399cfbcbec6befa38dbf302691942278ac8016ae5abfa0085a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oai_statsig_python_core-0.31.0rc2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2133205178658b55b7eb1b486d5af97f9e2142082bee5c213c85ef7a3f8cc9fa
MD5 87217a5417a5d077303c5187a16144c8
BLAKE2b-256 6f5266a5004382b34fab19b5d3bfb70d78b3c58922ff8647350345db1b6a5629

See more details on using hashes here.

Provenance

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