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.

Read-only data stores

Rust data stores can override DataStoreTrait::is_read_only(); Python DataStore subclasses can override the synchronous is_read_only() method:

def is_read_only(self) -> bool:
    return not self.is_leader

The default is False, preserving existing writable stores. Return True for a follower that only consumes shared cache entries. Bootstrap/polling reads and config hydration/evaluation remain enabled, but full network responses no longer build or compress hydrated cache snapshots or call the datastore's write methods. Delta responses continue to skip snapshot writes. Keep the role stable during an update. A failing Python capability check is treated as read-only.

Packages

Python protobuf-typed reads and explicit publication callbacks are described in Python typed configs.

Bindings

Community

If you need any assitance or just have a question, feel free to reach out to us on Slack.

Metadata

Release files for oai-statsig-python-core 0.32.0rc6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oai-statsig-python-core 0.32.0rc6
File Size Uploaded
oai_statsig_python_core-0.32.0rc6.tar.gz 2.3 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for oai-statsig-python-core 0.32.0rc6
File
oai_statsig_python_core-0.32.0rc6-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-win32.whl CPython 3.10 abi3 Windows x86-32 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
oai_statsig_python_core-0.32.0rc6-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 127.9 MB

Release files / oai_statsig_python_core-0.32.0rc6.tar.gz

Download URL oai_statsig_python_core-0.32.0rc6.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6de533fa3d0f88749cba67bdf80e43157f179b92cf05eca8819ec057628a1f27
BLAKE2b-256 checksum
How to use checksums
dcd1991019b5023e21eddfc7fdb8efa0d139e06fc4e45a9497fe908862fc7fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-win_amd64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-win_amd64.whl
Size 7.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
760779bfe9ab7923bfe948284131b49d378f6a475b7c90eb8c6ab3cf42d7d258
BLAKE2b-256 checksum
How to use checksums
5b0f0965e52356dcd83dde0f7ea58970acc743e30e3ac35d0a84dc00d4b62f9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-win32.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-win32.whl
Size 6.3 MB
Tags CPython 3.10 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
16b61675d40054d35cb9f744a67bb963c84ebbf9a9b69281356a74fa94e23b95
BLAKE2b-256 checksum
How to use checksums
f05b7906a02b710ac2eb849e299f32a84124bb6de5e369511ca5b0c33782fb53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-musllinux_1_2_x86_64.whl
Size 24.5 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
9b8dbc2e12d41531428600433d56445299e93f34d24977ea7bb7340a7812b657
BLAKE2b-256 checksum
How to use checksums
8964d81bf5bebbab5f04a75c4e7d8a3761848b8693bab6c91e9dcd373f24c6a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-musllinux_1_2_aarch64.whl
Size 24.0 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
fe0b9f377d28308e93c226c1a6ca4d5cf0f89991482efe2630cb2d85ef437c85
BLAKE2b-256 checksum
How to use checksums
2dd725a5f2e9614050b9114928235203ec5e494d12eafffbf4ea3834fb47480d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 25.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
04576fd12595af21807ec8ef1b91924a001f7ee76c9c95f3a9078e13cbcf87c1
BLAKE2b-256 checksum
How to use checksums
1a43b871cccf85602ee40eb803ed2e16ed83293379a907b2f84b1a92244336e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 23.6 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
f7824ef13acac5c412c376e8903839109aa7a50b1af22c55bd0ce05d87d58c91
BLAKE2b-256 checksum
How to use checksums
ce78721bffc811b43ee6081236dc605bb7693190c71bafb00731f94032543aed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-macosx_11_0_arm64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
10daaa7845ca6058a64484fb6dc0bced223b8f0c4912cbb65233c7d4c754b59f
BLAKE2b-256 checksum
How to use checksums
439384270474b35bf6c5e48b817b1742eb30e1340a40de7897c12d6c707395ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / oai_statsig_python_core-0.32.0rc6-cp310-abi3-macosx_10_12_x86_64.whl

Download URL oai_statsig_python_core-0.32.0rc6-cp310-abi3-macosx_10_12_x86_64.whl
Size 7.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
64a7128e92e57abb4287143c592735148a00167a1eacf4ea5ecb950e00213a81
BLAKE2b-256 checksum
How to use checksums
fdc8fa8abca53095ecc7b5b4b2fbbcafcfa4fea8f6fa9884665121339f6676ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.36.0

9 release files

This release

0.32.0rc6 This release

9 release files

0.31.0

9 release files

0.28.0

9 release files

0.27.0

9 release files

0.26.0

9 release files

0.24.1

9 release files

0.24.0

9 release files

0.20.0

9 release files

0.19.4

9 release files

0.19.3

9 release 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