Skip to content

A python SDK for interfacing with Statsig Feature Gates, Dynamic Configs, and A/B Experiments

License

Notifications You must be signed in to change notification settings

statsig-io/python-sdk

Repository files navigation

Statsig Python Server SDK

tests

The python SDK for server/multi-user environments.

Statsig helps you move faster with Feature Gates (Feature Flags) and Dynamic Configs. It also allows you to run A/B tests to validate your new features and understand their impact on your KPIs. If you're new to Statsig, create an account at statsig.com.

Getting Started

Visit our getting started guide.

Testing

Each server SDK is tested at multiple levels - from unit to integration and e2e tests. Our internal e2e test harness runs daily against each server SDK, while unit and integration tests can be seen in the respective github repos of each SDK.

Run local unit tests separately for now:

python3 -m unittest tests/server_sdk_consistency_test.py
python3 -m unittest tests/test_statsig_e2e.py

Guidelines