Metadata-Version: 1.1
Name: python-openhab
Version: 2.1
Summary: python library for accessing the openHAB REST API
Home-page: https://github.com/sim0nx/python-openhab
Author: Georges Toth
Author-email: georges@trypill.org
License: AGPLv3+
Download-URL: https://github.com/sim0nx/python-openhab
Description: .. image:: https://landscape.io/github/sim0nx/python-openhab/master/landscape.svg?style=flat
           :target: https://landscape.io/github/sim0nx/python-openhab/master
           :alt: Code Health
        
        .. image:: https://readthedocs.org/projects/pip/badge/?version=latest
           :target: http://python-openhab.readthedocs.io/en/latest/
           :alt: Documentation
        
        
        python library for accessing the openHAB REST API
        =================================================
          This library allows for easily accessing the openHAB REST API.
          A number of features are implemented but not all, this is work in progress.
        
        Requirements
        ------------
          - python 2.7.x / 3.5
          - python :: dateutil
          - python :: requests
        
        Note on openHAB1:
        -----------------
          Make sure to use the 1.x branch for openHAB1.x!
        
        Example
        -------
          Example usage of the library::
        
            from openhab import openHAB
            
            base_url = 'http://localhost:8080/rest'
            openhab = openHAB(base_url)
           
            # fetch all items
            items = openhab.fetch_all_items()
            
            sunset = items.get('Sunset')
            print(sunset.state)
Keywords: openhab
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
