https://github.com/suqingdong/europe_pmc
Open Access PDF Downloader with EuropePMC
https://github.com/suqingdong/europe_pmc
europepmc pmc
Last synced: 21 days ago
JSON representation
Open Access PDF Downloader with EuropePMC
- Host: GitHub
- URL: https://github.com/suqingdong/europe_pmc
- Owner: suqingdong
- Created: 2022-11-21T10:47:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2026-03-25T09:30:27.000Z (3 months ago)
- Last Synced: 2026-03-26T12:57:03.246Z (3 months ago)
- Topics: europepmc, pmc
- Language: Python
- Homepage: https://suqingdong.github.io/europe_pmc/
- Size: 10.7 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open Access PDF Downloader with EuropePMC
## Installation
```bash
python3 -m pip install europe_pmc
```
## Usage
### CMD
```bash
epmc --help
# single download
epmc 30003000 # PMID
epmc PMC6039336 # PMCID
epmc 10.1007/s13205-018-1330-z # DOI
epmc "Identification of miRNAs and their targets in regulating tuberous root development" # Title
# batch download
epmc 30003000 30003001 30003002
# batch download from a file
epmc pmid.list
# specific output
epmc pmid.list --outdir paper --outfile {pubYear}.{pmid}.{title}.pdf
# multithreads download
epmc pmid.list --threads 4
# list only
epmc pmid.list --list
# show information only
epmc pmid.list --info
```
### Python
```python
from europe_pmc import EuropePMC
pmc = EuropePMC()
r = pmc.fetch('30003000')
r = pmc.fetch('PMC6039336')
r = pmc.fetch('10.1007/s13205-018-1330-z')
print(r.pmid, r.pmcid, r.title)
print(r.data)
r.save()
r.save(outfile='output.pdf')
```