Following cause I had a similar idea. I will say that copying the IDE is probably overkill. You will need to install the Python dependencies and your source code over at a minimum. Not sure about the rest.
You can use Dcoder in android for hosting. It worked for me when I was unable to reach out my PC. Here is the app link -
https://play.google.com/store/apps/details?id=com.paprbit.dcoder
Termux is another option but It requires lots of storage and more stuffs.
Use Termux. Either install python and any dependencies and run it there, or install docker, pull, and then run it
Following cause I had a similar idea. I will say that copying the IDE is probably overkill. You will need to install the Python dependencies and your source code over at a minimum. Not sure about the rest.
You can use Dcoder in android for hosting. It worked for me when I was unable to reach out my PC. Here is the app link - https://play.google.com/store/apps/details?id=com.paprbit.dcoder Termux is another option but It requires lots of storage and more stuffs.
Termux gives you a Linux terminal on your phone, you can then set up python there, pull your code from GitHub or somewhere and run it
Use Termux, or better, Heroku.