{ "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", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Human Machine Interfaces" ], "description": "spmflex\n=======\n\nPython \u22653.5 driver for [Honeywell SPM Flex gas detectors](https://www.honeywellanalytics.com/en/products/SPM-Flex).\n\n

\n \n

\n\nInstallation\n============\n\n```\npip install spmflex\n```\n\nUsage\n=====\n\n### Command Line\n\nTo test your connection and stream real-time data, use the command-line\ninterface. You can read the state with:\n\n```\n$ spmflex 192.168.1.100\n```\n\nThis will output a JSON object which can be further manipulated. See below for\nobject structure.\n\n\n### Python\n\nFor more complex behavior, you can write a python script. This solely uses\nPython \u22653.5's async/await syntax.\n\n```python\nimport asyncio\nfrom spmflex import GasDetector\n\nasync def get():\n async with GasDetector('192.168.1.100') as detector:\n print(await detector.get())\n\nasyncio.run(get())\n```\n\nIf the detector is operating at that address, this should output a\ndictionary of the form:\n\n###\n```python\n{\n \"concentration\": 0.0,\n \"connected\": true,\n \"fault\": \"No fault\",\n \"flow\": 256,\n \"gas\": \"AsH3 - Arsine\",\n \"high-alarm threshold\": \"5.0\",\n \"id\": \"SPMFLEX08000000\",\n \"ip\": \"http://192.168.1.100/\",\n \"life\": 93.0,\n \"low-alarm threshold\": \"2.5\",\n \"temperature\": 0,\n \"units\": \"ppb\"\n}\n```\n\nThis is a cleaned-up version of the data returned. If you want to see all of\nit, set `raw=True`.\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/spmflex/", "keywords": "", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "spmflex", "package_url": "https://pypi.org/project/spmflex/", "platform": "", "project_url": "https://pypi.org/project/spmflex/", "project_urls": { "Homepage": "http://github.com/numat/spmflex/" }, "release_url": "https://pypi.org/project/spmflex/0.1.1/", "requires_dist": [ "aiohttp", "xmltodict" ], "requires_python": "", "summary": "Python driver for Honeywell SPM Flex gas dectectors.", "version": "0.1.1" }, "last_serial": 5373431, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "bcf486ac26acb67d31b644a7cffe8091", "sha256": "deb6aefa0ec19517235334d96c558d58ca8830f686d25a53d11ed0a5f8da2d16" }, "downloads": -1, "filename": "spmflex-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bcf486ac26acb67d31b644a7cffe8091", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11115, "upload_time": "2019-05-17T21:51:04", "url": "https://files.pythonhosted.org/packages/fa/04/96e0de0fb60cf462cd64771a8fa40d8b05d4ca2b84d22a05bb3cb35f6464/spmflex-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0043786fabb417e4f83ce77db4bb776b", "sha256": "7b5e0e47764ceb1a3269806c216c47cb1748613477c3f2ea6595190ba4d4f1ae" }, "downloads": -1, "filename": "spmflex-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0043786fabb417e4f83ce77db4bb776b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3502, "upload_time": "2019-05-17T21:51:06", "url": "https://files.pythonhosted.org/packages/b8/26/88a8b25e3aa2f2b23153a3f5db18190ecafeb9dc05923fc831ac0df56883/spmflex-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "26b3c25adf5f2c8565fabd27641dc541", "sha256": "ea4a9c7f67ab33db9636535d84c8939744d3855e055a348cda05fb2ce798bcab" }, "downloads": -1, "filename": "spmflex-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "26b3c25adf5f2c8565fabd27641dc541", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11189, "upload_time": "2019-06-07T21:33:04", "url": "https://files.pythonhosted.org/packages/88/bd/d263b52004592bb79ae59b0bb59461488d2fa0f0c46743ae34d78e5f6520/spmflex-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36460dcac9df9562324ac04b26d205ed", "sha256": "20b06c1f207dc476d60c3b56718f9191d725db47b8eddf319236a6182431454c" }, "downloads": -1, "filename": "spmflex-0.1.1.tar.gz", "has_sig": false, "md5_digest": "36460dcac9df9562324ac04b26d205ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3566, "upload_time": "2019-06-07T21:33:06", "url": "https://files.pythonhosted.org/packages/54/b1/93d1bcb0807dfabe58e8c68a689f1805bc237ecd12f7656b9c1d392228d4/spmflex-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "26b3c25adf5f2c8565fabd27641dc541", "sha256": "ea4a9c7f67ab33db9636535d84c8939744d3855e055a348cda05fb2ce798bcab" }, "downloads": -1, "filename": "spmflex-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "26b3c25adf5f2c8565fabd27641dc541", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11189, "upload_time": "2019-06-07T21:33:04", "url": "https://files.pythonhosted.org/packages/88/bd/d263b52004592bb79ae59b0bb59461488d2fa0f0c46743ae34d78e5f6520/spmflex-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36460dcac9df9562324ac04b26d205ed", "sha256": "20b06c1f207dc476d60c3b56718f9191d725db47b8eddf319236a6182431454c" }, "downloads": -1, "filename": "spmflex-0.1.1.tar.gz", "has_sig": false, "md5_digest": "36460dcac9df9562324ac04b26d205ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3566, "upload_time": "2019-06-07T21:33:06", "url": "https://files.pythonhosted.org/packages/54/b1/93d1bcb0807dfabe58e8c68a689f1805bc237ecd12f7656b9c1d392228d4/spmflex-0.1.1.tar.gz" } ] }