An implementation of the multi-armed bandit optimization pattern as a Flask extension