We’ve recently added an SDK for A/B testing in Python. Like our other software, this is also open source. The library is extremely lightweight, fast and has no external dependancies- you can use it entirely stand alone. It allows you to easily do variation assignment and user targeting.
Installation is easy with PIP:pip install growthbook
Here is a simple example of how it would work to do a simple A/B test in code:
For more information, please checkout the GitHub project here.
If you want to analyze the results of your experiments, you can use our open source platform here or on the cloud.