python-esileapclient
Python API for interacting with ESI-Leap
Overview
This is a client for the OpenStack Lease API. It provides:
- a openstack command-line plugin:
openstack lease
python-esileapclient is licensed under the Apache License, Version 2.0, like the rest of OpenStack.
Installation
To install as a package:
# pip install python-esileapclient`
To install from source:
$ git clone https://github.com/CCI-MOC/python-esileapclient
$ cd python-esileapclient
# python setup.py install
openstack lease CLI
The openstack lease command-line interface is available when the lease plugin (included in this package) is used with the OpenStackClient
The client uses the OpenStack Identity API (Keystone) to authenticate users with an OpenStack cloud and to locate the lease service endpoint (see here for more info). Currently, overriding this endpoint is not supported. Credentials for authentication can be provided via command-line parameters (e.g. --os-username, --os-password, etc.) or by setting environment variables (e.g. OS_USERNAME, OS_PASSWORD).
Usage Examples:
openstack esi offer list
will make a GET request to ESI-Leap and print to screen a list of all the offers in the ESI-Leap database.
openstack esi offer show <uuid>
will make a GET request and print fields for offer with the given uuid.
openstack esi offer create --resource-type dummy_node --resource-uuid 1718
will make a POST request to ESI-Leap to create the offer with the given credentials. Prints to the screen the newly created offer with resource type 'dummy_node' and resource uuid '1718'.
openstack esi offer delete <uuid>
will make a DELETE request to ESI-Leap to delete the request with the given uuid. Prints to the screen whether the command was a success or not.
This repository is currently a work in progress.
Metadata
Release files for python-esileapclient 1.1.0
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 | Actions |
|---|---|---|---|---|
| python_esileapclient-1.1.0.tar.gz | 40.9 kB | Without provenance | Details for python_esileapclient-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_esileapclient-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for python_esileapclient-1.1.0-py3-none-any.whl |
Total release size: 104.1 kB
Release files / python_esileapclient-1.1.0.tar.gz
| Download URL | python_esileapclient-1.1.0.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e192cd847827e68019ad1b33ead5b21702bf2a604be5b78cbde14810c5acf6f8
|
|
BLAKE2b-256 checksum How to use checksums |
4dcc8b29dc822a10eb65320e63413e8e369858b8332294f8ed30c65d1f20470e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / python_esileapclient-1.1.0-py3-none-any.whl
| Download URL | python_esileapclient-1.1.0-py3-none-any.whl |
|---|---|
| Size | 63.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eba10e1cf009356a883da5b47e9d46ce51142499d5e57d28f84245a97600645e
|
|
BLAKE2b-256 checksum How to use checksums |
af344b70ec908209f4fae553c648fd2a1f0f8e455a4e5828234ff47d21b461e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Security for python-esileapclient 1.1.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.