DLoader
load_remote_module_to_temp(url:str, module_name:str, timeout:int)
Downloads a Python module from GitHub into a temp folder relative to this script, and imports it.
Install Python Package
pip install load-remote-module
Parameters:
url
(str): Raw GitHub URL of the Python module.module_name
(str): Name to use when importing the module.timeout
(int): Timeout in seconds for the internet connectivity check.
Returns:
module
: The dynamically imported module.Labels:
src_PyThon_DynamicLoader_load
-remote-module_load_remote_module_DLoader_load_remote_module_to_temp