{ "info": { "author": "Contact Software", "author_email": "unide@contact-software.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Communications", "Topic :: Internet" ], "description": "============\r\nUnide Python\r\n============\r\n\r\n.. image:: https://img.shields.io/travis/eclipse/unide.python/master.svg\r\n :alt: Travis-CI badge\r\n :target: https://travis-ci.org/eclipse/unide.python\r\n\r\n.. image:: https://img.shields.io/coveralls/eclipse/unide.python/master.svg\r\n :alt: Coveralls badge\r\n :target: https://coveralls.io/r/eclipse/unide.python?branch=master\r\n\r\n.. .. image:: https://img.shields.io/pypi/v/unide-python.svg\r\n :alt: PyPI latest version badge\r\n :target: https://pypi.python.org/pypi/unide-python/\r\n\r\n.. image:: https://readthedocs.org/projects/unidepython/badge/?version=latest\r\n :alt: Read the Docs\r\n :target: http://unidepython.readthedocs.io/en/latest/\r\n\r\n.. .. image:: https://img.shields.io/pypi/format/unide-python.svg\r\n :alt: Download format\r\n :target: http://pythonwheels.com/\r\n\r\n.. .. image:: https://img.shields.io/pypi/l/unide-python.svg\r\n :alt: Unide license\r\n :target: https://pypi.python.org/pypi/unide-python/\r\n\r\nThis Python package is part of the `Eclipse Unide Project\r\n`_ and provides an API for generating,\r\nparsing and validating PPMP payloads. PPMP, the `\"Production\r\nPerformance Management Protocol\"\r\n`_ is a simple,\r\nJSON-based protocol for message payloads in (Industrial) Internet of\r\nThings applications defined by the `Eclipse IoT Working Group\r\n`_. Implementations for other programming\r\nlanguages are available from the Unide web site.\r\n\r\nThe focus of the Python implementation is ease of use for backend\r\nimplementations, tools and for prototyping PPMP\r\napplications. Generating a simple payload and sending it over MQTT\r\nusing `Eclipse Paho `_ is\r\na matter of just a few lines::\r\n\r\n import unide\r\n import paho.mqtt.client as mqtt\r\n\r\n client = mqtt.Client()\r\n client.connect(\"localhost\", 1883, 60)\r\n device = unide.Device(\"Device-001\")\r\n measurement = device.measurement(temperature=36.7)\r\n client.publish(topic=\"sample\", measurement)\r\n\r\nInstallation\r\n============\r\n\r\nThe latest version is available in the Python Package Index (PyPI) and\r\ncan be installed using::\r\n\r\n pip install unide-python\r\n\r\n``unide-python`` can be used with Python 2.7, 3.4, 3.5 and 3.6.\r\n\r\nSource code, including examples and tests, is available on GitHub:\r\nhttps://github.com/eclipse/unide.python\r\n\r\nTo install the package from source::\r\n\r\n git clone git@github.com:eclipse/unide.python.git\r\n cd unide.python\r\n python setup.py install\r\n\r\n\r\nContributing\r\n============\r\n\r\nThis is a straightforward Python project, using `setuptools` and the\r\nstandard ``setup.py`` mechanism. You can run the test suite using\r\n``setup.py``::\r\n\r\n python setup.py test\r\n\r\nThere also is a top-level ``Makefile`` that builds a development\r\nenvironment and can run a couple of developer tasks. We aim for 100%\r\ntest coverage and use `tox `_ to\r\ntest against all supported Python releases. To run all tests against\r\nall supported Python versions, build the documentation locally and an\r\ninstallable wheel, you'll require `pyenv\r\n`_ and a decent implementation of\r\nmake. ``make all`` will create a virtualenv ``env`` in the project\r\ndirectory and install the necessary tools (see ``tools.txt``).\r\n\r\nFor bug reports, suggestions and questions, simply open an issue in\r\nthe Github issue tracker. We welcome pull requests.\r\n\r\n\r\nDocumentation\r\n=============\r\n\r\nDetailed documentation is available on Read the Docs:\r\nhttp://unidepython.readthedocs.io/en/latest/.\r\n\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eclipse/unide.python", "keywords": "PPMP IoT Unide Eclipse", "license": "Eclipe Public License", "maintainer": "", "maintainer_email": "", "name": "unide-python", "package_url": "https://pypi.org/project/unide-python/", "platform": "", "project_url": "https://pypi.org/project/unide-python/", "project_urls": { "Homepage": "https://github.com/eclipse/unide.python" }, "release_url": "https://pypi.org/project/unide-python/0.2.0/", "requires_dist": [ "python-dateutil", "six" ], "requires_python": "", "summary": "An API for PPMP, the Production Performance Management Protocol", "version": "0.2.0" }, "last_serial": 3717198, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2d421d5f2a2da0e0f03bc1e928e9cc53", "sha256": "f97826ce1357e80f0c8a81c00f08abd1ba1686a964a5c951c8cbca30c8836492" }, "downloads": -1, "filename": "unide_python-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d421d5f2a2da0e0f03bc1e928e9cc53", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20325, "upload_time": "2018-01-23T15:41:33", "url": "https://files.pythonhosted.org/packages/fc/ac/80f53fd29a26d1e6fe9d823e702809738027a51c509414968b0a705c599b/unide_python-0.1.0-py2.py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ca67bcd536b3a4015f72f5fa53d36543", "sha256": "829f61091b2828ac558f2b986984499d6276f9d54ecfc3da8b6c9694e2a8abb2" }, "downloads": -1, "filename": "unide_python-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca67bcd536b3a4015f72f5fa53d36543", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25023, "upload_time": "2018-03-29T14:12:09", "url": "https://files.pythonhosted.org/packages/d5/af/c90911d1da56a1ed0238338ba01068d43b8cd0137e9ca52b0f52a279f73e/unide_python-0.2.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ca67bcd536b3a4015f72f5fa53d36543", "sha256": "829f61091b2828ac558f2b986984499d6276f9d54ecfc3da8b6c9694e2a8abb2" }, "downloads": -1, "filename": "unide_python-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca67bcd536b3a4015f72f5fa53d36543", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25023, "upload_time": "2018-03-29T14:12:09", "url": "https://files.pythonhosted.org/packages/d5/af/c90911d1da56a1ed0238338ba01068d43b8cd0137e9ca52b0f52a279f73e/unide_python-0.2.0-py2.py3-none-any.whl" } ] }