Flask extension for python-mysql