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 epmc 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.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

europe_pmc-1.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: europe_pmc-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.3

File hashes

Hashes for europe_pmc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 50f01a9f5baf57204c2183d8878f9a9dedb9c430c83c4d54b8f214cbd1e1a1e4
MD5 2faa7e1b1bf014067776fa2b2f01c1b4
BLAKE2b-256 102343118e063ecdcc0373ca22b770a2a980e746b71d8dc512addc00f30f7e33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: europe_pmc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.3

File hashes

Hashes for europe_pmc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e618b599a5316f9954a00a5bf202d3764871ee2097bbfcedcd137d2b82bbbc
MD5 dcdb6bfde5c353d3de2f779eb8cc2c10
BLAKE2b-256 c4b75252679ccdb46577c947c8c5d39e69dad649dc3e97d0cdd857791caa5755

See more details on using hashes here.

Supported by

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