Skip to main content

Data-driven NIFCLOUD SDK for Python

Project description

NIFCLOUD SDK for Python

Test Documentation PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nifcloud-1.17.0.tar.gz (120.1 kB view details)

Uploaded Source

Built Distribution

nifcloud-1.17.0-py2.py3-none-any.whl (125.4 kB view details)

Uploaded Python 2Python 3

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

Hashes for nifcloud-1.17.0.tar.gz
Algorithm Hash digest
SHA256 7b1ac03c99f4f6494677c82f5d33424c6d96c1fdd0a62a1803846860e32496d0
MD5 b4bed56cb45d5719dab4530c1f3e7ed6
BLAKE2b-256 cb34bf3a88c915c2e3f34200082d3aab4feab0c7c9bfc1187f89b1e2a39ed39e

See more details on using hashes here.

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

Hashes for nifcloud-1.17.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5efbbe2d0244a67952f925d648d8c21df1fc84c1b27aa703e996e46faceb22ce
MD5 4a4645471f0a95cc21f8b4f7806636f0
BLAKE2b-256 f19965af0b38a78bd7581382a82cfe53ee172d44319ccf2f5b7039a71a98896f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page