check out torque, alot of in ansi but the methodology is unparalleled.
gimpAutomation
pycurses0.2
add