Skip to main content

Open Access PDF Downloader with EuropePMC

Project description

Open Access PDF Downloader with EuropePMC

Installation

python3 -m pip install europe_pmc

Usage

CMD

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

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

europe_pmc-1.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

europe_pmc-1.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file europe_pmc-1.0.1.tar.gz.

File metadata

  • Download URL: europe_pmc-1.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for europe_pmc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 77bdd538ae6a4151dcbe272e9115073ce42a66414417cb58e5fd8502a2a95282
MD5 42e667162bd573827f238e7ed578253b
BLAKE2b-256 4e14bca5afc997ae58e77d8e9f59853ff729e22f3b9fc21a7d234af4759194a2

See more details on using hashes here.

File details

Details for the file europe_pmc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: europe_pmc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for europe_pmc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 607b8426d563678facda5e02cebcdf71c97da4d8e54f2ca6fa8c2e3315aaa4a3
MD5 36b52130704b87e90adf912d176a32aa
BLAKE2b-256 42a2756f5a72bc9525fc6911282ef64aad7962d6cee4968604d29e00f471b51f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page