Skip to content

citation-file-format/doi2cff

Repository files navigation

DOI 2 cff

image

Documentation Status

SonarCloud quality gate

SonarCloud coverage

image

Script to create citation file formatted file (https://citation-file-format.github.io/) from a DOI.

Current supported DOI types:

Free software: Apache Software License 2.0

Documentation: https://doi2cff.readthedocs.io.

Installation

Requires Python 3.5 or higher.

pip install git+https://github.com/citation-file-format/doi2cff

Usage

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>

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Generate a CFF file using the metadata from a software release on Zenodo.

Resources

License

Stars

Watchers

Forks

Packages

No packages published