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.

Files for qcloudapi-sdk-python, version 2.0.15
Filename, size File type Python version Upload date Hashes
Filename, size qcloudapi-sdk-python-2.0.15.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page