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.

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, default to in.bib

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
  • -d, --use_database: Do online check with NJU database, default to False (The feature may override correct entries, use with caution!)

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

Welcome to PR

You can make contribution to the project by filling more standard conference / journal names in refactor/STANDARD_NAMES. Please use pull requests to submit your changes.

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.3.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

bibtex_formatter-1.3.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file bibtex-formatter-1.3.0.tar.gz.

File metadata

  • Download URL: bibtex-formatter-1.3.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for bibtex-formatter-1.3.0.tar.gz
Algorithm Hash digest
SHA256 82677f3b801281c00f435aff0bfbaae62a3bc749d8b0c78b45eb1f9a399b3b56
MD5 1f501f5d4e0869228906e8b00989b7c7
BLAKE2b-256 f89c901022fcf0955e583b3f31bce2839a4290aa5eb09946f2f2fa34771532e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibtex_formatter-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df65d16c327f1229653acd2d262f682d1a01ac57eee2c2b3bad1e4c352156e4f
MD5 4dcfbc1b8289aef8de8b33bacf37c9ec
BLAKE2b-256 9fb3f363fd69c39a01b89779a87ea927384a8befd2313dbb8dce090e51538461

See more details on using hashes here.

Supported by

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