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

PyPi

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 $\mathrm{\large B{\scriptsize{IB}}Q{\scriptsize{UEST}}}$ 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
cd BibQuest

With pip

pip install .

or, if using uv

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

Terminal Output

BibQuest

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 identifiers (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.1.tar.gz (5.6 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bibquest-0.1.1.tar.gz
Algorithm Hash digest
SHA256 31bbb6392f88fe54c751790f96648399bc4832c732879e30de5b34305c3488c1
MD5 c31e80193b6a0e2ca194d4cead8cc6b8
BLAKE2b-256 7d0278bfb4851a5ff012201935ddfa3660d1b8d69890ee670082c601d29847bf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bibquest-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e524231c2006262b9cc0c97786545cc28eb1c6154abb1cb3e20d3aac473c25fa
MD5 d83b28201d3574de8794a6d1c5bb0f50
BLAKE2b-256 7e27aa3767e33229e3b40cf6dc22ae54faa53d16b515dbc41b666ce0a73ad2fe

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