{ "info": { "author": "Matthew Treinish", "author_email": "mtreinish@kortar.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "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" ], "description": "========\npymochad\n========\nA python library for sending commands to the mochad TCP gateway daemon for\nthe X10 CMA15A controller:\n\nhttps://sourceforge.net/projects/mochad/\n\nComplete documentation is here: http://pymochad.readthedocs.io/en/latest/\n\nUsage\n=====\n\nUsing PyMochad is pretty straightforward you just need to init a PyMochad object\nand then issue commands to it. For example:\n\n.. code-block:: python\n\n from pymochad import controller\n\n mochad = remote.PyMochad()\n print(mochad.status())\n\nwill connect to a running mochad instance (running on your localhost) and print\nthe device status.\n\nYou can also send a command directly to a device using a device class. For\nexample:\n\n.. code-block:: python\n\n from pymochad import controller\n from pymochad import device\n\n mochad = controller.PyMochad()\n light_switch = device.Device(mochad, 'a1')\n light_switch.send_cmd('on')\n\nwill connect to a running a mochad instance and send the *on* command to the\nlight switch device at address *a1* on the power line interface.\n\nFor a complete API documentation see: :ref:`pymochad_api`.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pymochad", "package_url": "https://pypi.org/project/pymochad/", "platform": "", "project_url": "https://pypi.org/project/pymochad/", "project_urls": null, "release_url": "https://pypi.org/project/pymochad/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "A python library for interacting with moch", "version": "0.2.0" }, "last_serial": 3336009, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8f208574933cab5e893d1685b2f0428d", "sha256": "c82c47c5374be2a4f8cdaa07548d3f83850283ea7fc184778ead9d17971d9dde" }, "downloads": -1, "filename": "pymochad-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8f208574933cab5e893d1685b2f0428d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19522, "upload_time": "2016-10-20T05:26:38", "url": "https://files.pythonhosted.org/packages/12/16/6da8524223fb19c529a97c0073d025b71724a71427437ce50ad879d5ed40/pymochad-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2e3000becbe5aaf86415cd2a860d23d9", "sha256": "bc52c400e6d4a74e2fe5651192501b7cfba7a3c8356ebb69507431d46d589cca" }, "downloads": -1, "filename": "pymochad-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2e3000becbe5aaf86415cd2a860d23d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19551, "upload_time": "2016-10-20T20:33:19", "url": "https://files.pythonhosted.org/packages/1d/9e/ac4b342e0ec7beae7cf7e9859fccafa4f946586710c322eb7c821669e5c2/pymochad-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "45d3ce2319d016c8f1491423f25c42e4", "sha256": "e0cfe273d14f6bc9fd0bc6f00e7d420662061715f59e20d5d3780e6e15684f96" }, "downloads": -1, "filename": "pymochad-0.2.0.tar.gz", "has_sig": false, "md5_digest": "45d3ce2319d016c8f1491423f25c42e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20426, "upload_time": "2017-11-15T17:11:40", "url": "https://files.pythonhosted.org/packages/91/d5/8a75ddd73d5cb2dc982bf141a85c5dfc2ea70210a0fbc42c8887117e7711/pymochad-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "45d3ce2319d016c8f1491423f25c42e4", "sha256": "e0cfe273d14f6bc9fd0bc6f00e7d420662061715f59e20d5d3780e6e15684f96" }, "downloads": -1, "filename": "pymochad-0.2.0.tar.gz", "has_sig": false, "md5_digest": "45d3ce2319d016c8f1491423f25c42e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20426, "upload_time": "2017-11-15T17:11:40", "url": "https://files.pythonhosted.org/packages/91/d5/8a75ddd73d5cb2dc982bf141a85c5dfc2ea70210a0fbc42c8887117e7711/pymochad-0.2.0.tar.gz" } ] }