#117 · Primary category: NLP Tools & Text Processing

pubmed_parser

article doi medline-xml nlp parse parser pmid pubmed-central pubmed-parser python xml

:clipboard: A Python Parser for PubMed Open-Access XML Subset and MEDLINE XML Dataset

Project last updated:07/31/25

GitHub Stars

737

Forks

181

Contributors

41

License

MIT

Why we included this project

PubMed's XML records are messy enough that most teams end up writing the same fragile parsing code over and over. This library does that work once: it reads the PubMed Open-Access subset, MEDLINE XML, and Entrez E-utils responses into plain Python dictionaries, with parsers for article metadata, citations, paragraphs, images, captions, and grant IDs. For anyone doing text mining, bibliometrics, or biomedical NLP, that means the analysis gets your attention instead of the record formats, which vary between journals and database versions. The codebase is small enough to read and adapt, so when you need a field the built-in parsers don't expose, you can extend it rather than start from scratch.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category