Server-side Python SDK for Eppo's feature flagging and experimentation platform. Current version 4.4.1, requires Python >=3.8. Follows semantic versioning; minor releases may introduce breaking changes.
pip install eppo-server-sdkVerified import paths — ran on the pinned version, not inferred.
Initialize EppoClient with API key and get a flag assignment.
Use EppoClient(Configuration(api_key='...')).
Use get_assignment with expected_variant or check assignment value manually.
Create separate client instances per thread or use a thread-safe wrapper.
Set cache_ttl_seconds in Configuration to control refresh interval.
Wrap api_key in Configuration: EppoClient(Configuration(api_key='...'))
Use client.get_assignment() and compare result to expected variant string.