The Joy of Under-Engineering
hamvocke.com
hamvocke.com
There's something to be said for under-engineering, even if you're using higher-level frameworks. It gives you an idea of what the tools are doing under the hood, where they could possibly go wrong, and how errors can be fixed.
Nah, if you're gonna go minimal, youve gotta go all the way.
Expose that little Pi direct to the wild Internet. Do it.
Enable port forwarding to send traffic directly to it. You can even configure iptables yourself if you want.
Don't forget to configure nginx, because the default config won't save you where you're going.
Nothing but you, the Pi, your Python app, WSGI and hundreds of millions of bots on the Internet ready to destroy it to pieces.
Just like God intended.