This repository contains the source code for the blog post:
https://gertjanvandenburg.com/blog/thompson_sampling/
The python scripts in the python directory are MIT licensed, the javascript code for the applets is not. The line graphs were made with the code in this repository.