{ "info": { "author": "Kent Kawashima", "author_email": "kentkawashima@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# ircodec\n\nA Python package that simplifies sending and receiving IR signals for the Raspberry Pi using pigpiod.\n\n## Requirements\n- [pigpio daemon](http://abyz.me.uk/rpi/pigpio/pigpiod.html)\n- [pigpio Python package](http://abyz.me.uk/rpi/pigpio/python.html) \n```\npip install pigpio\n```\n\n## Install\nFor Raspbian 9 (stretch)\n```\npip install ircodec\n```\n\nFor others\n```\ngit clone git@github.com:kentwait/ircodec.git\ncd ircodec\npython setup.py install\n```\n\n## Quickstart\n```python\n# Create a CommandSet for your remote control\n# GPIO for the IR receiver: 23\n# GPIO for the IR transmitter: 22\nfrom ircodec.command import CommandSet\ncontroller = CommandSet(emitter_gpio=22, receiver_gpio=23, description='TV remote')\n\n# Add the volume up key\ncontroller.add('volume_up')\n# Connected to pigpio\n# Detecting IR command...\n# Received.\n\n# Send the volume up command\ncontroller.emit('volume_up')\n\n# Remove the volume up command\ncontroller.remove('volume_up')\n\n# Examine the contents of the CommandSet\ncontroller\n# CommandSet(emitter=22, receiver=23, description=\"TV remote\")\n# {}\n\n# Save to JSON\ncontroller.save_as('tv.json')\n\n# Load from JSON\nnew_controller = CommandSet.load('another_tv.json')\n\n```\n\n## Acknowledgment\n[pigpio Python examples](http://abyz.me.uk/rpi/pigpio/examples.html#Python%20code)\n\n## Contact\nkentkawashima@gmail.com\n\n\nLicense: MIT License \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": "https://github.com/kentwait/ircodec", "keywords": "pigpio,ir,raspberry,pi", "license": "", "maintainer": "", "maintainer_email": "", "name": "ircodec", "package_url": "https://pypi.org/project/ircodec/", "platform": "", "project_url": "https://pypi.org/project/ircodec/", "project_urls": { "Homepage": "https://github.com/kentwait/ircodec" }, "release_url": "https://pypi.org/project/ircodec/0.3.0/", "requires_dist": [ "pigpio" ], "requires_python": "", "summary": "Send and receive IR commands using pigpio", "version": "0.3.0" }, "last_serial": 4772285, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "87ceb824df5517efd09e5a76ab24722c", "sha256": "62b18ef385aa784b5dd00cc152958dc6df912bfd1a5af2b2112450f0f69ec5c7" }, "downloads": -1, "filename": "ircodec-0.1.0.tar.gz", "has_sig": false, "md5_digest": "87ceb824df5517efd09e5a76ab24722c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5859, "upload_time": "2019-01-26T15:24:46", "url": "https://files.pythonhosted.org/packages/55/66/36fc7e34122e617629214a7cf12374663d3d7bb2ac2df7b42237e58bf281/ircodec-0.1.0.tar.gz" } ], "0.1.0.post1": [ { "comment_text": "", "digests": { "md5": "283aa4cd94fd4ac6dcd834db0291edc2", "sha256": "a30c5f4c7cbc0f4c4236c85d68f062435d8574cc8c8ac8de835a0c9c23672492" }, "downloads": -1, "filename": "ircodec-0.1.0.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "283aa4cd94fd4ac6dcd834db0291edc2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8858, "upload_time": "2019-02-02T09:08:37", "url": "https://files.pythonhosted.org/packages/b2/63/fd6d4b39aaed5072c0ad096fc0c5f7fb4d3898ce9f0935355a3d3e346751/ircodec-0.1.0.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13ba638c639070510eb189596aa6732a", "sha256": "9b49fc0838c07c93b1ca6483f886bf9c9ac8c6599ddf142eb28147a80d8c8784" }, "downloads": -1, "filename": "ircodec-0.1.0.post1.tar.gz", "has_sig": false, "md5_digest": "13ba638c639070510eb189596aa6732a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6181, "upload_time": "2019-01-26T15:30:33", "url": "https://files.pythonhosted.org/packages/ce/c7/c3ed1ade46767d7ddfdf80a6733e857d9388579e8be6d02331feb814544a/ircodec-0.1.0.post1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f9180429b8c0332c28774a403da722be", "sha256": "325a049a72db13773b0bb9701e0d6aa54592a642a2771bf3b9ea86667b17a37d" }, "downloads": -1, "filename": "ircodec-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f9180429b8c0332c28774a403da722be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8788, "upload_time": "2019-02-02T09:13:30", "url": "https://files.pythonhosted.org/packages/90/1f/accbdcdcefa947bbb3a4717f3577aa6009eb215b5e2c5c0d6fe43f8ba544/ircodec-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e77cdaf02093bb33a6b3459649714b5", "sha256": "11a07bc62009bf46337adf40026de510859205a90a7de82d4f390a88741b9c34" }, "downloads": -1, "filename": "ircodec-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6e77cdaf02093bb33a6b3459649714b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6891, "upload_time": "2019-02-01T14:23:31", "url": "https://files.pythonhosted.org/packages/20/ff/7448c81d883318b67573c4ccff8581a4a62a95786eaed0c1d842385545ec/ircodec-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4d27e1daa19073b2fd9810e6e9ab89be", "sha256": "ff5798d3262e8c65480b2bb5d8c37c76f26474eca8d4076a5a61c0b7c3ab4751" }, "downloads": -1, "filename": "ircodec-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4d27e1daa19073b2fd9810e6e9ab89be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8845, "upload_time": "2019-02-02T13:56:28", "url": "https://files.pythonhosted.org/packages/16/86/65e675fa0fd32e297caaf2f24c8e93d400bdd08c01130d849332334c9224/ircodec-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0375002cdc772e8d12001fa28933c3fa", "sha256": "fdf4390e932a46a18ad2bc5810803b97818e2a73e4aeb7c0ffeebddfb31bacf6" }, "downloads": -1, "filename": "ircodec-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0375002cdc772e8d12001fa28933c3fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7042, "upload_time": "2019-02-02T13:58:28", "url": "https://files.pythonhosted.org/packages/eb/60/058ce35f3c53a4626b5cd30c9c84a74c3fa361fae84ef3ee4d6b0b64455f/ircodec-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d27e1daa19073b2fd9810e6e9ab89be", "sha256": "ff5798d3262e8c65480b2bb5d8c37c76f26474eca8d4076a5a61c0b7c3ab4751" }, "downloads": -1, "filename": "ircodec-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4d27e1daa19073b2fd9810e6e9ab89be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8845, "upload_time": "2019-02-02T13:56:28", "url": "https://files.pythonhosted.org/packages/16/86/65e675fa0fd32e297caaf2f24c8e93d400bdd08c01130d849332334c9224/ircodec-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0375002cdc772e8d12001fa28933c3fa", "sha256": "fdf4390e932a46a18ad2bc5810803b97818e2a73e4aeb7c0ffeebddfb31bacf6" }, "downloads": -1, "filename": "ircodec-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0375002cdc772e8d12001fa28933c3fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7042, "upload_time": "2019-02-02T13:58:28", "url": "https://files.pythonhosted.org/packages/eb/60/058ce35f3c53a4626b5cd30c9c84a74c3fa361fae84ef3ee4d6b0b64455f/ircodec-0.3.0.tar.gz" } ] }