Skip to content

GPIO Zero

  • Software
  • Microcontrollers and firmware tools
  • Library

A Python library giving simple access to GPIO components such as LEDs, buttons and sensors on Raspberry Pi. It offers an easy entry point to physical computing.

Made by gpiozero, United Kingdom (checked on github.com/gpiozero (opens in a new tab)).

Source on GitHub: github.com/gpiozero/gpiozero (opens in a new tab). Facts read at commit 4e60a6a (opens in a new tab).

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE.rst (opens in a new tab) (BSD-3-Clause) at commit 4e60a6a (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Provides ready-made interfaces for everyday components like LEDs, buttons, sensors, converters, full-colour LEDs and robotics kits.
  • Lets beginners write a few lines of Python to blink an LED or link a button to an LED.
  • Supports a declarative style where devices are connected through source tools that describe their behaviour.
  • Builds on several underlying pin libraries, selectable for the whole script or per device.
  • Includes a mock pin interface for testing without hardware.

Written by Robotheca from the project's README (opens in a new tab) at commit 4e60a6a.

Getting started

Difficulty
Beginner
Hardware it needs, as the project states it
Raspberry Pi. It is installed by default in the Raspberry Pi OS desktop images; other operating systems, including PCs using remote GPIO or mock pins, are also covered in the documentation.

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
28 Jul 2026 on main
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots on Robotheca that use it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.