citer/README.md
2026-02-12 23:55:07 -05:00

460 B

Citer

Simple CLI that turns an arXiv ID/URL or DOI/URL into a single-line APA citation.

Setup

pip install -e .

Usage

# arXiv IDs or URLs
citer arxiv 2106.01342
citer arxiv https://arxiv.org/abs/2106.01342

# DOIs or DOI URLs
citer doi 10.1038/nphys1170
citer doi https://doi.org/10.1038/nphys1170

Errors are printed with a clear message if an ID cannot be parsed or a lookup fails.

Tests

python -m pytest