Skip to main content

AXM bibliographic tools — DOI resolution, BibTeX retrieval, paper search & PDF download

Project description

axm-bib

Bibliographic tools: search papers, resolve DOIs to BibTeX, download open-access PDFs.

CI Coverage PyPI Python 3.12+ Typed Ruff uv Docs


Features

  • 🔍 Search — Find papers by title/keywords (Semantic Scholar + CrossRef fallback)
  • 📖 DOI → BibTeX — Resolve any DOI to a BibTeX entry (CrossRef)
  • 📥 PDF Download — Download open-access PDFs (Unpaywall + arXiv fallback)
  • 🤖 MCP Integration — Auto-discovered tools via axm-mcp

Installation

uv add axm-bib

Quick Start

# Search papers
axm-bib search "attention is all you need" -n 5

# Resolve a DOI to BibTeX
axm-bib doi 10.1145/363235.363259

# Download an open-access PDF
axm-bib pdf 10.48550/arXiv.1706.03762

CLI Options

axm-bib search

Option Default Description
QUERY required Search query (title, keywords)
--limit, -n 5 Max results (1–100)
--abstract/--no-abstract True Show paper abstracts
--abstract-len 0 (full) Truncate abstracts to N chars

axm-bib doi

Option Description
DOI Digital Object Identifier to resolve

axm-bib pdf

Option Default Description
DOI required DOI of the paper
--output, -o auto Output directory

MCP Integration

axm-bib tools are automatically discovered by axm-mcp:

  • search_paper(query, limit) — Search papers
  • doi_to_bibtex(doi) — Resolve DOI
  • get_pdf(doi) — Download PDF

Configuration

Variable Purpose
UNPAYWALL_EMAIL Email for Unpaywall API (prompted on first use)
S2_API_KEY Optional Semantic Scholar API key for higher rate limits

Config file: ~/.config/axm-bib/config.toml

Development

git clone https://github.com/axm-protocols/axm-bib.git
cd axm-bib
uv sync --all-extras
uv run pytest           # 122 tests, 93% coverage
uv run ruff check src/  # lint

License

Apache License 2.0

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

axm_bib-0.1.0.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

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

axm_bib-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axm_bib-0.1.0.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axm_bib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36b625d0038878ede70c9ae4f10a42ba789a2ea901d9dd3a0455e5b928623826
MD5 fb7c9fd99fb600c8ec29d9735a8244ff
BLAKE2b-256 f8793c40e339952dfc49040e604b1da51114b5f32039d61cfe3fc1e47069d555

See more details on using hashes here.

File details

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

File metadata

  • Download URL: axm_bib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axm_bib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75d5dd4ed45843ca04d3b1d76285791bfdd8e82f6ffd9a2446ec745ffdbb1012
MD5 ce1255d288733d30220b3c4d7a33fc5c
BLAKE2b-256 e9f37cfa305989a987581ea6f00b5921d2129fad72ab544bad0042d8b6a330b2

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