Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Xiaomi Galaxy SDK for Python

Project Description

# Galaxy SDK for Python

This is XiaoMi Galaxy SDK for python, which allows Python developers to write software that makes use of XiaoMi Galaxy [EMR/SDS/FDS/EMQ].

## Installing

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

pip install galaxy-sdk-python or easy_install galaxy-sdk-python

or download source codes from [https://github.com/XiaoMi/galaxy-sdk-python.git]() 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 http://dev.xiaomi.com/. 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/basic.py `

Release History

Release History

This version
History Node

1.2.6

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
galaxy-sdk-python-1.2.6.tar.gz (153.7 kB) Copy SHA256 Checksum SHA256 Source May 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting