{ "info": { "author": "Patrick Fuller", "author_email": "pat@numat-tech.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", "Topic :: Scientific/Engineering :: Human Machine Interfaces" ], "description": "# watlow\nPython driver and command-line tool for [Watlow EZ-Zone temperature controllers](https://www.watlow.com/en/products/controllers/temperature-and-process-controllers/ez-zone-pm-controller).\n\n

\n \n

\n\nInstallation\n============\n\n```\npip install watlow\n```\n\nUsage\n=====\n\n### Command Line\n\n```\n$ watlow /dev/ttyUSB0\n```\n\nThis returns a simple data structure.\n\n```\n{\n \"actual\": 21.66,\n \"setpoint\": 20.0\n}\n```\n\nYou can additionally use the `--set-setpoint` option to set a temperature setpoint.\nSee `watlow --help` for more.\n\n### Python\n\nThe python interface is basic synchronous serial communication.\n\n```python\nimport watlow\n\ntc = watlow.TemperatureController('/dev/ttyUSB0')\n\ntc.set(30)\nprint(tc.get())\n```\n\nThe driver is designed to be fault tolerant over long polling, and should\nappropriately reconnect if its `IOError`s are managed. Here's an implementation\nwith standard long-poll exception handling. This should run until interrupted and\nthen exit cleanly.\n\n```python\nfrom time import sleep\nimport watlow\n\ntc = watlow.TemperatureController('/dev/ttyUSB0')\ntry:\n while True:\n try:\n print(tc.get())\n except IOError:\n print('disconnected')\n sleep(1)\nexcept KeyboardInterrupt:\n pass\nfinally:\n tc.close()\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/numat/watlow/", "keywords": "", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "watlow", "package_url": "https://pypi.org/project/watlow/", "platform": "", "project_url": "https://pypi.org/project/watlow/", "project_urls": { "Homepage": "http://github.com/numat/watlow/" }, "release_url": "https://pypi.org/project/watlow/0.1.1/", "requires_dist": [ "pyserial", "crcmod" ], "requires_python": "", "summary": "Python driver for Watlow EZ-Zone temperature controllers.", "version": "0.1.1" }, "last_serial": 5448770, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d89749533069861225d64c65a5041910", "sha256": "f2e0d1027b7445ebdb3487238547ce21a6c219804e08dff51ba55e10b3d1b0ac" }, "downloads": -1, "filename": "watlow-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d89749533069861225d64c65a5041910", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12254, "upload_time": "2019-06-20T13:31:28", "url": "https://files.pythonhosted.org/packages/3b/a4/6d1f03cadb0180e75a5ea8d15238284c22dd7e569e3f1efd38292754d687/watlow-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fadecae96824db66afcfe6402c175c6", "sha256": "d0f281eddccd75f3dd47f13cbd35bd022bc731e4d68ee0cc0832da263e3f21c6" }, "downloads": -1, "filename": "watlow-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1fadecae96824db66afcfe6402c175c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4731, "upload_time": "2019-06-20T13:31:31", "url": "https://files.pythonhosted.org/packages/e5/eb/72f306e61d8d64be427dec2423533de677c67b4083df139a2dd9095249df/watlow-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e97a5abb8e28dc84084152d3b0ef85a2", "sha256": "1f3078a389d4f624646f015e617fa8ff6dea7364835390a9eb0a7385e543dcc4" }, "downloads": -1, "filename": "watlow-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e97a5abb8e28dc84084152d3b0ef85a2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12260, "upload_time": "2019-06-25T22:17:10", "url": "https://files.pythonhosted.org/packages/bf/72/3864576b9d675bde08685afe7399e46aa2bd9e44448664a625504040aabd/watlow-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4634c41f09007ba01c77794b369a592b", "sha256": "c191409aacaa22ec3bb586bfdedbd505f5bbc8a180ebd28f061f1136cafa0ef1" }, "downloads": -1, "filename": "watlow-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4634c41f09007ba01c77794b369a592b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4736, "upload_time": "2019-06-25T22:17:12", "url": "https://files.pythonhosted.org/packages/72/38/508260517d49f57bb8a8eb035527ddd34de4103a9e310fc0d817cc1d7da8/watlow-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e97a5abb8e28dc84084152d3b0ef85a2", "sha256": "1f3078a389d4f624646f015e617fa8ff6dea7364835390a9eb0a7385e543dcc4" }, "downloads": -1, "filename": "watlow-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e97a5abb8e28dc84084152d3b0ef85a2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12260, "upload_time": "2019-06-25T22:17:10", "url": "https://files.pythonhosted.org/packages/bf/72/3864576b9d675bde08685afe7399e46aa2bd9e44448664a625504040aabd/watlow-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4634c41f09007ba01c77794b369a592b", "sha256": "c191409aacaa22ec3bb586bfdedbd505f5bbc8a180ebd28f061f1136cafa0ef1" }, "downloads": -1, "filename": "watlow-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4634c41f09007ba01c77794b369a592b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4736, "upload_time": "2019-06-25T22:17:12", "url": "https://files.pythonhosted.org/packages/72/38/508260517d49f57bb8a8eb035527ddd34de4103a9e310fc0d817cc1d7da8/watlow-0.1.1.tar.gz" } ] }