Skip to main content

Format

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bibtex_formatter-1.4.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bibtex_formatter-1.4.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file bibtex_formatter-1.4.0.tar.gz.

File metadata

  • Download URL: bibtex_formatter-1.4.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for bibtex_formatter-1.4.0.tar.gz
Algorithm Hash digest
SHA256 ba93367419bc358e9f202e06cb00cb800f34c70b77b959adbbb1b9423628b127
MD5 7c1b3f059aa7ee576e55ea28c05aecd0
BLAKE2b-256 0c3fa1f9ec8b26aa99c040400a51f6558c2b411a648001fe6c80cfdefc42deef

See more details on using hashes here.

File details

Details for the file bibtex_formatter-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bibtex_formatter-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fafe75029a7ec48d974edbb1698c28cb93dc2fa1bae67cdd1c1c326e5e88c3d8
MD5 67ec3dd4ec17f94971ffa9752527d468
BLAKE2b-256 05a226874b7f4a26c1013e391c1cf52d1f5a79708698a8d7493846bbbe037335

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page