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.barmust 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
Metadata
Release files for cloud-import 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cloud_import-0.4.tar.gz | 3.5 kB | Without provenance | Details |
Release files / cloud_import-0.4.tar.gz
| Download URL | cloud_import-0.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8dd65f39815d898952e6d1bf2813ca8d2886bbfee89e6241767c38510b74e3e4
|
|
BLAKE2b-256 checksum How to use checksums |
e56d3627dba215af7a80b769419782f6642a6e2f377629b4eeae78e1a0508a1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for cloud-import 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.