Skip to main content

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

Release files for bibtex-formatter 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bibtex-formatter 1.4.0
File Size Uploaded
bibtex_formatter-1.4.0.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bibtex-formatter 1.4.0
File Interpreter ABI Platform
bibtex_formatter-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / bibtex_formatter-1.4.0.tar.gz

Download URL bibtex_formatter-1.4.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ba93367419bc358e9f202e06cb00cb800f34c70b77b959adbbb1b9423628b127
BLAKE2b-256 checksum
How to use checksums
0c3fa1f9ec8b26aa99c040400a51f6558c2b411a648001fe6c80cfdefc42deef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release files / bibtex_formatter-1.4.0-py3-none-any.whl

Download URL bibtex_formatter-1.4.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fafe75029a7ec48d974edbb1698c28cb93dc2fa1bae67cdd1c1c326e5e88c3d8
BLAKE2b-256 checksum
How to use checksums
05a226874b7f4a26c1013e391c1cf52d1f5a79708698a8d7493846bbbe037335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page