Skip to main content

A Python package to download PDFs from OA publications in PubMed

Project description

A Python package to download PDFs from OA publications in PubMed. The underlying code is forked from https://github.com/billgreenwald/Pubmed-Batch-Download. Downloaded files are located by default in your personal folder under the ‘pubmed2pdf’ directory.

Installation

pubmed2pdf can be installed from PyPI with the following command in your terminal:

$ python3 -m pip install pubmed2pdf

The latest code can be installed from GitHub with:

$ python3 -m pip install git+https://github.com/ddomingof/PubMed2PDF.git

For developers, the code can be installed with:

$ git clone https://github.com/ddomingof/PubMed2PDF.git
$ cd PubMed2PDF
$ python3 -m pip install -e .

How to Use

PubMed2PDF works by simply typing the list of PubMed identifiers in your command line interface or reading them from a file.

Example from file:

$ python3 -m pubmed2pdf pdf --pmidsfile="/my/path/to/the/file"
$ python3 -m pubmed2pdf pdf --pmids="123, 1234, 12345"

Run the help command to see all functionalities

$ python3 -m pubmed2pdf pdf --help

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

pubmed2pdf-0.0.5.dev0.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file pubmed2pdf-0.0.5.dev0.tar.gz.

File metadata

  • Download URL: pubmed2pdf-0.0.5.dev0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for pubmed2pdf-0.0.5.dev0.tar.gz
Algorithm Hash digest
SHA256 9b1fda469cb6902506a6cafdfda35378f1fe0a39eccc54824b29e0f6f710d456
MD5 d70f7d6d3ed435818271d1d633d77209
BLAKE2b-256 c5ad6ed142750e08143406c8a45f875e6db654517c455ccc63e35ffb2675f4a8

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