{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/6"}],"enrichment":{"capability":"Parse and validate Mozilla product version numbers, classify them as nightlies or releases, and compare versions for ordering.","skillfed_tags":["version-parsing","mozilla-releng"],"use_cases":["Validate Firefox version strings in build pipelines before publishing releases.","Sort a list of mixed Firefox version strings (alphas, betas, releases) in correct semantic order.","Detect whether a given version is a nightly build to route it to different testing or distribution channels.","Compare two Thunderbird version numbers to determine which is newer without string manipulation.","Enforce version number compliance in release tooling to catch malformed version inputs early."],"what_it_does":"mozilla-version is a Python library that parses and validates version numbers used by Mozilla's build and release pipelines for products like Firefox, Fennec, Fenix, and Thunderbird. It provides an object-oriented interface to determine whether a version string is valid, classify it as a nightly or regular release, extract metadata like beta numbers, and compare versions for ordering. The library uses a two-pass validation approach: a loose regex filter followed by strict semantic checks, and accounts for historical edge cases found in Mozilla's release archives.\n\nThe package solves the problem of version handling fragmentation across Mozilla's infrastructure by centralizing version logic in a single source of truth. Instead of reimplementing regex-based parsing in multiple scripts, consumers create version objects once and then query their properties or sort them naturally. It depends only on attrs for class generation and supports current Python versions (3.9+).","worth_installing":"Yes. This is a focused, well-maintained utility with low install friction, no known vulnerabilities, and a clear use case for anyone working with Mozilla product versioning. The copyleft license is standard for Mozilla projects and poses no barrier to most uses. Install it if you need to parse or validate Mozilla version numbers; skip it if you only work with standard semantic versioning."},"id":"mozilla-version","links":{"html":"https://skillfed.io/packages/mozilla-version","md":"https://skillfed.io/packages/mozilla-version.md","pypi":"https://pypi.org/project/mozilla-version/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-17","license_spdx":"MPL-2.0","license_treatment":"copyleft","name":"mozilla-version","python_support":"supports_current","summary":"Process Firefox versions numbers. Tells whether they are valid or not, whether they are nightlies or regular releases, whether this version precedes that other."},"popularity":{"monthly_downloads":74293,"position":14853,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.1.0"}
