All Projects → nschloe → Betterbib

nschloe / Betterbib

Licence: gpl-3.0
Update BibTeX files with info from online resources.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Betterbib

rfc-bibtex
A command line tool that creates bibtex entries for IETF RFCs and Internet Drafts.
Stars: ✭ 43 (-88.68%)
Mutual labels:  latex, bibtex, pypi
Bibsearch
Download, manage, and search a BibTeX database.
Stars: ✭ 52 (-86.32%)
Mutual labels:  bibtex, latex
Rebiber
A simple tool to update bib entries with their official information (e.g., DBLP or the ACL anthology).
Stars: ✭ 1,005 (+164.47%)
Mutual labels:  bibtex, latex
Zotero Better Bibtex
Make Zotero effective for us LaTeX holdouts
Stars: ✭ 2,336 (+514.74%)
Mutual labels:  bibtex, latex
Docker Texlive
A docker container containing an installation of texlive as well as several useful scripts.
Stars: ✭ 52 (-86.32%)
Mutual labels:  bibtex, latex
Fiduswriter
Fidus Writer is an online collaborative editor for academics.
Stars: ✭ 405 (+6.58%)
Mutual labels:  bibtex, latex
Scihub2pdf
Downloads pdfs via a DOI number, article title or a bibtex file, using the database of libgen(sci-hub) , arxiv
Stars: ✭ 120 (-68.42%)
Mutual labels:  bibtex, latex
Pandoc Latex Tip
A pandoc filter for adding tip in LaTeX
Stars: ✭ 7 (-98.16%)
Mutual labels:  latex, pypi
ads2bibdesk
ads2bibdesk helps you add astrophysics articles listed on NASA/ADS to your BibDesk database using the new ADS Developer API
Stars: ✭ 32 (-91.58%)
Mutual labels:  latex, bibtex
academic-cv-publications
Generate a customised list of publications for your LaTeX CV using BibTeX entries.
Stars: ✭ 60 (-84.21%)
Mutual labels:  latex, bibtex
Jabref
Graphical Java application for managing BibTeX and biblatex (.bib) databases
Stars: ✭ 2,385 (+527.63%)
Mutual labels:  bibtex, latex
nom-bibtex
A feature complete bibtex parser using nom
Stars: ✭ 13 (-96.58%)
Mutual labels:  latex, bibtex
snipmate-snippets-bib
Snipmate.vim support for BibTeX files
Stars: ✭ 13 (-96.58%)
Mutual labels:  latex, bibtex
bibtex-js
Library for parsing .bib files, used in Bibliography.js 📚
Stars: ✭ 55 (-85.53%)
Mutual labels:  latex, bibtex
Simple Resume Cv
Template for a simple resume or curriculum vitae (CV), in XeLaTeX.
Stars: ✭ 333 (-12.37%)
Mutual labels:  latex
Sparqlwrapper
A wrapper for a remote SPARQL endpoint
Stars: ✭ 365 (-3.95%)
Mutual labels:  pypi
Pipx
Install and Run Python Applications in Isolated Environments
Stars: ✭ 4,398 (+1057.37%)
Mutual labels:  pypi
Slack Cleaner
delete slack messages and files. An improved version is at:
Stars: ✭ 329 (-13.42%)
Mutual labels:  pypi
Limecv
A LaTeX CV Document Class
Stars: ✭ 376 (-1.05%)
Mutual labels:  latex
Pytg
Python package that wraps around Telegram messenger CLI. Send and receive messages, and more.
Stars: ✭ 365 (-3.95%)
Mutual labels:  pypi

betterbib

PyPi Version PyPI pyversions GitHub stars PyPi downloads

Discord

gh-actions codecov LGTM Code style: black

BibTeX files are typically manually maintained and thus often contain inconsistencies, mistakes, or are missing information. betterbib helps maintaining your BibTeX files by comparing them with online sources and correcting whatever entries are faulty.

Simply run

betterbib in.bib out.bib

to improve your BibTeX file with default settings. For example, the input BibTeX

@article {krylov,
  author = {Liesen and Gaul and Nabben},
  title = {Framework Deflation Krylov Augmented}
}

is converted to

@article{krylov,
 author = {Gaul, André and Gutknecht, Martin H. and Liesen, Jörg and Nabben, Reinhard},
 title = {A Framework for Deflated and Augmented {Krylov} Subspace Methods},
 doi = {10.1137/110820713},
 number = {2},
 pages = {495-518},
 source = {Crossref},
 url = {https://doi.org/10.1137/110820713},
 volume = {34},
 journal = {SIAM J. Matrix Anal. \& Appl.},
 publisher = {Society for Industrial \& Applied Mathematics (SIAM)},
 issn = {0895-4798, 1095-7162},
 year = {2013},
 month = jan,
}

Use -i/--in-place to modify the input file in place. Use -h/--help to see all options.

Tools

All of the following tools can read from standard input and write to standard output, so you can concatenate them to get exactly what you want. For example, the above betterbib command is equivalent to

betterbib-sync in.bib | betterbib-journal-abbrev | betterbib-format -b - out.bib

Sync

betterbib fetches data from

All betterbib-sync command-line options are explained in betterbib-sync -h.

Format

The tool

betterbib-format in.bib out.bib

allows you to apply consistent formatting to you BibTeX file. See -h/--help for options.

(Un)abbreviate journal names

The tool

betterbib-journal-abbrev in.bib out.bib

allows you to apply consistent abbreviation of journal names. See -h/--help for options.

Custom journal abbreviations

To use custom abbrebiations for journal names, create a file as a JSON dictionary, and provide that as a command line argument with --extra-abbrev-file. For example, if the file correct_pnas.json is:

{"PNAS": "Proc. Natl. Acad. Sci.  U.S.A."}

and you call betterbib-journal-abbrev --extra-abbrev-file=correct_pnas.json, this will replace any bibtex entries listed with journal "PNAS" with the correct abbreviation.

This option is included in the betterbib and betterbib-journal-abbrev commands.

When combined with the --long-journal-names option, this will override default options only if both have the same abbreviation.

Configuration

In BibTeX titles, some words need to be protected by curly brackets such that they are capitalized correctly, e.g., {Einstein}. betterbib automatically recognizes some of them (if they are in the default dictionary, like Einstein), but you might want to add some. To this end, create the config file

~/.config/betterbib/config.ini

and fill it with, e.g.,

[DICTIONARY]
add=Arnoldi,
    Bernstein,
    Boolean,
    Chebyshev,
    Hermitian

remove=hermitian,
   boolean

Installation

betterbib is available from the Python Package Index, so simply do

pip install betterbib

to install.

Testing

To run the betterbib unit tests, check out this repository and type

pytest

License

This software is published under the GPLv3 license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].