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 .bcf file (recommended)

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

bibquest example/document.bcf example/bibliography.bib

Method 2: From LaTeX log file

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

bibquest example/document.log example/bibliography.bib

Method 3: 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.2.tar.gz (6.0 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.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bibquest-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ebe2fa734b65789eaf604d76d1dec6d3729a94c5c51fdebb1e3dfd861328db83
MD5 845540d36c91ebf5ad53ef2d7f50876b
BLAKE2b-256 447300a95370c51e22258adabc6b220811a6fc90956e49008833961479eaad16

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bibquest-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16faeaf3f53c717604d6811d102b337cde9f77aec9b9c6e3efab778307355351
MD5 bfa9b8cde85e0212a1cdca768573e583
BLAKE2b-256 bf96b284f4540b6db3888a84265007117c642c5eddc791f594fb2c13427a8f2f

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