Metadata-Version: 2.1
Name: cite
Version: 0.4.1
Summary: Command line tool to turn DOIs into citations
Home-page: https://github.com/rgieseke/cite
Author: Robert Gieseke
Author-email: robert.gieseke@pik-potsdam.de
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: habanero
Requires-Dist: requests
Requires-Dist: lxml
Requires-Dist: Unidecode
Requires-Dist: pybtex

# cite

Prints citation from DOIs or URLs of journal articles which provide DOIs in their
metadata.

```
$ cite https://doi.org/10.1103/PhysRev.48.73

Einstein, A., & Rosen, N. (1935). The Particle Problem in the General Theory of Relativity. Physical Review, 48(1), 73–77. doi:10.1103/physrev.48.73
```

Other output formats are supported, e.g. for BibTeX

```
$ cite --format bibtex https://doi.org/10.1103/PhysRev.48.73 doi:10.1002/andp.19053221004
```

To generate a Bibtex entry with a shortdoi-based unique key use

```
$ cite --bibtex https://doi.org/10.1103/PhysRev.48.73
```

Where the journals provide the DOI in their website's metadata it is also
possible to use the article website URL:
```
$ cite https://journals.aps.org/pr/abstract/10.1103/PhysRev.48.73

Einstein, A., & Rosen, N. (1935). The Particle Problem in the General Theory of Relativity. Physical Review, 48(1), 73–77. doi:10.1103/physrev.48.73
```

For the full list of options, see
```
$ cite --help
```

Uses [habanero](https://github.com/sckott/habanero) and
the Crossref API (https://www.crossref.org/) as well as [Pybtex](https://pybtex.org/).


