Reformat BibTeX files


Keywords
arxiv, bibtex, bibtexparser, doi, formatter, pre-commit, python
License
MIT
Install
pip install GooseBib==0.9.4

Documentation

ci Documentation Status pre-commit pre-commit Conda Version

Documentation: https://goosebib.readthedocs.io

Usage

Clean-up and correct BibTeX files.

pre-commit

For example:

repos:
- repo: https://github.com/tdegeus/GooseBib
  rev: v0.6.0
  hooks:
  - id: GbibClean
    args: ['--arxiv=arXiv preprint: {}']

From the command-line

  • GbibClean Clean-up a BibTeX file, removing it from unnecessary fields and applying several fixes, including abbreviating authors.

  • GbibDiscover Check online databases to see if entries in a BibTeX file went out-to-data.

From Python

All of these tools wrap around a Python module that you can use just as well!

Disclaimer

This library is free to use under the MIT license. Any additions are very much appreciated, in terms of suggested functionality, code, documentation, testimonials, word-of-mouth advertisement, etc. Bug reports or feature requests can be filed on GitHub. As always, the code comes with no guarantee. None of the developers can be held responsible for possible mistakes.

Download: .zip file | .tar.gz file.

(c - MIT) T.W.J. de Geus (Tom) | tom@geus.me | www.geus.me | github.com/tdegeus/GooseBib

Getting GooseBib

Using conda

conda install -c conda-forge goosebib

Using PyPi

python -m pip install GooseBib

From source

# Download GooseBib
git checkout https://github.com/tdegeus/GooseBib.git
cd GooseBib

# Install
python -m pip install .