Dr. Xiao-Le Deng

bibcure: Python bib tool

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

1. 简介

Bibcure helps in boring tasks by keeping your bibtex file up to date and normalized.

Install:

pip install bibcure

Github: https://github.com/bibcure/bibcure

2. 说明

bibcure -h
usage: bibcure [-h] --input INPUT --output OUTPUT

 Bibcure helps in boring tasks by keeping
 your bibfile up to date and normalized.

 $ bibcure -i input.bib -o output.bib
 Given a bib file...

     . check sure the Arxiv items have been published, then update
                             them(requires internet connection)
     . complete all fields(url, journal, etc) of all bib items using DOI
                             number(requires internet connection)
     . find and create DOI number associated with each bib item which
                             has not DOI field(requires internet
                             connection)
     . abbreviate jorunals names

$ doitobib 10.1038/s41524-017-0032-0
Given a DOI number...

     . get bib item given a doi(requires internet connection)

$ titletobib An useful paper
Given a title...

     . search papers related and return a bib for the selected
                             paper(requires internet connection)

$ arxivcheck 1601.02785
Given a arxiv id...

     . given an arixiv id, check if has been published, and then returns
                             the updated bib (requires internet
                             connection)
 -----------------------------------------------------
     @author: Bruno Messias
     @email: messias.physics@gmail.com
     @telegram: @brunomessias
     @github: https://github.com/bibcure/bibcure

optional arguments:
  -h, --help            show this help message and exit
  --input INPUT, -i INPUT
                        bibtex input file
  --output OUTPUT, -o OUTPUT
                        bibtex output file