raspberry-gpio-python Wiki
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
Detailed technical reference can be found at:
Note that RPi pins 3 and 5 (Rev2 and B+ GPIO 02 and 03, Rev1 - GPIO 00 and 01) have 1K8 pull-up resistors to 3v3.