Script to create citation file formatted file (https://citation-file-format.github.io/) from a DOI.
Current supported DOI types:
- Zenodo upload from a GitHub release (https://guides.github.com/activities/citable-code/)
Free software: Apache Software License 2.0
Documentation: https://doi2cff.readthedocs.io.
Requires Python 3.5 or higher.
pip install git+https://github.com/citation-file-format/doi2cff
To create a CITATION.cff file of a release, you must supply the doi that is associated with the release.
doi2cff init <doi>
# For example for boatswain (https://github.com/NLeSC/boatswain)
doi2cff init https://doi.org/10.5281/zenodo.1149011
The generated file must be checked for correctness and you are encouraged to enrich it further.
Whenever a new release is made of the software the CITATION.cff must be updated with new doi/version/release date. This process can be automated by running
doi2cff update <doi>
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.