{
  "id": "raspberrypifoundation/picozero",
  "name": "picozero",
  "prettyName": "picozero",
  "description": "A beginner-friendly library for using common electronics components with the Raspberry Pi Pico.",
  "version": "",
  "author": "raspberrypifoundation",
  "license": "MIT",
  "tags": [],
  "status": "VALID",
  "official": false,
  "source": "https://github.com/raspberrypifoundation/picozero",
  "updatedAt": "2026-06-30T07:00:47.482Z",
  "page": "https://checkmim.com/packages/raspberrypifoundation+picozero",
  "createdAt": "2025-05-30T00:18:49.997Z",
  "submittedBy": "scruss",
  "install": {
    "mpremote": "mpremote mip install github:raspberrypifoundation/picozero",
    "mip": "import mip; mip.install(\"github:raspberrypifoundation/picozero\")"
  },
  "readme": "# picozero\n\n|pypibadge| |docsbadge|\n\nA beginner-friendly library to help you use common electronics components with the Raspberry Pi Pico.\n\n```python\nfrom picozero import LED, Button\nled = LED(1)\nbutton = Button(2)\nbutton.when_pressed = led.on\nbutton.when_released = led.off\n```\n\n## Status\n\nBeta. There will be bugs and issues. API changes are likely. More devices will be added over time.\n\n## Documentation\n\nDocumentation is available at [picozero.readthedocs.io](https://picozero.readthedocs.io):\n\n- [Installation and getting started guide](https://picozero.readthedocs.io/en/latest/gettingstarted.html)\n- [Recipes and how-to's](https://picozero.readthedocs.io/en/latest/recipes.html)\n- [API](https://picozero.readthedocs.io/en/latest/api.html)\n- [Example code](https://github.com/RaspberryPiFoundation/picozero/tree/master/docs/examples)\n\n## Code\n\nThe code and project is at [github.com/RaspberryPiFoundation/picozero](https://github.com/RaspberryPiFoundation/picozero). \n\nIssues can be raised at [github.com/RaspberryPiFoundation/picozero/issues](https://github.com/RaspberryPiFoundation/picozero/issues) (see [Contributing](https://picozero.readthedocs.io/en/latest/contributing.html)).\n\nThe latest distribution is available at [pypi.org/project/picozero/](https://pypi.org/project/picozero/).\n\n## Thanks\n\npicozero is inspired by [gpiozero](https://gpiozero.readthedocs.io/en/stable/) (and reuses some of its underlying structure), but is, by design, lighter weight and aligned with the Raspberry Pi Pico. Thank you to everyone who has contributed to the gpiozero project.\n\n.. |pypibadge| image:: [https://badge.fury.io/py/picozero.svg](https://badge.fury.io/py/picozero.svg)\n   :target: [https://badge.fury.io/py/picozero](https://badge.fury.io/py/picozero)\n   :alt: Latest Version\n\n.. |docsbadge| image:: [https://readthedocs.org/projects/picozero/badge/](https://readthedocs.org/projects/picozero/badge/)\n   :target: [https://readthedocs.org/projects/picozero/](https://readthedocs.org/projects/picozero/)\n   :alt: Docs\n"
}