Dr. Xiao-Le Deng

doi2bib: Python doi to bib tool

2020-11-08 15:00
#Python #LaTeX

1. 简介

doi2bib is a module of bibcure and scihub2pdf from https://pypi.org/project/doi2bib/

GitHub: https://github.com/bibcure/doi2bib

pip install doi2bib

2. 说明

doi2bib -i inputfile -o outputfile --abstract
doi2bib -h
usage: doi2bib [-h] [--input INPUT] [--output OUTPUT] [--abstract]

Convert a list of DOIs in a bibfile.
You also can convert a simple DOI, like:
$ doi2bib  10.1063/1.3149495
-----------------------------------------------------
    @author: Bruno Messias
    @email: messias.physics@gmail.com
    @telegram: @brunomessias
    @github: https://github.com/bibcure/doi2bib

optional arguments:
  -h, --help            show this help message and exit
  --input INPUT, -i INPUT
                        input file
  --output OUTPUT, -o OUTPUT
                        bibtex output file
  --abstract            try to import the abstract info