Skip to main content

Macaca DataHub Client

Project description

https://img.shields.io/coveralls/macacajs/datahub-python-sdk/master.svg?style=flat-square https://img.shields.io/travis/macacajs/datahub-python-sdk/master.svg?style=flat-square https://img.shields.io/pypi/v/datahub-python-sdk.svg?style=flat-square https://img.shields.io/pypi/pyversions/wd.svg?style=flat-square https://img.shields.io/pypi/dd/wd.svg?style=flat-square

Intro

datahub-python-sdk is a Python client implemented most of the APIs to control DataHub Service.

Examples

from macaca import DataHub, DataHubSDK

datahub = DataHub(hostname = '127.0.0.1', port = '9200')

datahub.switch_scenes(hub='sample', pathname='test1', data={ 'currentScene': 'scene1' })

datahub.switch_all_scenes(hub='sample', data={ 'currentScene': 'default' })

Changelog

Details changes for each release are documented in the HISTORY.rst.

Contributing

See CONTRIBUTING.rst

License

MIT

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

datahub-sdk-1.0.4.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

datahub_sdk-1.0.4-py2.py3-none-any.whl (4.8 kB view hashes)

Uploaded py2 py3

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 Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page