# 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 `
Metadata
Release files for galaxy-sdk-python3 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| galaxy-sdk-python3-0.6.tar.gz | 146.9 kB | Without provenance | Details for galaxy-sdk-python3-0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| galaxy_sdk_python3-0.6-py3-none-any.whl | Python 3 | none | any | Details for galaxy_sdk_python3-0.6-py3-none-any.whl |
Total release size: 346.6 kB
Release files / galaxy-sdk-python3-0.6.tar.gz
| Download URL | galaxy-sdk-python3-0.6.tar.gz |
|---|---|
| Size | 146.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49dd79828397e2472572dd2d18f0a1597d5bc9659e6b8749c4959089f0371c4e
|
|
BLAKE2b-256 checksum How to use checksums |
d7c47e4a8aa87e007acfaa2faee3957c2a619997dc5de64f5fc82bf6e9a00c51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / galaxy_sdk_python3-0.6-py3-none-any.whl
| Download URL | galaxy_sdk_python3-0.6-py3-none-any.whl |
|---|---|
| Size | 199.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f780a289a67f15d22796e3398dde780c54e023b1f5488255c53725d4d16d03f7
|
|
BLAKE2b-256 checksum How to use checksums |
0b083cf498ac4eb87edf812758aaa5238b69db55c1b1d2a39b543b6da8a780f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for galaxy-sdk-python3 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.