Import Python modules straight from the cloud (e.g. GitHub) at runtime!
Project description
Import Python modules straight from the cloud (e.g. GitHub) at runtime!
Installation
- pip:
pip install cloud_import
- no pip: copy cloud_import.py into your project
Usage
Why?
This can be used to entirely skip the "deployment" step for internal tooling, that's not meant for distribution or public usage.
Originally by James Murphy - check out his video "You won't believe it! Import from the Cloud"
Limitations
- No dependency handling
- Fixed URL structure: the source code for module
foo.bar
must be accessible at<url>/foo/bar/*.py
- Bad things will happen if the cloud source code changes while a package (with multiple modules) is being imported
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloud_import-0.4.tar.gz
(3.5 kB
view hashes)