Simple python tool to generate APA citations from arxiv links.
| build/lib/citer | ||
| citer | ||
| citer.egg-info | ||
| tests | ||
| pyproject.toml | ||
| README.md | ||
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