pigpio VS gpiozero

Compare pigpio vs gpiozero and see what are their differences.

pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO). (by joan2937)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pigpio gpiozero
6 7
1,383 1,809
- 1.3%
0.0 8.0
4 months ago 19 days ago
C Python
The Unlicense GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pigpio

Posts with mentions or reviews of pigpio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-24.
  • Using RPi GPIO from within ROS2 node (Ubuntu 20.04.4)
    2 projects | /r/ROS | 24 May 2022
    pigpio: Here is the repo, but the "abyz" link to the documentation looks to be broken. Not sure how to go about getting the daemon to work - I tried sudo pigpiod as the prompt in Python suggests, but sudo: pigpiod: command not found.
  • GPIO Programming on the Raspberry Pi: Python Libraries
    4 projects | dev.to | 29 Aug 2021
    The pigpio is an actively developed library with an impressive set of features: All GPIO pins of the Raspberry Pi can be read, written to, attached to interrupt handlers, and output PWM signals at the same time. Also, UART, I2C and SPI protocols are implemented. It is written in C and also provides Python bindings. Go to the official Github repository and build the newest version on your Raspberry Pi, or install it with apt install pigpio python-pigpio python3-pigpio.

gpiozero

Posts with mentions or reviews of gpiozero. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-15.

What are some alternatives?

When comparing pigpio and gpiozero you can also consider the following projects:

WiringPi - Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)

tkgpio - A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.

spi-device - SPI serial bus access with Node.js

onoff - GPIO access and interrupt detection with Node.js

WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.

pi-mqtt-gpio - Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.) and digital sensors (LM75 etc.) to an MQTT server for remote control and monitoring.

w1thermsensor - A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.

systemd-gpio - A systemd unit template that does things when gpio events happen.

OctoPrint-Enclosure - OctoPrint Enclosure Plugin

i2c-bus - I2C serial bus access with Node.js