cite
Installation
pip install cite
Usage
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 styles formats are supported, see the list of CSL styles ar https://citation.crosscite.org/
$ cite --style iso690-author-date-en https://doi.org/10.1103/PhysRev.48.73
EINSTEIN, A. and ROSEN, N., 1935, The Particle Problem in the General Theory of Relativity. Physical Review [online]. 1 July 1935. Vol. 48, no. 1, p. 73–77. DOI 10.1103/physrev.48.73. Available from: http://dx.doi.org/10.1103/PhysRev.48.73
To generate a BibTeX entry with a shortdoi-based unique key use --bibtex or -b
$ cite --bibtex https://doi.org/10.1103/PhysRev.48.73
The entry's key is made of name, year and short DOI of the item.
To get Citeproc-JSON use --json or -j.
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
To add to an entry to an existing BibTex file:
cite --bibtex https://doi.org/10.1103/PhysRev.48.73 >> bibliography.bib
For the full list of options, see
$ cite --help
Uses Crosscite DOI Content Negotiation.
Metadata
Release files for cite 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cite-0.7.2.tar.gz | 20.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cite-0.7.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / cite-0.7.2.tar.gz
| Download URL | cite-0.7.2.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff8d68efe23263bacdb4c3ff75507ceb3e5db4820429e740dfe2c501f6076455
|
|
BLAKE2b-256 checksum How to use checksums |
b8f2342d2d2039f5151707e3f210345a5a06e1b37c74fd3e35eb7154951f6779
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|
Release files / cite-0.7.2-py2.py3-none-any.whl
| Download URL | cite-0.7.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
da8551648d35f9873ce5fc87b1b7fc9e66c27d6f422aa32a1172be9b82c15047
|
|
BLAKE2b-256 checksum How to use checksums |
a89bcd18bd6b34faf6ed692a3bacb89e084c76133b52cc69efe7394e0178752a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|