http://thekirbster.pythonanywhere.com
is where I usually serve from. This is a teaching website, with all source and data exposed. Copyleft.
I've been experimenting with xlm-rpc, for which there's a Flask library. You'll need to get that dependency.
https://json-rpc.readthedocs.io/en/latest/flask_integration.html