Patch tool written in Python.