跳转到主要内容

将DOI转换为引用的命令行工具

项目描述

引用

CI PyPI Conda Version

安装

pip install cite

使用

从提供DOI的期刊文章的URL打印引用。

$ cite https://doi.org/10.1103/PhysRev.48.73

Einstein, A., & Rosen, N. (1935). The Particle Problem in the General Theory of Relativity. Physical Review, 48(1), 73–77. doi:10.1103/physrev.48.73

支持其他输出格式,请参阅CSL样式的列表 https://citation.crosscite.org/

$ cite --style iso690-author-date-en https://doi.org/10.1103/PhysRev.48.73

EINSTEIN, A. and ROSEN, N., 1935, The Particle Problem in the General Theory of Relativity. Physical Review [online]. 1 July 1935. Vol. 48, no. 1, p. 73–77. DOI 10.1103/physrev.48.73. Available from: http://dx.doi.org/10.1103/PhysRev.48.73

要使用基于shortdoi的唯一键生成BibTeX条目,请使用--bibtex-b

$ cite --bibtex https://doi.org/10.1103/PhysRev.48.73

条目的键由名称、年份和项目的short DOI组成。

要获取Citeproc-JSON,请使用--json-j

如果期刊在其网站元数据中提供DOI,也可以使用文章网站URL

$ cite https://journals.aps.org/pr/abstract/10.1103/PhysRev.48.73

Einstein, A., & Rosen, N. (1935). The Particle Problem in the General Theory of Relativity. Physical Review, 48(1), 73–77. doi:10.1103/physrev.48.73

要将条目添加到现有的BibTeX文件中

cite --bibtex https://doi.org/10.1103/PhysRev.48.73 >> bibliography.bib

有关选项的完整列表,请参阅

$ cite --help

使用Crosscite DOI内容协商

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

cite-0.7.2.tar.gz (20.3 kB 查看散列)

构建分布

cite-0.7.2-py2.py3-none-any.whl (5.2 kB 查看哈希值)

上传时间 Python 2 Python 3

支持者