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.

Files for datahub-sdk, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size datahub_sdk-1.0.4-py2.py3-none-any.whl (4.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size datahub-sdk-1.0.4.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page