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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pubmed2pdf-0.0.3.tar.gz
.
File metadata
- Download URL: pubmed2pdf-0.0.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c24dd9eb0cc9d639aa0e67ce156abb355518d85a6297874a67a2d56e0bf5e48 |
|
MD5 | d0bf0f24a19c3ae42b15e394aff6d3d4 |
|
BLAKE2b-256 | 76bbb4313041a1130f00285b652b898ea7342a7f7c8c8ba41f6894da5816f0bf |