bbc
is a tiny utility that checks some basic properties of your bibtex files, orders the entries alphabetically and styles them uniformly.
bbc <bib_file> --output=<out_file>
The formated bibtex is printed in the <out_file>
file, while error messages on the standard error output.
Add the flag --add-todo
to assign a TODO
value to missing fields which are required for the particular types of entries:
bbc <bib_file> --output=<out_file> --add-todo
If you toggle option --try-fix
, it will try to find missing ISSN and other informations about journals (from DBpedia) or ISBN and other information for books (from Google Books).
Using pipx
:
pipx install bbc
This utility uses the following packages.
bibtexparser
to parse and print bibtexbeautifulsoup4
to scrape web pageslibisbn
to work ISBNs and Google BooksSPARQLWrapper
to query DBpediatermcolor
to have colored error messagespycountry
to query countries
The software is distributed under the BSD License.
This project is based on prettybib.