Cloudlab Client
This package is a client for the Cloudlab service. Cloudlab is a cloud for academic institutions. Because I could not (yet) find any working API for Cloudlab, the current client relies on username / password authentication and web scraping.
Usage
# Create new client and login
username = os.environ.get("CLOUDLAB_USERNAME")
password = os.environ.get("CLOUDLAB_PASSWORD")
cloudlab_client = CloudlabClient()
cloudlab_client.login(username, password)
# List experiments
experiments = cloudlab_client.experiment_list()
print(experiments)
# List an experiment's nodes
nodes = cloudlab_client.experiment_list_nodes("my-experiment")
print(nodes)
# Request an extension (e.g., for 6 days). Reason must be at least 120 characters.
reason = ("Important experiment needed for research, conducted under advisor"
" <fill_your_advisor>. Particular machines are needed because"
" <fill_your_reasons>.")
cloudlab_client.experiment_extend("my-experiment", reason, hours=6*24)
Metadata
Release files for cloudlab_client 0.1.145
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudlab_client-0.1.145.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudlab_client-0.1.145-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / cloudlab_client-0.1.145.tar.gz
| Download URL | cloudlab_client-0.1.145.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e360f3d702c8739bf2507ab2dd07b32cb5dcd3704ee7f23a411d481ff4e9e46d
|
|
BLAKE2b-256 checksum How to use checksums |
2596d259877075c7e13d5090edc391050b563fb1bd2b36fde079552e0f06c11e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.12.3 Linux/6.17.0-1020-azure
|
Release files / cloudlab_client-0.1.145-py3-none-any.whl
| Download URL | cloudlab_client-0.1.145-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
baad134e5e40130278aff3056788cbdcaca9a0acd78c7e8abfe3d8ffb0d48628
|
|
BLAKE2b-256 checksum How to use checksums |
2621c47ecec05351551812bdb73b050068be49b5ed223682faaa289489cb814d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.12.3 Linux/6.17.0-1020-azure
|