Skip to main content

Command line tool to turn DOIs into citations

Project description

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 doi:10.1002/andp.19053221004

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

Einstein, A. (1905). Zur Elektrodynamik bewegter Körper. Annalen Der Physik, 322(10), 891–921. doi:10.1002/andp.19053221004

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

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, see

$ cite --help

Uses habanero and the Crossref API (https://www.crossref.org/).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cite, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size cite-0.3.0-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page