Tex-utils is a project mainly written in ..., it's free.
LaTeX Configuration Files
See source of files for instructions and examples of use.