{"repo":"codenio/Mock.GPIO","free":true,"listed":false,"github":"https://github.com/codenio/Mock.GPIO","clone":"git clone https://github.com/codenio/Mock.GPIO.git","description":"Mock Library for RPI.GPIO python Library","language":"Python","stars":35,"topics":["mock-gpio","rpi-gpio","mock","pypi-package","gpio-simulator","gpio","raspberry-pi","python","education"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Mock.GPIO Mock Library for RPi.GPIO. Mock.GPIO helps you develop and debug GPIO-dependent code outside a Raspberry Pi (e.g. on macOS/Linux) while keeping the same API as RPi.GPIO . It prints intended actions when running off-device and works as a drop-in replacement on-device without code changes. Installation Quick start Supported API surface - GPIO.setmode(), GPIO.getmode(), GPIO.setwarnings(), GPIO.setup(), GPIO.output(), GPIO.input() - GPIO.wait for edge(), GPIO.add event detect(), GPIO.event detected(), GPIO.add event callback() - GPIO.remove event detect(), GPIO.gpio function(), GPIO.PWM.start(), GPIO.PWM.ChangeFrequency() - GPIO.PWM.ChangeDutyCycle(), GPIO.PWM.stop(), GPIO.PWM.cleanup() Supported versions - Python: 3.10–3.14 and PyPy 3.11 Documentation - Library Overview - Examples Development Minimal Makefile targets: Test across Python versions (tox + pyenv) Note: Runtime dependencies are intentionally empty to avoid issues on PyPy (e.g., nh3 /PyO3). Dev and packaging tools are installed separately. Contributing Contributions are welcome! Please open an issue or submit a PR. Thanks to contributors Thanks to all the amazing contributors who make this project better. See the full list on the Contributors page. License Licensed under GPL-3.0. See LICENSE .","default_branch":null,"files":null,"tree":[],"storefront":"/r/codenio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codenio/Mock.GPIO/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}