Initial version
This commit is contained in:
commit
42996b0f4e
31 changed files with 933 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue