As was already mentioned, you'll need some kind of dynamic DNS setup. I use pagekite.net to expose my Raspberry PI webserver to the public. Pagekite is pretty flexible. You can expose quite a few services running on your server. HTTP, SSH, MineCraft server, even directories on your server using the built in web server for Pagekite. It does cost money but it's very affordable for what it offers.
I’d suggest using a third party DNS router. My favorite is https://pagekite.net/. It’s basically a python script your keep up perpetually on your home machine and it will expose whatever ports you want at a fixed address, even with a shifting IP.
The only thing I know of that does this is PyBreeder, but it might as well not exist because it's not Python 3 compatible as far as I know.
But why do you want a preprocessor for Python? Splitting up your code improves readability and maintenance, and I can't think of any benefit to doing this for production because we usually use packages from PyPI or Artifactory instead of downloading random scripts online. And even then you could just create a zip file.
Honestly, what I would recommend looking into is PageKite. This is a program you run on your Web server, and it connects to either the developer's hosted cloud service, or another copy of PageKite running on a VPS you stand up yourself. The VPS (or whatever) is exposed to the public internet, while your internal Web server is not. The Web server opens an encrypted, VPN-like tunnel to the VPS to transmit data through. The best part is, if you are stuck with an ISP that has no concept of net neutrality, you can use PageKite to bypass its blocks on incoming ports (although if you're a homelabber, you probably already know how to deal with that). This program is written in Python, works on Windows, and is fully open-source under AGPLv3. Disclaimer: I've never actually used PageKite for myself (I am very new to the homelab world; this is in fact my very first post here), but I love the concept. Hope this helps!
There are many options for hosting that support python to one degree or another, but the most flexible option would be to get a virtual private server (VPS) so you can configure it to suit your own needs.
I've had a good experience with DigitalOcean as my VPS host, but there are many others out there that would work as well. Otherwise you could use something like PageKite or DuckDNS and just run them off your home computer.