modulemd’s documentation

Module metadata manipulation library.

A python library for manipulation of the proposed module metadata format.

Example usage:

import modulemd
mmd = modulemd.ModuleMetadata()
mmd.load("metadata.yaml")
mmd.add_module_license("ISC")
mmd.components.clear_rpms()
mmd.components.add_rpm("example", "with reason", multilib=["x86_64"])
mmd.dump("out.yaml")

Indices and tables