rope.zip and indenter.py by Ali Gholami Rudi, Rope, GPL
sceditor/highlighter.py by David Boddie, included as demo in PyQt, GPL2 or later