PyDocument is a project mainly written in C and PYTHON, it's free.
Reader/manipulating various types of docs on Python
This project is an efort to add a Python structure to read and manipulate various types of docs (pdf, odf, doc, etc)