Skip to main content

ProductMD

CI PyPI - Version PyPI - Python Version License: LGPL v2.1

ProductMD is a Python library for parsing and creating metadata files for OS installation media and compose outputs. It provides structured access to .treeinfo, .discinfo, and compose metadata files used in Fedora, RHEL, and other RPM-based Linux distributions.

Features

  • Compose Metadata - Parse and manipulate compose information, RPM manifests, module metadata, and image manifests
  • TreeInfo - Read and write .treeinfo files describing installable trees
  • DiscInfo - Handle .discinfo files for installation media identification
  • HTTP Support - Load metadata directly from remote URLs
  • Validation - Built-in schema validation for metadata integrity

Documentation

Full documentation is available at productmd.readthedocs.io.

Development

Prerequisites

This project uses uv for dependency management.

Running Tests

# Run the full test suite
uvx tox

# List available test environments
uvx tox list

# Run a specific environment
uvx tox -e py312

Code Quality

# Run linter
uvx tox -e lint

# Run formatter
uvx tox -e format

# Run security scanner
uvx tox -e bandit

Building

uv build

This will generate the source and wheel packages under the dist directory.

Releasing

To release a new version and publish to PyPI:

  1. Bump the version in pyproject.toml:

    uv version <new_version>
    

    See uv version docs for other version commands (e.g., uv version --bump minor).

  2. Commit and push the version change:

    git add pyproject.toml uv.lock
    git commit -m "Bump version to <new_version>"
    git push origin master
    
  3. Create a GitHub release:

    • Go to Releases and click "Create a new release"
    • Pin the release to a tag following the format vX.X (e.g., v1.0, v2.1)
    • Fill in the release title and notes
    • Click "Publish release"
  4. Automated publishing:

    • Publishing the release triggers the CI pipeline
    • If CI passes, the CD pipeline automatically builds and publishes the package to PyPI

License

This project is licensed under the GNU Lesser General Public License v2.1.

Metadata

Release files for productmd 1.51

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for productmd 1.51
File Size Uploaded Provenance Actions
productmd-1.51.tar.gz 125.9 kB With provenance Details for productmd-1.51.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for productmd 1.51
File Interpreter ABI Platform Actions
productmd-1.51-py2.py3-none-any.whl Python 2, Python 3 none any Details for productmd-1.51-py2.py3-none-any.whl

Total release size: 172.5 kB

Release files / productmd-1.51.tar.gz

Download URL productmd-1.51.tar.gz
Size 125.9 kB
Tags Source
SHA-256 checksum
How to use checksums
792579645193e0d23bb1d02a90210ebf607dfc8b65720741ad1a638491aaa055
BLAKE2b-256 checksum
How to use checksums
eee5cc5c42e12eb0d44bdc3cb9ba955936f1424c6d49a36eebb656e8bb44cf1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / productmd-1.51-py2.py3-none-any.whl

Download URL productmd-1.51-py2.py3-none-any.whl
Size 46.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
53df4c3c9c4930d74313786319dbf1f7300640d3819d41f9edd832090d88305e
BLAKE2b-256 checksum
How to use checksums
5e1f6e5250bdbca05e38943b52fd2cd448def2523e3932d216cb87b9c0839c7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for productmd 1.51

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for productmd-1.51.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.51 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page