{ "info": { "author": "Mathias Fu\u00dfenegger", "author_email": "pip@zignar.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "===\nknx\n===\n\n.. image:: https://travis-ci.org/mfussenegger/knx.svg?branch=master\n :target: https://travis-ci.org/mfussenegger/knx\n :alt: travis-ci\n\n.. image:: https://img.shields.io/pypi/wheel/knx.svg\n :target: https://pypi.python.org/pypi/knx/\n :alt: Wheel\n\n.. image:: https://img.shields.io/pypi/v/knx.svg\n :target: https://pypi.python.org/pypi/knx/\n :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/knx.svg\n :target: https://pypi.python.org/pypi/knx/\n :alt: Python Version\n\n\nA minimalistic `KNX `_ / EIB\npython library.\n\n\nSending telegrams\n-----------------\n\nThis library can be used to send data telegrams to actuators in the bus system.\n\nFor example in order to turn on a light the following code could be used::\n\n >>> from knx import connect\n >>> with connect() as c:\n ... c.write('0/1/14', 1)\n\n\nWhere ``0/1/14`` is the address of the light and ``1`` is the payload of the\ndata telegram which indicates that the light should be turned on.\n\n\nListening to telegrams\n----------------------\n\nThis KNX library can also be used to listen to telegrams that are sent onto the\nbus system. For example if you simply want to log an entry each time a light is\nturned off or on::\n\n\n >>> import knx\n >>> import asyncio\n\n >>> @knx.coroutine\n ... def logger():\n ... while True:\n ... telegram = (yield)\n ... print('Telegram from {0} sent to {1} with value: {2}'.format(\n ... telegram.src, telegram.dst, telegram.value))\n\n >>> loop = asyncio.get_event_loop()\n >>> coro = knx.bus_monitor(logger(), host='localhost', port=6720)\n >>> loop.run_until_complete(coro)\n\n\nInstall & Requirements\n======================\n\n- Python >= 3.6\n\nInstall using pip::\n\n $ pip install knx\n\nDisclaimer\n==========\n\nI've only tested this with `eibd\n`_ 0.0.5 and the fork\n`knxd `_ as a gateway.\n\n\nAlternatives\n============\n\nIf you're looking for complete home automation solutions you might want to take\na look at `home-assistant `_ or\n`smarthome `_.\n\nDevelopment\n===========\n\nEdit ``knx.py`` in your favorite editor and run tests using ``python -m\nunittest`` or ``python tests.py``.\n\nIf you want to run the examples without first installing this library you can use::\n\n python -m examples.actor -- hostname '0/0/20'\n\n(Replace actor with the appropriate module name and omit the arguments if the\nmodule doesn't require them)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mfussenegger/knx", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "knx", "package_url": "https://pypi.org/project/knx/", "platform": "any", "project_url": "https://pypi.org/project/knx/", "project_urls": { "Homepage": "https://github.com/mfussenegger/knx" }, "release_url": "https://pypi.org/project/knx/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "KNX / EIB library", "version": "0.4.0" }, "last_serial": 4656601, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "80bb845722395490e4e9d44d70902df3", "sha256": "b140e161fbc964cccdf245d5e6016c6efa1fd6a9661962f17ea73fa88482cbc2" }, "downloads": -1, "filename": "knx-0.1.1.tar.gz", "has_sig": false, "md5_digest": "80bb845722395490e4e9d44d70902df3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1719, "upload_time": "2015-05-10T10:53:34", "url": "https://files.pythonhosted.org/packages/e0/c9/f9a045f35bee264e7b9837350602ae9d5554aa86f6fd2951205353bbc3ec/knx-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "958648068668832c6297602375960a30", "sha256": "6321c5bcd45b808ed4c326a7fcfb2febc68d322698310b72c7b934714a1b6fca" }, "downloads": -1, "filename": "knx-0.1.2.tar.gz", "has_sig": false, "md5_digest": "958648068668832c6297602375960a30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3829, "upload_time": "2015-05-10T11:01:02", "url": "https://files.pythonhosted.org/packages/07/bd/f3c9b853e8e30b0cbbf6fd6c704324805a55049c2eaf1ada629d43e9df9f/knx-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "523ad0b86319b946c0c685ece8379cc8", "sha256": "738a6da8cfce5cf959136d4f7f2cc791d7afcf3736dad216c34293aa4d414a9e" }, "downloads": -1, "filename": "knx-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "523ad0b86319b946c0c685ece8379cc8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5555, "upload_time": "2015-08-01T12:15:08", "url": "https://files.pythonhosted.org/packages/64/b8/2e38a6be1ea9f76f3bea7c47acced353e4970db0f8a7e0aef96e2f5cfa16/knx-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21ad2a5ea02f812457b6d9dd6117874a", "sha256": "d64ed22975aa66697844afb38370072f6fadc8c580f651ae555a46c5427b81e1" }, "downloads": -1, "filename": "knx-0.1.3.tar.gz", "has_sig": false, "md5_digest": "21ad2a5ea02f812457b6d9dd6117874a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4038, "upload_time": "2015-08-01T12:15:11", "url": "https://files.pythonhosted.org/packages/95/09/6f590e084f77c38cb4b4c34dbce8698b0b1283c87375b1b7eb814db1abd3/knx-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2552e39c13768e17139c543ad063466d", "sha256": "9e1f258e477ea413982367616e07f9a8f7f8172dc2f013c8a59fec0e928253be" }, "downloads": -1, "filename": "knx-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2552e39c13768e17139c543ad063466d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5938, "upload_time": "2015-11-06T18:28:06", "url": "https://files.pythonhosted.org/packages/88/7d/82a8c1e1596c490f05e9e35fe8adaa9fe7490fe994a402b279f0948c9a23/knx-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59291f523b8ea9a0f4591cebbb2b8c4a", "sha256": "e270470c38535d3acbfc72a2d9b9f95a1dd0987d63a3c693f5d58d5643f34e6e" }, "downloads": -1, "filename": "knx-0.2.0.tar.gz", "has_sig": false, "md5_digest": "59291f523b8ea9a0f4591cebbb2b8c4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7894, "upload_time": "2015-11-06T18:28:26", "url": "https://files.pythonhosted.org/packages/25/48/3c101552ab3d17205e3d7fe9fbb8ccb323f0552d845a5cce734f74e83ca6/knx-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "fc686bcefdce5c9c1cdc76b636d5b08d", "sha256": "ecfb1eecd696ad3956f2c480bc89716cd4fd28b0169a0586f0317d560dc201f4" }, "downloads": -1, "filename": "knx-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fc686bcefdce5c9c1cdc76b636d5b08d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7045, "upload_time": "2016-01-06T17:11:25", "url": "https://files.pythonhosted.org/packages/1c/d6/a36b78cd42cb2e35ef75ace34dba143e20e237a0ce2609a845c4695c267f/knx-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a46473caf556abdba70ef5e8c1745c2c", "sha256": "14d84df68c33cd8e13676bb4b60dd682170847090953ca6637aaca66c9630a48" }, "downloads": -1, "filename": "knx-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a46473caf556abdba70ef5e8c1745c2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10246, "upload_time": "2016-01-06T17:11:48", "url": "https://files.pythonhosted.org/packages/0f/e9/40fa0466fd2052e2e0fd580b58bcff707da9842601a25da8391edf189c63/knx-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "48edc857320cf8310d8c13e068503db9", "sha256": "61cc086e6b15481341b882f453eecd5c0b884de5553e04bc1fa30366545d64aa" }, "downloads": -1, "filename": "knx-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48edc857320cf8310d8c13e068503db9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6999, "upload_time": "2016-02-06T00:14:22", "url": "https://files.pythonhosted.org/packages/4a/3b/d387ccb02b7ae5c8d7b75e30a079cf95975f5f6c80fcea695e01bde9ed7f/knx-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ad4a7f6ab15d4bf9ee3880a16e8d223", "sha256": "196ca9ffa711a11334956113ed1bb6f59109a0517cb4c284558d6dbe50cfacf2" }, "downloads": -1, "filename": "knx-0.3.0.tar.gz", "has_sig": false, "md5_digest": "7ad4a7f6ab15d4bf9ee3880a16e8d223", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7572, "upload_time": "2016-02-06T00:14:40", "url": "https://files.pythonhosted.org/packages/f8/f3/3d6ff097c904b22fd80e57e1936c3386c203932457b3e4e16c5c0b3c77ab/knx-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "f484001f09d6dc54b572f8f3f86b2ac1", "sha256": "4d79a49d4e40f4c8f89176537b456355c060bea166646e04691f50f7d6396934" }, "downloads": -1, "filename": "knx-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f484001f09d6dc54b572f8f3f86b2ac1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6115, "upload_time": "2019-01-03T14:32:00", "url": "https://files.pythonhosted.org/packages/b1/c9/91ffb89057770a663ccb7edffb9b764d293afdc852ea30367329f582020b/knx-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27b6b470eac35ecc6c84877fca2b8da6", "sha256": "37d88b7fc78b4b54309561f25f632b66fcd7785ca2bd24b36a5eb465270dfe62" }, "downloads": -1, "filename": "knx-0.4.0.tar.gz", "has_sig": false, "md5_digest": "27b6b470eac35ecc6c84877fca2b8da6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8417, "upload_time": "2019-01-03T14:32:02", "url": "https://files.pythonhosted.org/packages/2a/2b/8f2393bef6611acb3998fffdfff73221b78fa8689e7f067e67d01815541e/knx-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f484001f09d6dc54b572f8f3f86b2ac1", "sha256": "4d79a49d4e40f4c8f89176537b456355c060bea166646e04691f50f7d6396934" }, "downloads": -1, "filename": "knx-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f484001f09d6dc54b572f8f3f86b2ac1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6115, "upload_time": "2019-01-03T14:32:00", "url": "https://files.pythonhosted.org/packages/b1/c9/91ffb89057770a663ccb7edffb9b764d293afdc852ea30367329f582020b/knx-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27b6b470eac35ecc6c84877fca2b8da6", "sha256": "37d88b7fc78b4b54309561f25f632b66fcd7785ca2bd24b36a5eb465270dfe62" }, "downloads": -1, "filename": "knx-0.4.0.tar.gz", "has_sig": false, "md5_digest": "27b6b470eac35ecc6c84877fca2b8da6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8417, "upload_time": "2019-01-03T14:32:02", "url": "https://files.pythonhosted.org/packages/2a/2b/8f2393bef6611acb3998fffdfff73221b78fa8689e7f067e67d01815541e/knx-0.4.0.tar.gz" } ] }