ProductMD library documentation
ProductMD is a Python library providing parsers for metadata related to composes and installation media.
ProductMD supports multiple metadata format versions:
v1.x (1.0, 1.1, 1.2): Local compose format with relative paths
v2.0: Distributed compose format with Location objects (HTTPS URLs, OCI references)
Contents:
Python modules:
- common – Base classes and common functions
- compose – Easy access to compose metadata
- composeinfo – Compose metadata
- discinfo – Installation media metadata
- extra_files – Extra files metadata
- images – Image metadata
- location – Artifact locations and integrity
- modules – Module metadata
- rpms – RPM metadata
- treeinfo – Instalable trees metadata
- version – Version detection and handling
CLI Tools:
File formats (v2.0 – distributed composes):
File formats (v1.1 – local composes):
Old file formats: