def add_metadata(self, metadata):
        name, version = metadata["name"], metadata["version"]

        self.logger.debug("Saving distribution: {} {}".format(name, version))

        project = self.add_project(name)
        project_version = project.add_version(version)
        project_version.set_metadata(metadata)
Add a project, a version, and metadata.
dataset/ETHPy150Open jessemyers/cheddar/cheddar/model/distribution.py/Projects.add_metadata