Skip to main content

A tool to automatically fetch BibTeX entries from ADS, arXiv, and INSPIRE-HEP based on citation keys found in LaTeX log files or documents.

Project description

BibQuest

Often while writing scientific documents, it's tedious to constantly switch between your text editor and various tabs to copy BibTeX entries. Instead of interrupting your writing flow, simply use citation keys in your document and let this tool fetch all the bibliography entries automatically once you're done writing.

Installation

Method 1:

pip install bibquest

Method 2:

git clone https://github.com/sahiljhawar/BibQuest.git

With pip

pip install .

or, if using uv

cd BibQuest
uv venv
. .venv/bin/activate
uv pip install .

The above methods will make sure that the bibquest command is available in your terminal.

Usage

Method 1: From LaTeX log file (recommended)

Compile your LaTeX document once, then use the generated log file:

bibquest example/document.log example/bibliography.bib

Method 2: From TeX source file

Scan your TeX source file directly:

bibquest --scan-tex example/document.tex example/bibliography.bib

Options

  • --delay 2.0 - Set delay between requests (default: 1.0 seconds)
  • --append - Append to existing bibliography file (default behavior)
  • --verbose - Show verbose output

Supported Sources

  • arXiv: arXiv:2301.12345 or 2301.12345
  • INSPIRE-HEP: Author:2023abc
  • NASA ADS: ADS bibcodes (fallback method)

Note

  • In arXiv, it uses the arXiv ID instead of the bib key for the entry. This is because arXiv does not let you search with the bib key.
  • Try not to use ADS as they rate limit requests. In general as well it is better not to use ADS and instead use arXiv or INSPIRE-HEP. See the ads2inspire.

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

bibquest-0.1.post1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

bibquest-0.1.post1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file bibquest-0.1.post1.tar.gz.

File metadata

  • Download URL: bibquest-0.1.post1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for bibquest-0.1.post1.tar.gz
Algorithm Hash digest
SHA256 6ea6867def0d3ccb13cf0560b8ae2ac381acc5c0aaeb4c4d02c7e996f368f0c6
MD5 05fe12d9f343aa0ee7ca404b63c9054f
BLAKE2b-256 bed22ef4f321db2acb139ce6f29bec2854113553f84ba4f40ad9a286d10255c0

See more details on using hashes here.

File details

Details for the file bibquest-0.1.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for bibquest-0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7ebded11705458168ff84b55b8faa4413bd1e27b0daaaccd586262a95fd324
MD5 71bd7232b8d081ab8ccb48ebdc97e7a6
BLAKE2b-256 89fce686ef57613ad6f7aef73049c969ffe20d913a2308e22c3ae10e5c9395be

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