Import python scripts over the web!
Doesn't check if it is a real python script, do not feed it a RANDOM website. It will bite.
Linux/MacOS
python -m pip install git+https://github.com/Bod-Studios/Bagel.git@main#egg=bagel
Windows
py -m pip install git+https://github.com/Bod-Studios/Bagel.git@main#egg=bagel
from bagel import webImport
MYFILE = WebImport("https://someurl.com/funscript.py")
import bagel
bagel.config.ConfigObject = Config Object -> you create
from bagel import webImport
test = webImport("https://pastebin.com/raw/rtTstHLB")
hi = test.Hello()
from bagel import webImport
test = webImport("https://pastebin.com/raw/EyPw4KUn")
print(test)
It is very basic, all you need todo is pip install -e .