将DOI转换为引用的命令行工具
项目描述
引用
安装
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 查看哈希值)
关闭
cite-0.7.2.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ff8d68efe23263bacdb4c3ff75507ceb3e5db4820429e740dfe2c501f6076455 |
|
MD5 | 4c3f8d7c20bb994643e2442d20ae885b |
|
BLAKE2b-256 | b8f2342d2d2039f5151707e3f210345a5a06e1b37c74fd3e35eb7154951f6779 |
关闭
cite-0.7.2-py2.py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | da8551648d35f9873ce5fc87b1b7fc9e66c27d6f422aa32a1172be9b82c15047 |
|
MD5 | b83b58fd5274f8db7b735d1c321ecef1 |
|
BLAKE2b-256 | a89bcd18bd6b34faf6ed692a3bacb89e084c76133b52cc69efe7394e0178752a |