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.7 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.15.0.tar.gz (119.3 kB view details)

Uploaded Source

Built Distribution

nifcloud-1.15.0-py2.py3-none-any.whl (124.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nifcloud-1.15.0.tar.gz.

File metadata

  • Download URL: nifcloud-1.15.0.tar.gz
  • Upload date:
  • Size: 119.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for nifcloud-1.15.0.tar.gz
Algorithm Hash digest
SHA256 0e1af7551bb6950ace64c39663858b40596497b32b0bde820f9850d61635a5ba
MD5 96438d9350595a2588f0965a6ee25080
BLAKE2b-256 7be60f90c4862ba73cfe9cb7f8148db6c576110e1e91be3b3bfaa11e3d6ec3c6

See more details on using hashes here.

File details

Details for the file nifcloud-1.15.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nifcloud-1.15.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 124.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for nifcloud-1.15.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e0d02380f4b848576269727c23133ef006ef31d9f7c30c1e7f0f10017b8afcfb
MD5 2cf2c5d3fb3bb337eb9c45352d03cba6
BLAKE2b-256 8c20f393cc312029cb8b2191fe58d346777ffcff1cb9defab1df612a66ca8313

See more details on using hashes here.

Supported by

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