Document Intelligence Python