{ "info": { "author": "Erick Daniszewski", "author_email": "erick@vapor.io", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python", "Topic :: Software Development :: Libraries" ], "description": "# fake-rpigpio\n\n`fake-rpigpio` is a package intended to provide a lightweight (dependency-free) fake\ninterface for Raspberry Pi GPIO. The GPIO functions match those in the [`RPi.GPIO`](https://pypi.org/project/RPi.GPIO/)\nlibrary, however the functions do nothing. This makes it easier to test GPIO-related code\nand to get the code to run on non-pi machines.\n\n## Installation\n\nThis package can be installed via pip:\n\n```\npip install fake-rpigpio\n``` \n\n## Usage\n\nA basic example of using this package to run with `RPi.GPIO` on a Pi and `fake-rpigpio` on\na non-Pi:\n\n```python\ntry:\n import RPi.GPIO\nexcept (RuntimeError, ModuleNotFoundError):\n import fake_rpigpio.utils\n fake_rpigpio.utils.install()\n```\n\nThis will install `fake-rpigpio.RPi` as `RPi` and `fake-rpigpio.RPi.GPIO` as `RPi.GPIO`,\nso you should not need to change imports for the `RPi.GPIO` library.\n\n## Acknowledgements\n\nThe following projects inspired this one. While all are similar, the usage and dependency\nweight varies between projects.\n\n* [`fake_rpi`](https://github.com/MomsFriendlyRobotCompany/fake_rpi)\n* [`fakeRPiGPIO`](https://github.com/luxedo/fakeRPiGPIO)\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/vapor-ware/fake-rpigpio", "keywords": "", "license": "GNU General Public License v3.0", "maintainer": "", "maintainer_email": "", "name": "fake-rpigpio", "package_url": "https://pypi.org/project/fake-rpigpio/", "platform": "", "project_url": "https://pypi.org/project/fake-rpigpio/", "project_urls": { "Homepage": "https://github.com/vapor-ware/fake-rpigpio" }, "release_url": "https://pypi.org/project/fake-rpigpio/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Fake Raspberry PI GPIO drop-in replacement for RPi.GPIO", "version": "0.1.0" }, "last_serial": 5536213, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "94ec2d0429520511ef30c266647d5777", "sha256": "fd153c305573d97969b8812444b67f7b59243458547a982c14b1a8fb84c3887b" }, "downloads": -1, "filename": "fake_rpigpio-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "94ec2d0429520511ef30c266647d5777", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15554, "upload_time": "2019-07-15T17:49:51", "url": "https://files.pythonhosted.org/packages/8a/8c/c7855cc87cb32bcf2ff53f20b65c314e4ec4cd60ab5d23b3f90c8bd65ba7/fake_rpigpio-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11250969364b106eb4374e42717f1e96", "sha256": "fdd4f13a782a53308d2289b1f144bc7c130a96693193e969b113b2d106e9d804" }, "downloads": -1, "filename": "fake_rpigpio-0.1.0.tar.gz", "has_sig": false, "md5_digest": "11250969364b106eb4374e42717f1e96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2743, "upload_time": "2019-07-15T17:49:53", "url": "https://files.pythonhosted.org/packages/2a/4c/cce521483deefe403998590509aa86ce2153e3ad14532cd2c4328e903448/fake_rpigpio-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "94ec2d0429520511ef30c266647d5777", "sha256": "fd153c305573d97969b8812444b67f7b59243458547a982c14b1a8fb84c3887b" }, "downloads": -1, "filename": "fake_rpigpio-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "94ec2d0429520511ef30c266647d5777", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15554, "upload_time": "2019-07-15T17:49:51", "url": "https://files.pythonhosted.org/packages/8a/8c/c7855cc87cb32bcf2ff53f20b65c314e4ec4cd60ab5d23b3f90c8bd65ba7/fake_rpigpio-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11250969364b106eb4374e42717f1e96", "sha256": "fdd4f13a782a53308d2289b1f144bc7c130a96693193e969b113b2d106e9d804" }, "downloads": -1, "filename": "fake_rpigpio-0.1.0.tar.gz", "has_sig": false, "md5_digest": "11250969364b106eb4374e42717f1e96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2743, "upload_time": "2019-07-15T17:49:53", "url": "https://files.pythonhosted.org/packages/2a/4c/cce521483deefe403998590509aa86ce2153e3ad14532cd2c4328e903448/fake_rpigpio-0.1.0.tar.gz" } ] }