GPIO Zero
If you are a Raspberry Pi 5 Python user, you can program GPIOs with API provided by GPIO Zero.