Skip to main content

Fetch BibTeX entries from a URL, DOI, ISBN, PMID, or arXiv ID

Project description

clibib

CI

image

A Python-based CLI tool to fetch BibTeX entries from a URL, ISBN, DOI, PMID, arXiv, alphaxiv, huggingface papers, or even just the paper title!

Installation

pip install clibib

Usage

# Fetch BibTeX from a DOI
clibib 10.1038/nature12373

# From an arXiv ID
clibib 2301.07041

# From a URL
clibib https://academic.oup.com/bib/article/25/1/bbad467/7512647

# From an ISBN
clibib 978-0-13-468599-1

# Save BibTeX to a file
clibib -o ~/bibs 10.1038/nature12373

# Title search (less reliable — prefer DOI, arXiv ID, or URL when possible)
clibib "Attention is all you need"

# Only output the best match
clibib --first "Attention is all you need"

Note: Title-based searches rely on CrossRef and Zotero databases, which can return incomplete or incorrect matches. For reliable results, use a DOI, arXiv ID, or URL. If you only have a title, search the web for the paper's DOI first.

Agent Skill

clibib includes an Agent Skill for fetching citations through natural language or the /clibib slash command. Works with any agent that supports the open standard — Claude Code, Codex CLI, Gemini CLI, OpenHands, GitHub Copilot, and others.

Install (Claude Code example):

cp -r skill/clibib ~/.claude/skills/clibib

Usage:

Get me the bibtex for 10.1038/nature12373
/clibib 2301.07041

See skill/README.md for full details.

Development

pip install -e ".[dev]"
pytest

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

clibib-1.2.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

clibib-1.2.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file clibib-1.2.0.tar.gz.

File metadata

  • Download URL: clibib-1.2.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for clibib-1.2.0.tar.gz
Algorithm Hash digest
SHA256 dc6c739a177e70fcd9ab6adf1506de3fb32f3086e6ece85130cb512f2f839645
MD5 a0ae37fc09762b9478879178f50d2f33
BLAKE2b-256 4bd544a79afd64391fe44ca1729ade78f537681b542ebed911fc6e76061fb9b6

See more details on using hashes here.

File details

Details for the file clibib-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: clibib-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for clibib-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c365339b41a445bf7551f9600d607095b4077b823f9f284de4259cc8a0c9e6b5
MD5 cb235280461dc444ba54756e62e9655f
BLAKE2b-256 b318923099ab10f4037d45518488cc5dc0dd5932206242db0f81eb5923411d0f

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