{ "info": { "author": "Thomas Preston", "author_email": "thomasmarkpreston@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Cython", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "python-lirc\n===========\n\nLIRC extension written in Cython for Python 3 (and 2). I'm trying to get this into\n[Debian](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=Bug%23718980)\n\n[PyPI](https://pypi.python.org/pypi/python-lirc/)\n\nInstall\n=======\n`python-lirc` and `python3-lirc` are in the main repositories for Raspbian. If you're on a\nRaspberryPi you can just run:\n\n $ sudo apt-get install python3-lirc # or python-lirc\n\nOtherwise, download the latest relase from\n[here](https://github.com/tompreston/python-lirc/releases) and install with:\n\n $ sudo dpkg -i python3-lirc_1.2.1-1_all.deb\n\nConfigure\n=========\n\nYou need a valid [lircrc configuration file](http://www.lirc.org/html/configure.html#lircrc_format). For example:\n\n $ cat ~/.lircrc\n begin\n button = 1 # what button is pressed on the remote\n prog = myprogram # program to handle this command\n config = one, horse # configs are given to program as list\n end\n\n begin\n button = 2\n prog = myprogram\n config = two\n end\n\nUse\n===\n\n $ python3\n >>> import lirc\n >>> sockid = lirc.init(\"myprogram\")\n >>> lirc.nextcode() # press 1 on remote after this\n ['one', 'horse']\n >>> lirc.deinit()\n\nLoad custom configurations with:\n\n >>> sockid = lirc.init(\"myprogram\", \"mylircrc\")\n >>> lirc.load_config_file(\"another-config-file\") # subsequent configs\n\nSet whether `nextcode` blocks or not with:\n\n >>> sockid = lirc.init(\"myprogram\", blocking=False)\n >>> lirc.set_blocking(True, sockid) # or this\n\n\nBuilding and Installing\n=======================\nIf you want to install manually then you may also need to install\ncython and some dev libraries:\n\n $ sudo aptitude install liblircclient-dev cython gcc \\\n python{,3}-setuptools python{,3}-dev\n\nDownload, compile and install for Python 3 and 2.\n\n git clone https://github.com/tompreston/python-lirc.git\n cd python-lirc/\n make py3 && sudo python3 setup.py install\n make py2 && sudo python setup.py install\n\nOr just install straight from PyPI:\n\n sudo easy_install3 python-lirc\n sudo easy_install python-lirc\n\nDevelopment\n===========\n1. Install the dev libraries as above.\n2. Make changes to `lirc/lirc.pyx`.\n3. Compile with `make py3 && python3 setup.py build`\n4. Test with `python3 tests/tests.py`\nChange Log\n==========\n\nv1.2.3\n------\n- Rebuilt (again) and uploaded to PyPi.\n- Added requirements.txt\n\nv1.2.2\n------\n- Rebuilt and uploaded to PyPi.\n\nv1.2.1\n------\n- Fixed `set_blocking` bug (issue #2).\n- Added nonblocking tests.\n- Added python-dev and python3-dev to README.\n\nv1.2.0\n------\n- Structured for Debian packaging.\n\nv1.1\n----\n- Tidied up project structure.\n- init now tries to use config at ~/.lircrc and then /etc/lirc/lircrc.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tompreston/python-lirc", "keywords": "lirc cython remote ir infrared", "license": "GPLv3+", "maintainer": null, "maintainer_email": null, "name": "python-lirc", "package_url": "https://pypi.org/project/python-lirc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-lirc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/tompreston/python-lirc" }, "release_url": "https://pypi.org/project/python-lirc/1.2.3/", "requires_dist": null, "requires_python": null, "summary": "Python bindings for LIRC.", "version": "1.2.3" }, "last_serial": 2270145, "releases": { "1.0": [ { "comment_text": "built for Linux-3.6.11+-armv6l-with-glibc2.9", "digests": { "md5": "849b814cecce95d4b0be914695b41b26", "sha256": "67544bda55d799e6e6e1a6b8a8308d57c1b612819dd0e3d5c9a83e2c806c7708" }, "downloads": -1, "filename": "python-lirc-1.0.linux-armv6l.tar.gz", "has_sig": false, "md5_digest": "849b814cecce95d4b0be914695b41b26", "packagetype": "bdist_dumb", "python_version": "3.2", "requires_python": null, "size": 42841, "upload_time": "2013-06-14T12:12:27", "url": "https://files.pythonhosted.org/packages/57/6e/6dc0bc2348fc56917ec89ce6039546d566837c8cd6d8c5c793123c06cff4/python-lirc-1.0.linux-armv6l.tar.gz" }, { "comment_text": "built for Linux-3.2.0-4-amd64-x86_64-with-glibc2.9", "digests": { "md5": "3da44fea3a976dff4ca1b1a19b376a63", "sha256": "f7c99ebdcf72bff8080ded3b1d193d9d2483e2b32068d146655018b5e6e09d3b" }, "downloads": -1, "filename": "python-lirc-1.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "3da44fea3a976dff4ca1b1a19b376a63", "packagetype": "bdist_dumb", "python_version": "3.2", "requires_python": null, "size": 53122, "upload_time": "2013-06-14T12:08:07", "url": "https://files.pythonhosted.org/packages/7c/ac/97bd0288df713695665b5e550cb5e5178114278d3eb7a7fbb715bd6d088b/python-lirc-1.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "0df49980dd4240d81eb3888d0a525b42", "sha256": "72d3cb2b3c9c97b068b8f876edb3340fb85ed79942933d66cabae68dce087b88" }, "downloads": -1, "filename": "python-lirc-1.0.tar.gz", "has_sig": false, "md5_digest": "0df49980dd4240d81eb3888d0a525b42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 932, "upload_time": "2013-06-14T12:05:18", "url": "https://files.pythonhosted.org/packages/ff/0a/11d8d79fa3edf5c09f17b5d1e93e91a2afcb1a43df1aca88d20105c41af7/python-lirc-1.0.tar.gz" } ], "1.1": [ { "comment_text": "built for Linux-3.6.11+-armv6l-with-glibc2.9", "digests": { "md5": "6799c5bff1ee8bead3ec9b17515f84e1", "sha256": "4b03fc525343b18a061c1010a631a2bce6372cf85dc2078f34ce9829205cc2e8" }, "downloads": -1, "filename": "python-lirc-1.1.linux-armv6l.tar.gz", "has_sig": false, "md5_digest": "6799c5bff1ee8bead3ec9b17515f84e1", "packagetype": "bdist_dumb", "python_version": "3.2", "requires_python": null, "size": 49075, "upload_time": "2013-07-04T12:54:20", "url": "https://files.pythonhosted.org/packages/37/8a/1390929f89fd4f65b1cdc41926410eb2443c24f2dd320e488922952c4121/python-lirc-1.1.linux-armv6l.tar.gz" }, { "comment_text": "built for Linux-3.2.0-4-amd64-x86_64-with-glibc2.9", "digests": { "md5": "4552ec67acbb2f5330d8f64d424302e8", "sha256": "afcfb9290e196a66888488ea934b6fece5384a35dc62c9f44e2cc8ed27db4193" }, "downloads": -1, "filename": "python-lirc-1.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "4552ec67acbb2f5330d8f64d424302e8", "packagetype": "bdist_dumb", "python_version": "3.2", "requires_python": null, "size": 60278, "upload_time": "2013-07-04T12:50:14", "url": "https://files.pythonhosted.org/packages/ae/29/6df23cd01eb10a40c7951351e721273cbc85468dda93609919f5904ad9d1/python-lirc-1.1.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "26b2248d152cd9be44cc9d2493e89ef7", "sha256": "9c964c47e5007d1261b06cb466720f6c25380d6ba659b64015010df7fc414890" }, "downloads": -1, "filename": "python-lirc-1.1.tar.gz", "has_sig": false, "md5_digest": "26b2248d152cd9be44cc9d2493e89ef7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25504, "upload_time": "2013-07-04T12:50:10", "url": "https://files.pythonhosted.org/packages/9b/07/e7cda4a9f0502e04c08f29aaa6129a6ee6a5b7280af222904803b8fb9528/python-lirc-1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "64c21b16f7cb5942150f92ba0d9e1001", "sha256": "ab93f7f5ca1db8389cb6ff950c6670bdcd82d78fa640beff6b0b41200e8eb867" }, "downloads": -1, "filename": "python-lirc-1.2.0.tar.gz", "has_sig": false, "md5_digest": "64c21b16f7cb5942150f92ba0d9e1001", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25791, "upload_time": "2013-08-23T11:19:57", "url": "https://files.pythonhosted.org/packages/11/3b/b5af27cbc48ff8d56531195dd582dd1ee91dad6f49ec175a223b85d75e22/python-lirc-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "87976c6260eda2d3d04340b627c4b5b2", "sha256": "0a7d1ae2d7a25ba36575843259fbe4417a760c7b2c2a8abc53e4999a90130dd4" }, "downloads": -1, "filename": "python-lirc-1.2.1.tar.gz", "has_sig": false, "md5_digest": "87976c6260eda2d3d04340b627c4b5b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26315, "upload_time": "2014-09-24T10:37:03", "url": "https://files.pythonhosted.org/packages/f2/65/8a4b8c541de1ac1edece4122adc76869f17d10b34853391848120bad77c7/python-lirc-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "2ff9c63110a7230aac05a32822ae1f81", "sha256": "5b94ef975533d00c197f659573f4f4bbc381e85c906b9efb69b7cd82afa8ad26" }, "downloads": -1, "filename": "python-lirc-1.2.2.tar.gz", "has_sig": false, "md5_digest": "2ff9c63110a7230aac05a32822ae1f81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36487, "upload_time": "2016-08-08T21:59:25", "url": "https://files.pythonhosted.org/packages/ca/79/29d172fe1190882bc1e4c354f0c041274a392a6c399cf581911ed5d617fe/python-lirc-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "8ee12bf21d349f6a7726fdf55a6b9246", "sha256": "61481b36cc9c10cd215f7ddd93990f7c722af3d918c297bf2366fce1ca39b1f3" }, "downloads": -1, "filename": "python-lirc-1.2.3.tar.gz", "has_sig": false, "md5_digest": "8ee12bf21d349f6a7726fdf55a6b9246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36616, "upload_time": "2016-08-08T22:03:11", "url": "https://files.pythonhosted.org/packages/20/37/5614ed0459439a96430e1aac479b6608b51e69ca0bd7d91277517d5895e9/python-lirc-1.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ee12bf21d349f6a7726fdf55a6b9246", "sha256": "61481b36cc9c10cd215f7ddd93990f7c722af3d918c297bf2366fce1ca39b1f3" }, "downloads": -1, "filename": "python-lirc-1.2.3.tar.gz", "has_sig": false, "md5_digest": "8ee12bf21d349f6a7726fdf55a6b9246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36616, "upload_time": "2016-08-08T22:03:11", "url": "https://files.pythonhosted.org/packages/20/37/5614ed0459439a96430e1aac479b6608b51e69ca0bd7d91277517d5895e9/python-lirc-1.2.3.tar.gz" } ] }