Skip to main content

Xiaomi SDS SDK for Python

Project description

# Galaxy SDK for Python

This is XiaoMi Galaxy SDS SDK for python, which allows Python developers to write software that makes use of XiaoMi Galaxy SDS.

## Installing

Requires Python >= 2.6. You can install using pip:

pip install galaxy-sdk-python

or download source codes from []() and add the ‘lib’ dir to your python path.

## Configuring Credential

Before using the SDK, ensure that you’ve configured credential. You can get the necessary credential by registering on To configure credential, you may use codes like:

` appKey = "MY-APP-KEY" appSecret = "MY-SECRET-KEY" credential = Credential(UserType.APP_SECRET, appKey, appSecret) `

## Usage

To use SDK, you can import like:

` from sds.table.ttypes import PutRequest from sds.table.ttypes import GetRequest `

We have two examples in the ‘examples’ dir of the source code, users can run these examples after credential configured.

` python examples/ `

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

galaxy-sdk-python-0.1.6.tar.gz (69.7 kB view hashes)

Uploaded Source

Built Distribution

galaxy_sdk_python-0.1.6-py2.7.egg (251.3 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