Metadata-Version: 2.0
Name: datahub-sdk
Version: 1.0.4
Summary: Macaca DataHub Client
Home-page: https://github.com/macacajs/datahub-python-sdk
Author: xdf
Author-email: xudafeng@126.com
License: MIT
Keywords: data,management,continues
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: enum34
Requires-Dist: requests
Requires-Dist: retrying
Provides-Extra: test
Requires-Dist: coverage; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-xdist; extra == 'test'
Requires-Dist: responses; extra == 'test'
Requires-Dist: tox; extra == 'test'

DataHub Python Client
=====================

.. image:: https://img.shields.io/coveralls/macacajs/datahub-python-sdk/master.svg?style=flat-square
    :target: https://coveralls.io/github/macacajs/datahub-python-sdk

.. image:: https://img.shields.io/travis/macacajs/datahub-python-sdk/master.svg?style=flat-square
    :target: https://travis-ci.org/macacajs/datahub-python-sdk

.. image:: https://img.shields.io/pypi/v/datahub-python-sdk.svg?style=flat-square
    :target: https://pypi.python.org/pypi/datahub-python-sdk

.. image:: https://img.shields.io/pypi/pyversions/wd.svg?style=flat-square
    :target: https://pypi.python.org/pypi/datahub-python-sdk/

.. image:: https://img.shields.io/pypi/dd/wd.svg?style=flat-square
    :target: https://pypi.python.org/pypi/datahub-python-sdk/

Intro
-----

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

Homepage
--------
`datahub-python-sdk’s documentation. <//macacajs.github.io/datahub-python-sdk>`_

Examples
--------

.. code-block:: python

   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 <HISTORY.rst>`_.

Contributing
------------

`See CONTRIBUTING.rst <./CONTRIBUTING.rst>`_

License
-------
`MIT <http://opensource.org/licenses/MIT>`_


