Skip to main content

py_nifcloud

Description

python から NifCloud の REST API を実行するための sdk です

Requirements

このプロジェクトを実行するには以下が必要です:

Install

pip install py-nifcloud

Preparation

config file

ACCESS_KEY_ID と SECRET_ACCESS_KEY を含んだconfigファイルを準備してください (デフォルト: ~/.nifcloud.yml)

ACCESS_KEY_ID: 'your access key'
SECRET_ACCESS_KEY: 'your secret access key'

environment

ACCESS_KEY_ID と SECRET_ACCESS_KEY を環境変数に設定して準備することもできます config file より優先されます

export ACCESS_KEY_ID="your access key"
export SECRET_ACCESS_KEY="your secret access key"

Usage

NifCloudClient

from py_nifcloud.nifcloud_client import NifCloudClient

client = NifCloudClient(service_name="computing", region_name="jp-east-1", base_path="api",)
params = {
    'Action': 'DescribeRegions',
}

response = client.request(method="GET", query=params)

ComputingClient

from py_nifcloud.computing_client import ComputingClient

client = ComputingClient(region_name="jp-east-1")
params = {
    'Action': 'DescribeRegions',
}

response = client.request(method="GET", query=params)

Contributing

PR歓迎

Support and Migration

特に無し

License

MIT License

Metadata

Release files for py-nifcloud 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-nifcloud 1.0.0
File Size Uploaded Provenance Actions
py_nifcloud-1.0.0.tar.gz 6.5 kB Without provenance Details for py_nifcloud-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-nifcloud 1.0.0
File Interpreter ABI Platform Actions
py_nifcloud-1.0.0-py3-none-any.whl Python 3 none any Details for py_nifcloud-1.0.0-py3-none-any.whl

Total release size: 16.2 kB

Release files / py_nifcloud-1.0.0.tar.gz

Download URL py_nifcloud-1.0.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aa11860ccd70bf8c04d3ef0c2d0621f32233edb93da7b48df6706307f5c97669
BLAKE2b-256 checksum
How to use checksums
cf7d1e97dc778848dc48f6f0946dfb262acad4796ce2222a8d36e7736edb6180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.12.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

Release files / py_nifcloud-1.0.0-py3-none-any.whl

Download URL py_nifcloud-1.0.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a096249a4f18544cb6c28b3ddf585101e5c592538f41cdfeee8b1821ed341700
BLAKE2b-256 checksum
How to use checksums
6aaf4d339c107aae7bcb8470312d8a576cd2513fc4ea36be7efac99ef3ad08a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.12.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

Security for py-nifcloud 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page