Skip to content

Some simple command-line tools to clean-up / modify BibTeX files

License

Notifications You must be signed in to change notification settings

tdegeus/GooseBib

Repository files navigation

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 .