This project contains a python module for interfacing with gpio pins from user space via sysfs in linux. This is a modified version of the code originally found here