{ "info": { "author": "Jerther", "author_email": "jtheriault@metalsartigan.com", "bugtrack_url": null, "classifiers": [], "description": "# PCOM #\n\nA very basic Unitronics PCOM protocol implementation in Python.\n\n### How to use ###\n```\nfrom pcom import commands\nfrom pcom.plc import EthernetPlc\n\nwith EthernetPlc(address=('192.168.5.43', 1616)) as plc:\n # Read realtime clock\n c = commands.ReadRtc()\n res = plc.send(c)\n print(res)\n\n # Set realtime clock\n c = commands.SetRtc(value=datetime.now())\n plc.send(c)\n\n # Set MB 300 through 304\n values = [True, False, True, True, False]\n c = commands.SetBits(code=commands.SetBits.MEMORY, address=300, values=values)\n plc.send(c)\n\n\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": "", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pcom", "package_url": "https://pypi.org/project/pcom/", "platform": "", "project_url": "https://pypi.org/project/pcom/", "project_urls": null, "release_url": "https://pypi.org/project/pcom/0.2/", "requires_dist": null, "requires_python": "", "summary": "A basic PCOM implementation in Python", "version": "0.2" }, "last_serial": 4733178, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ca7f186a07bc076aca58cb887d5a25c2", "sha256": "d06bd38d6153c6a799534283e27e03a6a886a0d77839fd5ece706bd018826a83" }, "downloads": -1, "filename": "pcom-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ca7f186a07bc076aca58cb887d5a25c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11766, "upload_time": "2019-01-22T20:08:29", "url": "https://files.pythonhosted.org/packages/47/4f/e29a0b9b35220074cecda7db355add6c184c81e45cbfe925f5f9e2b0485d/pcom-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c46bd23ddca0099ac91f9fd987b144ec", "sha256": "7e914fd38c41c07903c1b64d927ccd847835ab0bb5b3b966c3c13ec691fb23a1" }, "downloads": -1, "filename": "pcom-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c46bd23ddca0099ac91f9fd987b144ec", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11784, "upload_time": "2019-01-23T22:28:05", "url": "https://files.pythonhosted.org/packages/12/ed/e94cdac168f8e95deb403fa807740b2e6703e301752f64100c61d0e3d410/pcom-0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c46bd23ddca0099ac91f9fd987b144ec", "sha256": "7e914fd38c41c07903c1b64d927ccd847835ab0bb5b3b966c3c13ec691fb23a1" }, "downloads": -1, "filename": "pcom-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c46bd23ddca0099ac91f9fd987b144ec", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11784, "upload_time": "2019-01-23T22:28:05", "url": "https://files.pythonhosted.org/packages/12/ed/e94cdac168f8e95deb403fa807740b2e6703e301752f64100c61d0e3d410/pcom-0.2-py3-none-any.whl" } ] }