httpimport Remote, in-memory Python package/module importing through HTTP/S A feature that Python2/3 misses and has become popular in other languages is the remote loading of packages/modules. httpimport lets Python2/3 packages and modules to be imported directly in Python interpreter’s process memory, through remote URIs, and more… Examples Load a simple package/module through HTTP/S >>> with httpimport.remote_repo([‘package1′,’package2′,’package3’], ‘http://my-codes.example.com/python_packages’): … import package1 … Load directly from a GitHub/BitBucket/GitLab repo Load a python file from a github-gist (using this gist): import httpimport url […]
Read more