$npx skillfedfor your agent

RPi.GPIO

A module to control Raspberry Pi GPIO channels

SkipPyPI Software DevelopmentReleased Feb 202297.6K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — RPi.GPIO-0.7.1-cp27-cp27mu-linux_armv6l.whl · RPi.GPIO-0.7.1-cp310-cp310-linux_armv6l.whl · RPi.GPIO-0.7.1-cp37-cp37m-linux_armv6l.whl
v0.7.1 · released 2022-02-06

No, not for new projects. The package is abandoned (no updates for 1650 days) and explicitly unsuitable for timing-critical work. Install only if you are maintaining legacy code already using RPi.GPIO. For new Raspberry Pi GPIO projects, consider actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires running on Raspberry Pi hardware with Linux kernel; not suitable for real-time or timing-critical applications due to Python garbage collection and kernel multitasking jitter.
  • Medium install friction due to platform-specific wheels (linux_armv6l only) and C extension compilation requirements.
  • Package is abandoned as of 1650 days since last release, with no active maintenance or repository updates.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

last release 2022-02-06 (1650 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 97,601 downloads/mo, #13,143 on PyPI

Verify before relying

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(GPIO.OUT)
GPIO.output(GPIO.HIGH)
GPIO.cleanup()
  • Whether the package works reliably on current Raspberry Pi models (last tested with Python 3.10, released 2022-02-06)
  • Compatibility with modern Raspberry Pi OS distributions and kernel versions
  • Whether SPI, I2C, hardware PWM, serial, or one-wire functionality mentioned as 'planned' was ever implemented
Same gist for agents: .md · .json

What it is and what it does

RPi.GPIO is a Python module for controlling GPIO pins on Raspberry Pi hardware. It allows you to set pins as inputs or outputs, read digital states, detect rising/falling edges with callbacks, and generate software PWM signals. The module provides both BCM (Broadcom GPIO numbering) and BOARD (physical pin numbering) modes, plus pull-up/pull-down resistor configuration on input pins.

The package is a C extension that accesses GPIO hardware via /dev/gpiomem (or /dev/mem as fallback), avoiding the need for root privileges in most cases. However, the author explicitly warns that it is unsuitable for real-time or timing-critical applications because Python's garbage collection and Linux kernel multitasking introduce unpredictable jitter. The package does not support SPI, I2C, hardware PWM, or serial functionality—only digital I/O and software PWM are available.

Use it for

  • Control LEDs, relays, and other digital outputs on a Raspberry Pi project
  • Detect button presses and other digital input events with edge-triggered callbacks
  • Generate PWM signals for motor speed control or LED brightness using software PWM
  • Implement home automation or IoT projects requiring GPIO-based sensor/actuator control
  • Read sensor states and respond to state changes in hobbyist robotics applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, not for new projects.

The package is abandoned (no updates for 1650 days) and explicitly unsuitable for timing-critical work. Install only if you are maintaining legacy code already using RPi.GPIO. For new Raspberry Pi GPIO projects, consider actively maintained alternatives.

Install

rpi-gpio on PyPI

Before you install

Medium install friction due to platform-specific wheels (linux_armv6l only) and C extension compilation requirements. Package is abandoned as of 1650 days since last release, with no active maintenance or repository updates.

Requires running on Raspberry Pi hardware with Linux kernel; not suitable for real-time or timing-critical applications due to Python garbage collection and kernel multitasking jitter.

License in practice

MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(GPIO.OUT)
GPIO.output(GPIO.HIGH)
GPIO.cleanup()

Verify before relying

  • Whether the package works reliably on current Raspberry Pi models (last tested with Python 3.10, released 2022-02-06)
  • Compatibility with modern Raspberry Pi OS distributions and kernel versions
  • Whether SPI, I2C, hardware PWM, serial, or one-wire functionality mentioned as 'planned' was ever implemented

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,650 days since the last release
First released
Downloads97,601 / month, #13,143 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Home AutomationTopic :: Software DevelopmentTopic :: System :: Hardware

Evidence: RPi.GPIO-0.7.1-cp27-cp27mu-linux_armv6l.whl; RPi.GPIO-0.7.1-cp310-cp310-linux_armv6l.whl; RPi.GPIO-0.7.1-cp37-cp37m-linux_armv6l.whl; RPi.GPIO-0.7.1-cp38-cp38-linux_armv6l.whl; RPi.GPIO-0.7.1-cp39-cp39-linux_armv6l.whl

Tags

Capabilities
raspberry pi gpio control pythonrpi pin control libraryraspberry pi digital iogpio edge detection eventssoftware pwm raspberry pirpi board pin setupraspberry pi hardware interface
Topics
raspberry-pigpio-controlabandoned
PyPI keywords
RaspberryPiGPIO

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rpi pin control library”

  • RPi.GPIORPi.GPIO provides Python control over Raspberry Pi GPIO pins,…
  • serialxSerialx provides synchronous and native asynchronous APIs for serial…
  • pinPython interface to a C++ rigid-body dynamics library that computes…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also gpiod · gpiozero · numato-gpio · pigpio · pymata-express · Adafruit-Blinka · libusbsio · zigpy-zigate · pins · asyncua