https://github.com/ddomingof/pubmed2pdf
A Python package to download full article PDFs from OA publications
https://github.com/ddomingof/pubmed2pdf
articles-google-scholar open-access pdf pubmed scientific-literature scientific-publications
Last synced: 11 months ago
JSON representation
A Python package to download full article PDFs from OA publications
- Host: GitHub
- URL: https://github.com/ddomingof/pubmed2pdf
- Owner: ddomingof
- License: mit
- Created: 2019-07-18T07:25:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-12T21:51:25.000Z (about 1 year ago)
- Last Synced: 2025-03-31T10:01:35.155Z (12 months ago)
- Topics: articles-google-scholar, open-access, pdf, pubmed, scientific-literature, scientific-publications
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 41
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
PubMed2PDF
==========
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:
.. code-block:: sh
$ python3 -m pip install pubmed2pdf
The latest code can be installed from `GitHub `_
with:
.. code-block:: sh
$ python3 -m pip install git+https://github.com/ddomingof/PubMed2PDF.git
For developers, the code can be installed with:
.. code-block:: sh
$ 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:
.. code-block:: sh
$ python3 -m pubmed2pdf pdf --pmidsfile="/my/path/to/the/file"
.. code-block:: sh
$ python3 -m pubmed2pdf pdf --pmids="123, 1234, 12345"
Run the help command to see all functionalities
.. code-block:: sh
$ python3 -m pubmed2pdf pdf --help