Nickydusk / BibTeX-Formatter

Format your bibtex (.bib) file to help standardize citations for conference and journal submissions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BibTeX Formatter

GitHub repo size PyPI PyPI - Downloads GitHub

Help generate citations that meet the requirements for conference and journal submissions.

Call for Contributions

Completing standardized names can make matching more precise. We would greatly appreciate it if you can fill more standard conference / journal names or correct wrong names in bfm/data/others.txt. Please use pull requests to submit your changes.

Quick Installation

Install from PyPi:

pip install -U bibtex-formatter

Alternatively, you can also install the latest version (not stable) from github:

pip install -U git+https://github.com/Nickydusk/BibTeX-Formatter.git@main

Usage

bfm IN_FILE

Positional args:

  • IN_FILE: Choose the input .bib file

Options (Please see bfm --help for more details):

  • -o OUTPUT,--output OUTPUT: Choose the output .bib file, default to out.bib
  • -l LOG,--log LOG: Choose the output log file, default to logs.txt

Features

  • Remove duplicate citations (keep the first occurrence), log what is removed
  • Simplify keys according to citation type (e.g., @inproceedings -> [author, title, booktitle, pages, year])
  • Standardize conference / journal names (e.g., Advances in Neural Information Processing Systems)
  • Standardize "pages" to pages = {start-end}, alert if more or less timestamps.
  • Standardize arXiv citations to google scholar style
    • arXiv export bibtex -> google scholar style
    • dblp bibtex -> google scholar style
  • Online check contents, make sure they are up to date

About

Format your bibtex (.bib) file to help standardize citations for conference and journal submissions

License:MIT License


Languages

Language:Python 100.0%