NIFCLOUD SDK for Python
The NIFCLOUD SDK for Python is data-driven SDK. It works by feeding AWS-SDK-compatible model JSONs to botocore module.
Features
- ✔️ Full support for NIFCLOUD Computing / RDB / NAS / ESS / DNS / ObjectStorageService / ServiceActivity / DevOps with GitLab APIs
- ✔️ The nifcloud package is the foundation for the NIFCLOUD CLI.
- ✔️ AWS-SDK-compatible data-driven architecture
Requirements
- Python 3.8 or later
How to Install
pip install nifcloud
Usage
Write your python program:
from nifcloud import session
client = session.get_session().create_client(
"computing",
region_name="jp-east-1",
nifcloud_access_key_id="<Your NIFCLOUD Access Key ID>",
nifcloud_secret_access_key="<Your NIFCLOUD Secret Access Key>"
)
print(client.describe_instances())
Execute the program:
$ python test.py
Credentials and region name can be also passed via environment variables.
from nifcloud import session
client = session.get_session().create_client("computing")
print(client.describe_instances())
$ export NIFCLOUD_ACCESS_KEY_ID=<Your NIFCLOUD Access Key ID>
$ export NIFCLOUD_SECRET_ACCESS_KEY=<Your NIFCLOUD Secret Access Key>
$ export NIFCLOUD_DEFAULT_REGION=jp-east-1
$ python test.py
See documentation for detail.
License
See LICENSE.txt.
Metadata
Release files for nifcloud 1.17.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 | |
|---|---|---|---|
| nifcloud-1.17.0.tar.gz | 120.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nifcloud-1.17.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 245.5 kB
Release files / nifcloud-1.17.0.tar.gz
| Download URL | nifcloud-1.17.0.tar.gz |
|---|---|
| Size | 120.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b1ac03c99f4f6494677c82f5d33424c6d96c1fdd0a62a1803846860e32496d0
|
|
BLAKE2b-256 checksum How to use checksums |
cb34bf3a88c915c2e3f34200082d3aab4feab0c7c9bfc1187f89b1e2a39ed39e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nifcloud-1.17.0-py2.py3-none-any.whl
| Download URL | nifcloud-1.17.0-py2.py3-none-any.whl |
|---|---|
| Size | 125.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5efbbe2d0244a67952f925d648d8c21df1fc84c1b27aa703e996e46faceb22ce
|
|
BLAKE2b-256 checksum How to use checksums |
f19965af0b38a78bd7581382a82cfe53ee172d44319ccf2f5b7039a71a98896f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|