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

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 and the Crossref API (https://www.crossref.org/) as well as Pybtex.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cite-0.4.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cite-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: cite-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for cite-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f09d321ab162ab6bb78bcdff931ff3a3b309667deb622706d7b9bdaa9bd373fa
MD5 582f4a1f6aa8d5b93044a3aeba1181f6
BLAKE2b-256 e01a548c80f238efa1566bd2005fc21230d1067fbac1471f0cf593557f1c1a20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page