一个用于从PubMed中的开放获取出版物下载PDF的Python包
项目描述
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.
安装
pubmed2pdf 可以通过在终端中使用以下命令从 PyPI 安装
$ python3 -m pip install pubmed2pdf
最新代码可以通过以下方式从 GitHub 安装
$ python3 -m pip install git+https://github.com/ddomingof/PubMed2PDF.git
对于开发者,可以使用以下方式安装代码
$ git clone https://github.com/ddomingof/PubMed2PDF.git
$ cd PubMed2PDF
$ python3 -m pip install -e .
使用方法
PubMed2PDF通过在命令行界面中键入PubMed标识符列表或从文件中读取它们来工作。
从文件示例
$ python3 -m pubmed2pdf pdf --pmidsfile="/my/path/to/the/file"
$ python3 -m pubmed2pdf pdf --pmids="123, 1234, 12345"
运行帮助命令以查看所有功能
$ python3 -m pubmed2pdf pdf --help
项目详情
关闭
pubmed2pdf-0.0.6.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | fe6653db2d767e181dec46d4fd504cdbab8f3dcc0e1aed1eec46b5d0eb9269f7 |
|
MD5 | 89f2d80d599cc9a0e3cb35c1d508eab0 |
|
BLAKE2b-256 | d8595ddf0c44dc7783a740c8ee53ac472b6d06e54c22717666f65875b7c3fe3a |