跳转到主要内容

一个用于从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 (7.4 kB 查看哈希值)

上传时间

由...支持

AWSAWS云计算和安全赞助商DatadogDatadog监控FastlyFastlyCDNGoogleGoogle下载分析MicrosoftMicrosoftPSF赞助商PingdomPingdom监控SentrySentry错误日志StatusPageStatusPage状态页面