growthbook-python
growthbook-python copied to clipboard
Powerful A/B Testing for Python Apps
In the case where a field used in variant assignment has a value of zero, the function `_getOrigHashValue` will return an empty string and claim that the hashAttribute value is...
When performing `load_features` network requests in python, it is better to use aiohttp library to make requests that won't block the main event loop on server code.
I am trying to integrate Growthbook with FastAPI app by following the repo readme documentation. But getting the below GrowthBookClient import error: `ImportError: cannot import name 'GrowthBookClient' from 'growthbook' (/usr/local/lib/python3.13/site-packages/growthbook/__init__.py)`...
Hi team, When is the pre-release 1.2 planned to be released on pypi? We need the SSE feature for better resilience. Thanks
This PR adds support for AsyncIO based sticky bucketing, caching and tracking. To do so, it introduces an `AsyncGrowthBook` class (and corresponding `AbstractAsyncStickyBucketService` and `AbstractAsyncFeatureCache` classes). Addresses #28
We would like to use sticky buckets in our integration with Growthbook. However, as our services use asyncio for all database drivers, it is not straightforward to implement `AbstractStickyBucketService`, which...
## Summary - Fixed 403 error occurring in `load_features()` method on self-hosted GrowthBook instances - Added proper User-Agent header to HTTP requests made by the Python SDK - Headers now...
This PR introduces asynchronous feature caching support, which is critical for the asynchronous operation mode of the SDK (`GrowthBookClient`). Utilizing an async cache (e.g., _Redis_) significantly reduces latency and API...
In this PR we * provide remote evaluation functionality, * add function for post request, * add track data for observe evaluated data