This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Download PubMed abstract with Python

Dear all,

I am looking for a library in Python to download abstracts from PubMed. I am looking preferentially for a library that allows to download abstracts, metadata, if it is cited from other papers and so on.

I have downloaded from PubMed in the past using a library in R, however my pipeline is in Python (after downloading and cleaning I will use a machine learning model so I would like that all the passage are in Python.

I have seen some alternatives in R or in command line but I would like to know which Python library you recommend. If you have some library to recommend, some sample code or tutorial about that in Python, I would be really glad if you can share it.

thank you,

Salvatore

python pubmed

1 answer

pyton ( https://stackoverflow.com/questions/22676/ ) + eutils+efetch ( https://www.ncbi.nlm.nih.gov/books/NBK25500/ )

Log in to answer this question.