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 hashes)

Uploaded Source

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