Comparison
gpiozero vs lgpio vs pigpio
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A simple interface to GPIO devices with Raspberry Pi
Maintained. Last release 4 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install gpiozeroLinux SBC GPIO module
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install lgpioRaspberry Pi GPIO module
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install pigpioIn short
- lgpio is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pigpio looks abandoned: avoid it for new projects.
- gpiozero is the most used: 256.2K downloads a month, 3.2× more than pigpio.
- gpiozero also has the best Pythie’s Index (48).