swh.indexer.metadata_dictionary.codemeta module

class swh.indexer.metadata_dictionary.codemeta.CodemetaMapping(log_suffix='')[source]

Bases: swh.indexer.metadata_dictionary.base.SingleFileMapping

dedicated class for CodeMeta (codemeta.json) mapping and translation

name = 'codemeta'
filename = b'codemeta.json'
string_fields = None
classmethod supported_terms()[source]
translate(content)[source]