Is it possible to import
from a remote directory? What if this directory is online?
The use case I'm thinking of is to have a single pure python "utilities.py" file hosted on a remote server, and to use it in different python environments without needing to download or install it.
Something in the lines of:
from https://remotegit.com/user/utilities import tool
Or even something like..
import remotegrabber
tool = remotegrabber.from("https://remotegit.com/user/utilities").import("tool")
If this is possible, what would I have to do to enable it? And if it's not possible, what is the recommended alternative when dealing with my use case?