You’re in the right place. The libraries are wiring pi, pigpio, gpiozero, rpi.gpio What is the rpi.gpio library
PHP+Python+GPIO on Raspberry pi 2 – HS3UKA.COM
The rpi.gpio module is a python library that allows us to easily control the gpio pins on a raspberry pi
It provides a simple interface for configuring the pins.
This package provides a python module to control the gpio on a raspberry pi Gpio zero builds on a number of underlying pin libraries, including rpi.gpio and pigpio, each with their own benefits You can select a particular pin library to be used, either for the whole script or per. It allows users to easily work with components like leds, buttons, sensors, and motors without.
If you're running python 3 (idle3 on the command line) instead of python 2 (python on the command line) you need to install the rpi.gpio library with this command instead: Learn how to control raspberry pi gpio pins using python Understand about gpio pinout, programming, installation, commands, and examples This is because you can not predict when.
Gpio zero is the recommendation in the official os documentation
It should be installed by default with rpi os 12/bookworm