The Qcloud Api SDK for Python
Project description
Qcloud Python SDK is the official software development kit, which allows Python developers to write software that makes use of qcloud services like CVM and CBS.
The SDK works on Python versions:
2.7 and greater, including 3.x.x
Quick Start
First, install the library:
$ pip install qcloudapi-sdk-python
or download source code from github and install:
$ git clone https://github.com/QcloudApi/qcloudapi-sdk-python.git
$ cd qcloudapi-sdk-python
$ python setup.py install
Then, from a Python interpreter or script:
>>> from QcloudApi.qcloudapi import QcloudApi
>>> module = 'cvm'
>>> action = 'DescribeInstances'
>>> config = {'Region':'ap-guangzhou', 'secretId':'xxxx', 'secretKey':'xxxx', 'Version':'2017-03-20'}
>>> params = {'Limit':1}
>>> service = QcloudApi(module, config)
>>> service.call(action, params)
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
File details
Details for the file qcloudapi-sdk-python-2.0.15.tar.gz
.
File metadata
- Download URL: qcloudapi-sdk-python-2.0.15.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b4e98d3351d0e010cb75d7856645715b436ce51191d621f207415f6f18fbb9c |
|
MD5 | 764c4a272ceddb1682bdd0d1d42ea0ad |
|
BLAKE2b-256 | 6c7ae18ac766acedd12a4fcadf7f855e07780cdc87bdeb494d94cf6f8d5276a0 |