{ "info": { "author": "Keegan Callin", "author_email": "kc@kcallin.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: POSIX :: Linux", "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", "Programming Language :: Python :: 3.7", "Topic :: Communications", "Topic :: Internet", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "==========\nhaka-mqtt\n==========\n\nThe `haka_mqtt` package is reliable \"weapons grade\" MQTT client library.\nIt contains a core mqtt reactor class built with provable reliability,\nand reproducibility as its fundamental goals. A side effect is that the\nlibrary turns out to be speedy as well.\n\nStatus\n=======\n\nThe project's core reactor is stable. It has been tested on systems\nwith thousands of distributed nodes in difficult field conditions. The\nQoS=1 datapath is well field tested. The QoS=0 and QoS=2 are not as\nthoroughly field tested.\n\nWhile the core reactor is very well tested the frontends are less\ntested. You should pay attention to notes on the different frontends\nregarding their status and use.\n\nThe haka library is mostly tested on Linux derivatives. It may work on\nother platforms but this has not been tested by the authors and no\ndefinite reports of success have been reported to the authors.\n\n\nInstallation\n=============\n\nThe haka-mqtt package can be installed from `pypi.org `_\nwith `pip `_:\n\n.. code-block:: bash\n\n pip install haka-mqtt\n\nUsage\n======\n\nA quick example of how the package can be used:\n\n.. code-block:: python\n\n # Standard python Packages\n import logging\n\n # 3rd-Party Packages\n from haka_mqtt.frontends.poll import (\n MqttPollClientProperties,\n BlockingMqttClient\n )\n from haka_mqtt.reactor import ACTIVE_STATES\n from mqtt_codec.packet import MqttTopic\n\n LOG_FMT='%(asctime)s %(name)s %(levelname)s %(message)s'\n logging.basicConfig(format=LOG_FMT, level=logging.INFO)\n\n properties = MqttPollClientProperties()\n properties.host = 'test.mosquitto.org'\n properties.port = 1883\n properties.ssl = False\n\n TOPIC = 'haka'\n\n c = BlockingMqttClient(properties)\n c.start()\n sub_ticket = c.subscribe([MqttTopic(TOPIC, 1)])\n c.on_suback = lambda c, suback: c.publish(TOPIC, 'payload', 1)\n c.on_publish = lambda c, publish: c.stop()\n\n while c.state in ACTIVE_STATES:\n c.poll(5.)\n\n\nProject Infrastructure\n=======================\n\nThe project is coordinated through public infrastructure available at\nseveral places:\n\n* `Releases (pypi) `_\n* `Documentation (readthedocs.io) `_\n* `Bug Tracker (github) `_\n* `Code Repository (github) `_", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kcallin/haka-mqtt", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "haka-mqtt", "package_url": "https://pypi.org/project/haka-mqtt/", "platform": "", "project_url": "https://pypi.org/project/haka-mqtt/", "project_urls": { "Bug Tracker": "https://github.com/kcallin/haka-mqtt/issues", "Documentation": "https://haka-mqtt.readthedocs.io/en/latest/", "Homepage": "https://github.com/kcallin/haka-mqtt", "Source Code": "https://github.com/kcallin/haka-mqtt" }, "release_url": "https://pypi.org/project/haka-mqtt/0.3.5/", "requires_dist": null, "requires_python": ">=2.7", "summary": "Weapons grade MQTT client.", "version": "0.3.5" }, "last_serial": 4814290, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "64a530708702159e1cef34a277b190ab", "sha256": "663d3dd393b09ef8880e6eda5ba5b54681540d0b8a71b91e5f2f418cbb36dcc1" }, "downloads": -1, "filename": "haka-mqtt-0.1.0.tar.gz", "has_sig": true, "md5_digest": "64a530708702159e1cef34a277b190ab", "packagetype": "sdist", "python_version": "source", "requires_python": "==2.7.*", "size": 29132, "upload_time": "2018-10-26T04:32:01", "url": "https://files.pythonhosted.org/packages/70/0f/4ec479b09d9972a83411f05ac961a20bf21cdc6c35f9d15924a384790a0f/haka-mqtt-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "aa8820d6630318538c803330f7322dca", "sha256": "65019177d10bc0368b1fd65963210343be3ace0b061eadd242e7b746f9e2ddfd" }, "downloads": -1, "filename": "haka-mqtt-0.2.0.tar.gz", "has_sig": true, "md5_digest": "aa8820d6630318538c803330f7322dca", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 36534, "upload_time": "2018-11-30T00:43:29", "url": "https://files.pythonhosted.org/packages/e5/d6/a836c993be9bbc65693b0d7de5d5e2298511aae3944258e2778b90c04668/haka-mqtt-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "be2eafac28c6eba868721f510655b384", "sha256": "14396135c1df077318914608541ba08d29660a5494d554d49bac9ab7d73755e5" }, "downloads": -1, "filename": "haka-mqtt-0.3.0.tar.gz", "has_sig": true, "md5_digest": "be2eafac28c6eba868721f510655b384", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 36884, "upload_time": "2018-12-17T23:33:48", "url": "https://files.pythonhosted.org/packages/57/29/5c8e05d979970b71e15f8a42c209af92b397576590d11e5f22fcfdc47c75/haka-mqtt-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "61c86fea18b26f50e7253fabf1a746be", "sha256": "bd54379e83d37d1ba587311064ff2827d5a01a28b08695b82eca1daa62270e67" }, "downloads": -1, "filename": "haka-mqtt-0.3.1.tar.gz", "has_sig": true, "md5_digest": "61c86fea18b26f50e7253fabf1a746be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 37143, "upload_time": "2018-12-30T23:51:36", "url": "https://files.pythonhosted.org/packages/53/b0/d822ba40ca0cce1e947759ed478cf400035e6d741a447d6b7555e6bf048f/haka-mqtt-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "1c0e2719e5dea88b0c6dbe8c93d39610", "sha256": "707d47e3a95cf0bce9a4561b6aab5545cbbae16061a4e2aa49faf9939cfe6872" }, "downloads": -1, "filename": "haka-mqtt-0.3.2.tar.gz", "has_sig": true, "md5_digest": "1c0e2719e5dea88b0c6dbe8c93d39610", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 27210, "upload_time": "2019-01-13T22:40:18", "url": "https://files.pythonhosted.org/packages/92/6b/e4f16833d2cfa60af46a89b00c7c4576302d9fa2deb0ffb585d319d2e46b/haka-mqtt-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "d97c8bcb629d27e12eb8dea3f420a5c3", "sha256": "134a10fe2abc6948801103aff36709b6c3323b7d7481cd06be443d4e75995a54" }, "downloads": -1, "filename": "haka-mqtt-0.3.3.tar.gz", "has_sig": true, "md5_digest": "d97c8bcb629d27e12eb8dea3f420a5c3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 29008, "upload_time": "2019-01-30T05:49:03", "url": "https://files.pythonhosted.org/packages/3f/f5/45af693c929db5e565d9fe8b09a3d7f5cc3d91918213e1ad7fe45d84a00d/haka-mqtt-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "541ba90da10b196793468c1b4d22becf", "sha256": "107f987d14d3fbce869ba499479241b3b7515a38df0471551b2ccd5f4cf18ad7" }, "downloads": -1, "filename": "haka-mqtt-0.3.4.tar.gz", "has_sig": true, "md5_digest": "541ba90da10b196793468c1b4d22becf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 29132, "upload_time": "2019-02-01T03:41:28", "url": "https://files.pythonhosted.org/packages/e3/c7/7b6b8b8f98303707c0e717633628d754739ada2eba4ab8d75d8a3c0797b7/haka-mqtt-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "7a252a28d69a50e7c142a2364b539786", "sha256": "10022a78b3eea83d21c078f463ccad13c29b9cfb7adc7302f3f9e76b5675d498" }, "downloads": -1, "filename": "haka-mqtt-0.3.5.tar.gz", "has_sig": true, "md5_digest": "7a252a28d69a50e7c142a2364b539786", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 29485, "upload_time": "2019-02-13T06:30:24", "url": "https://files.pythonhosted.org/packages/f6/58/f343dea6a9b85912b857af60164f78b940bb2b59a2de4c393f4a21e3700d/haka-mqtt-0.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a252a28d69a50e7c142a2364b539786", "sha256": "10022a78b3eea83d21c078f463ccad13c29b9cfb7adc7302f3f9e76b5675d498" }, "downloads": -1, "filename": "haka-mqtt-0.3.5.tar.gz", "has_sig": true, "md5_digest": "7a252a28d69a50e7c142a2364b539786", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 29485, "upload_time": "2019-02-13T06:30:24", "url": "https://files.pythonhosted.org/packages/f6/58/f343dea6a9b85912b857af60164f78b940bb2b59a2de4c393f4a21e3700d/haka-mqtt-0.3.5.tar.gz" } ] }