The eclsdk is a collection of libraries for building applications to work with Enterprise Cloud 2.0.
Usage
The following example simply connects to an Enterprise Cloud 2.0.:
import ecl
conn = ecl.connection.Connection(
auth_url="http://ecl:5000/v3/",
project_id="Tenant ID",
username="API Key",
password="API Secret Key",
user_domain_id="default",
project_domain_id="default")
vols = conn.block_store.volumes()
for vol in vols:
print vol.name
Token can be used instead of username/password using auth_plugin=’token’:
import ecl
conn = ecl.connection.Connection(
auth_plugin='token'
token='my-fancy-token1234'
auth_url="http://ecl:5000/v3/",
project_id="Tenant ID")
vols = conn.block_store.volumes()
for vol in vols:
print vol.name
Documentation
Documentation is available at https://ecl.ntt.com
License
Apache 2.0
Metadata
Release files for eclsdk 1.10.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 | |
|---|---|---|---|
| eclsdk-1.10.0.tar.gz | 273.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eclsdk-1.10.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 828.1 kB
Release files / eclsdk-1.10.0.tar.gz
| Download URL | eclsdk-1.10.0.tar.gz |
|---|---|
| Size | 273.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b92fac01aed2e60577d44b1d4c9baeade72c5a63c72646f7945ffeed979e62bf
|
|
BLAKE2b-256 checksum How to use checksums |
58faf2225ecf5e6714b996ca06709082a8acd820cd20d58088e7bc08613b94e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / eclsdk-1.10.0-py2.py3-none-any.whl
| Download URL | eclsdk-1.10.0-py2.py3-none-any.whl |
|---|---|
| Size | 554.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
37f76f3cf4c7cc21281a50e7836d55cfe1290989be9270188cd2ab8abf792224
|
|
BLAKE2b-256 checksum How to use checksums |
b559785cda5b80956b900e7ff3380b9b1956017861abb980b5c9259a2537ae27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|