{ "info": { "author": "Adam Charnock", "author_email": "adam@adamcharnock.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# Outback Mate 3 Python Library\n\nThis library provides complete support for all outback devices (at least in theory, \nI don't own all the devices so cannot test it).\n\nThis data is accessed though the Mate3's Modbus interface.\n\nTested on Python 3.7. May work on 3.6.\n\n## Enabling the Modbus interface on your Mate 3\n\nTBA. System -> opticsre -> Modbus?\n\n## Using the library\n\nExample use:\n\n```python\nfrom mate3 import mate3_connection\nimport time\n\nhost = '192.168.0.123'\nport = 502\n\nwith mate3_connection(host, port) as client:\n while True:\n for block in client.all_blocks():\n print(block)\n\n time.sleep(3)\n```\n\n## Using the command line interface (CLI)\n\nA simple CLI is available which will read all available values from the Mate3:\n\n```\n$ mate3 -h\nusage: mate3 [-h] [--host HOST] [--port PORT]\n [--format {text,prettyjson,json}]\n\nRead all available data from the Mate3 controller\n\noptional arguments:\n -h, --help show this help message and exit\n --host HOST, -H HOST The host name or IP address of the Mate3\n --port PORT, -p PORT The port number address of the Mate3\n --format {text,prettyjson,json}, -f {text,prettyjson,json}\n Output format\n```\n\nExample use:\n\n```\n$ mate3 --host 192.168.0.123\n```\n\n## Various notes\n\nThe `structures.py` and `parsers.py` files are *auto generated* \nfrom the CSV files located in `registry_data/`. The CSV files are \ngenerated though text extraction from the \n[axs_app_note.pdf](http://www.outbackpower.com/downloads/documents/appnotes/axs_app_note.pdf) \nPDF provided by OutBack. This process is handled by two python files:\n\n* `csv_generator.py` \u2013 Extract the CSV data from the PDF\n* `code_generator.py` \u2013 Generate the Python code from the CSV data\n\n## Future work\n\n* Support the writing of values back to the Mate3\n* Web interface?\n\n## Credits\n\nThis is a heavily refactored version of \n[basrijn's Outback_Mate3 library](https://github.com/basrijn/Outback_Mate3).\nThank you basrijn!\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "Adam Charnock", "maintainer_email": "adam@adamcharnock.com", "name": "mate3", "package_url": "https://pypi.org/project/mate3/", "platform": "", "project_url": "https://pypi.org/project/mate3/", "project_urls": null, "release_url": "https://pypi.org/project/mate3/0.2.1/", "requires_dist": [ "pymodbus (>=2.2,<3.0)", "psycopg2 (>=2.8.3,<3.0.0); extra == \"mate3_pg\"", "pyyaml (>=5.1.2,<6.0.0); extra == \"mate3_pg\"" ], "requires_python": ">=3.7,<4.0", "summary": "", "version": "0.2.1" }, "last_serial": 5999577, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a80c9e879cc1295f1807ea264d1ec079", "sha256": "525db35d9dcb33bedb3aff60db2d2c1521ba3b1f074dd2480fa8fd600ffe6a69" }, "downloads": -1, "filename": "mate3-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a80c9e879cc1295f1807ea264d1ec079", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 28344, "upload_time": "2019-09-07T22:19:11", "url": "https://files.pythonhosted.org/packages/73/5c/7102a78ee7cdb52c13eed41af19ddac3315f13aaa0ddc0620e17020f654d/mate3-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bafad025144e3e9195926bb5f0953153", "sha256": "f8f0e5df0289aae9aa7e4235b6c6b38556f8f1f912d8c3fb53a31491b678a9d5" }, "downloads": -1, "filename": "mate3-0.1.0.tar.gz", "has_sig": false, "md5_digest": "bafad025144e3e9195926bb5f0953153", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 25716, "upload_time": "2019-09-07T22:19:14", "url": "https://files.pythonhosted.org/packages/46/fb/87b6d30572fefacebbf2f4454debcf3dc0cf3f58a4b006155618c798d2cc/mate3-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3095fbe932d901d6afe9504b92fa7852", "sha256": "61bd66c81642d4a074f25d5c3bde8c8d5530b68bc74e2e438450c6fe6396bf95" }, "downloads": -1, "filename": "mate3-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3095fbe932d901d6afe9504b92fa7852", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 29079, "upload_time": "2019-09-11T22:36:45", "url": "https://files.pythonhosted.org/packages/b7/7a/c1d8317875fd75b2b066c68ea40602ceb2f0ccddcf175b80f0b0fddd2b37/mate3-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa26c2deec3eadff19174ce044cdbacf", "sha256": "8c287bbd04cc4c64aaf1dce3e2bb275a0f9795cbbe032c8b3bd299f3fbe15b2e" }, "downloads": -1, "filename": "mate3-0.2.0.tar.gz", "has_sig": false, "md5_digest": "fa26c2deec3eadff19174ce044cdbacf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 25872, "upload_time": "2019-09-11T22:36:46", "url": "https://files.pythonhosted.org/packages/fb/23/0eb1d7cacb0fc2ffa2fe60285a1011417f39884666c3c920346987d9fcbf/mate3-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "05e4eedfe4e6e97eec50fde81fb55667", "sha256": "9e03d49b8560747e5524a95004daf865ad6521ac4d44f1d80e9ea879f4452b16" }, "downloads": -1, "filename": "mate3-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "05e4eedfe4e6e97eec50fde81fb55667", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 32518, "upload_time": "2019-10-19T11:09:58", "url": "https://files.pythonhosted.org/packages/a6/71/da35b758a5d0ebc0fab0b7913c2fcc8c6890b322832561a636a3667e27de/mate3-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaad814576b7bc959d6db84854ef3996", "sha256": "55e4359bddb0831b23bf087fbbb05ad780662664437b7f7015401db80faf571b" }, "downloads": -1, "filename": "mate3-0.2.1.tar.gz", "has_sig": false, "md5_digest": "eaad814576b7bc959d6db84854ef3996", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 30015, "upload_time": "2019-10-19T11:10:01", "url": "https://files.pythonhosted.org/packages/aa/da/29f02a9e302aa3714c4485835f6e2b9d0e155536c1c1471d182a7562301f/mate3-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05e4eedfe4e6e97eec50fde81fb55667", "sha256": "9e03d49b8560747e5524a95004daf865ad6521ac4d44f1d80e9ea879f4452b16" }, "downloads": -1, "filename": "mate3-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "05e4eedfe4e6e97eec50fde81fb55667", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 32518, "upload_time": "2019-10-19T11:09:58", "url": "https://files.pythonhosted.org/packages/a6/71/da35b758a5d0ebc0fab0b7913c2fcc8c6890b322832561a636a3667e27de/mate3-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaad814576b7bc959d6db84854ef3996", "sha256": "55e4359bddb0831b23bf087fbbb05ad780662664437b7f7015401db80faf571b" }, "downloads": -1, "filename": "mate3-0.2.1.tar.gz", "has_sig": false, "md5_digest": "eaad814576b7bc959d6db84854ef3996", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 30015, "upload_time": "2019-10-19T11:10:01", "url": "https://files.pythonhosted.org/packages/aa/da/29f02a9e302aa3714c4485835f6e2b9d0e155536c1c1471d182a7562301f/mate3-0.2.1.tar.gz" } ] }