--- id: statsig-python-core version: "0.21.0" license: ISC license_treatment: permissive maintenance: active --- # statsig-python-core — Statsig Python bindings for the Statsig Core SDK. License: permissive · Maintenance: active · Downloads: 3.6M/mo ## What it is and what it does Statsig Python Core is a server-side SDK that binds Python to Statsig's feature management and experimentation platform. It provides feature gates (feature flags) to control feature rollout, dynamic configs to manage runtime behavior, and A/B/n testing capabilities to measure feature impact on key metrics. The package is implemented as a Rust core with Python bindings, offering compiled wheels for multiple platforms and architectures. The SDK is designed for server-side use and integrates with requests and typing-extensions as its only runtime dependencies. It requires Python 3.10 or later and is actively maintained, with recent releases and no known security vulnerabilities. The package is part of a multi-language ecosystem (Node, PHP, Java, Rust, Elixir) all built on the same Statsig Core, making it suitable for teams already using Statsig's platform. Use it for: - Roll out new features gradually to a percentage of users without redeploying code. - Run A/B tests to compare feature variants and measure impact on user engagement or conversion. - Manage dynamic configuration values (e.g., rate limits, timeouts) without restarting services. - Target features to specific user segments based on custom attributes or rules. - Validate experimental changes before full production release. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Statsig Python bindings for server-side feature gates, dynamic configs, and A/B/n testing via the Statsig Core SDK. Yes, if you are already using Statsig or evaluating it for feature management and experimentation. The package is actively maintained, has no known vulnerabilities, and integrates cleanly with standard Python dependencies. Medium install friction is typical for compiled extensions and not a blocker for most deployments. Not necessary if you do not need feature flags or A/B testing. ## Install pip install statsig-python-core uv add statsig-python-core poetry add statsig-python-core ## Installing statsig-python-core Before you install: Medium install friction due to compiled wheels (cp310-abi3), but active maintenance with a release 2 days ago and no known vulnerabilities. Requires Python 3.10+. Depends on requests and typing-extensions, both widely available. License in practice: ISC permissive license allows commercial and private use with minimal restrictions; suitable for most production environments. Quickstart: pip install statsig-python-core from statsig import Statsig Statsig.initialize("") gate_result = Statsig.check_gate(user, "gate_name") Requires Python 3.10 or later; compiled wheels available for common platforms (x86_64, aarch64, Windows, macOS). Verify before relying: - Whether the package handles offline mode or caching strategies for feature gate evaluation. - Performance characteristics and latency impact of gate checks in high-throughput scenarios. - How user context and targeting rules are specified and validated. ## Package facts - License: ISC (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 3.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags feature flags python, feature gates sdk, a/b testing library, dynamic configuration management, server-side feature control, statsig integration, experiment framework, feature-flags, experimentation, a-b-testing [View on SkillFed](https://skillfed.io/packages/statsig-python-core) · [View on PyPI](https://pypi.org/project/statsig-python-core/)