38 lines
671 B
Text
38 lines
671 B
Text
|
|
Metadata-Version: 2.4
|
||
|
|
Name: citer
|
||
|
|
Version: 0.1.0
|
||
|
|
Summary: CLI to create APA style citations from arXiv IDs or DOIs
|
||
|
|
Requires-Python: >=3.9
|
||
|
|
Description-Content-Type: text/markdown
|
||
|
|
Requires-Dist: requests>=2.31.0
|
||
|
|
|
||
|
|
# Citer
|
||
|
|
|
||
|
|
Simple CLI that turns an arXiv ID/URL or DOI/URL into a single-line APA citation.
|
||
|
|
|
||
|
|
## Setup
|
||
|
|
|
||
|
|
```bash
|
||
|
|
pip install -e .
|
||
|
|
```
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# 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
|
||
|
|
|
||
|
|
```bash
|
||
|
|
python -m pytest
|
||
|
|
```
|