[ Thanks to BlueVoodoo for this link.
]
“To get started writing the plug-in, you are going to
use an open source Python package I wrote called pathtool, which
uses generators to walk a filesystem and yield a file object. This
library was specifically written to allow developers to extend it
by writing their own filters that do something to a file object,
and then return the result.”