Document converter implemented in python.