Skip to main content

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


Download files

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

Source Distribution

qcloudapi-sdk-python-2.0.15.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file qcloudapi-sdk-python-2.0.15.tar.gz.

File metadata

File hashes

Hashes for qcloudapi-sdk-python-2.0.15.tar.gz
Algorithm Hash digest
SHA256 5b4e98d3351d0e010cb75d7856645715b436ce51191d621f207415f6f18fbb9c
MD5 764c4a272ceddb1682bdd0d1d42ea0ad
BLAKE2b-256 6c7ae18ac766acedd12a4fcadf7f855e07780cdc87bdeb494d94cf6f8d5276a0

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