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
Metadata
Release files for pubmed2pdf 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pubmed2pdf-0.0.7.tar.gz | 7.4 kB | Without provenance | Details |
Release files / pubmed2pdf-0.0.7.tar.gz
| Download URL | pubmed2pdf-0.0.7.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a332bd416c99858b5883587f34c80030861c20d2dc90ebb2c76e2388b81990b
|
|
BLAKE2b-256 checksum How to use checksums |
3cb1b49dd54f22cd700355adb61e7c43124fcf114c8c933074756c75cd8c080e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Security for pubmed2pdf 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.