Data-driven NIFCLOUD SDK for Python
Project description
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
- :heavy_check_mark: Full support for NIFCLOUD Computing / RDB / NAS / ESS / DNS / ObjectStorageService / ServiceActivity / DevOps with GitLab APIs
- :heavy_check_mark: The nifcloud package is the foundation for the NIFCLOUD CLI.
- :heavy_check_mark: 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nifcloud-1.17.0.tar.gz.
File metadata
- Download URL: nifcloud-1.17.0.tar.gz
- Upload date:
- Size: 120.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b1ac03c99f4f6494677c82f5d33424c6d96c1fdd0a62a1803846860e32496d0
|
|
| MD5 |
b4bed56cb45d5719dab4530c1f3e7ed6
|
|
| BLAKE2b-256 |
cb34bf3a88c915c2e3f34200082d3aab4feab0c7c9bfc1187f89b1e2a39ed39e
|
File details
Details for the file nifcloud-1.17.0-py2.py3-none-any.whl.
File metadata
- Download URL: nifcloud-1.17.0-py2.py3-none-any.whl
- Upload date:
- Size: 125.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5efbbe2d0244a67952f925d648d8c21df1fc84c1b27aa703e996e46faceb22ce
|
|
| MD5 |
4a4645471f0a95cc21f8b4f7806636f0
|
|
| BLAKE2b-256 |
f19965af0b38a78bd7581382a82cfe53ee172d44319ccf2f5b7039a71a98896f
|