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.0.tar.gz (5.3 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.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file bibquest-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for bibquest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 555f16e5ff6a33d33111ca2b72932e034402305b0db2eba70eb70c95c0c290a1
MD5 b14e446b47dae4a606c8908ae80bf72e
BLAKE2b-256 d8357c69463b08ea0b2dcaf85972f30e3137c20631df98fe5e733f352feec12e

See more details on using hashes here.

File details

Details for the file bibquest-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bibquest-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for bibquest-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90e08f3aba8285e1702a348f555dd02212373013c1dccc136bd66e7fcfadbea9
MD5 9f63e586ee6ee7f97e4bd3ab093d575d
BLAKE2b-256 2f1830c95b7118e04f39dc1681093a5d4c38475b3c133a8ad09e1df54196e4f2

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