use python lib to parse a bibtex file and more