doi2cff

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

https://github.com/citation-file-format/doi2cff

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

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

Basic Info
  • Host: GitHub
  • Owner: citation-file-format
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 83 KB
Statistics
  • Stars: 22
  • Watchers: 7
  • Forks: 5
  • Open Issues: 7
  • Releases: 1
Created over 8 years ago · Last pushed over 3 years ago
Metadata Files
Readme Changelog Contributing License Citation Zenodo

README.rst

=========
DOI 2 cff
=========


.. image:: https://travis-ci.org/citation-file-format/doi2cff.svg?branch=master
    :target: https://travis-ci.org/citation-file-format/doi2cff

.. image:: https://readthedocs.org/projects/doi2cff/badge/?version=latest
        :target: https://doi2cff.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://sonarcloud.io/api/project_badges/measure?project=doi2cff&metric=alert_status
       :target: https://sonarcloud.io/dashboard?id=doi2cff
       :alt: SonarCloud quality gate

.. image:: https://sonarcloud.io/api/project_badges/measure?project=doi2cff&metric=coverage
       :target: https://sonarcloud.io/api/project_badges/measure?project=doi2cff&metric=coverage
       :alt: SonarCloud coverage

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1206048.svg
   :target: https://doi.org/10.5281/zenodo.1206048

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.

Installation
------------

Requires Python 3.5 or higher.

.. code-block:: bash

    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.

.. code-block:: bash

   doi2cff init 

   # 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

.. code-block:: bash

    doi2cff update 

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

Owner

  • Name: citation-file-format
  • Login: citation-file-format
  • Kind: organization

Citation (CITATION.cff)

# YAML 1.2
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
cff-version: 1.0.3
message: If you use this software, please cite it as below.
# FIXME title as repository name might not be the best name, please make human readable
title: DOI 2 citation format file generator
doi: 10.5281/zenodo.1206049
# FIXME splitting of full names is error prone, please check if given/family name are correct
authors:
- given-names: Stefan
  family-names: Verhoeven
  affiliation: Netherlands eScience Center
- given-names: Jurriaan
  family-names: Spaaks
  name-particle: H.
  affiliation: Netherlands eScience Center
version: 1.0.0
date-released: 2018-03-23
repository-code: https://github.com/citation-file-format/doi2cff
license: Apache-2.0

GitHub Events

Total
  • Watch event: 2
  • Fork event: 1
Last Year
  • Watch event: 2
  • Fork event: 1

Dependencies

requirements_dev.txt pypi
  • Sphinx ==1.7.0 development
  • bumpversion ==0.5.3 development
  • coverage ==4.5.1 development
  • flake8 ==3.5.0 development
  • pip ==18.1 development
  • pluggy ==0.8.0 development
  • pylint ==1.8.3 development
  • pytest ==3.9.1 development
  • pytest-cov ==2.6.0 development
  • pytest-runner ==4.2 development
  • requests_mock ==1.4.0 development
  • tox ==2.9.1 development
  • watchdog ==0.8.3 development
  • wheel ==0.30.0 development