mozilla-version
Process Firefox versions numbers. Tells whether they are valid or not, whether they are nightlies or regular releases, whether this version precedes that other.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction install with a single runtime dependency (attrs).
- Active maintenance with a recent release 58 days ago and commits through August 2026.
License · maintenance · safety
MPL-2.0 (copyleft) — MPL-2.0 is a copyleft license; you must disclose source and license terms if you distribute this package or derivative works, but it permits commercial use and private modification.
last release 2026-06-17 (58 days) · last repo commit 2026-08-06 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,293 downloads/mo, #14,853 on PyPI
Alternatives
Verify before relying
pip install mozilla-version
from mozilla_version.firefox import FirefoxVersion
version = FirefoxVersion.parse("84.0b3")
print(version.is_beta, version.beta_number)- Whether the library handles all current Firefox, Fennec, Fenix, and Thunderbird version schemes or only a subset.
- Performance characteristics when parsing or comparing large batches of version strings.
What it is and 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.
The 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+).
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
mozilla-version on PyPI
Before you install
Low friction install with a single runtime dependency (attrs). Active maintenance with a recent release 58 days ago and commits through August 2026.
Requires Python 3.9 or later.
License in practice
MPL-2.0 is a copyleft license; you must disclose source and license terms if you distribute this package or derivative works, but it permits commercial use and private modification.
Quickstart
pip install mozilla-version
from mozilla_version.firefox import FirefoxVersion
version = FirefoxVersion.parse("84.0b3")
print(version.is_beta, version.beta_number)
Verify before relying
- Whether the library handles all current Firefox, Fennec, Fenix, and Thunderbird version schemes or only a subset.
- Performance characteristics when parsing or comparing large batches of version strings.
Package facts
| License | MPL-2.0 copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageattrs |
| Maintenance | Actively maintained 58 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,293 / month, #14,853 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: mozilla_version-5.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mozilla version parsing”
- mozilla-versionParse and validate Mozilla product version numbers, classify them as…
- mozversionExtracts and reports version information from Firefox and other…
- mozilla-repo-urlsParses and processes Mozilla repository URLs, centralizing URL…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also compare-locales · mozversion · mozrunner · mozprofile · mozleak · mozcrash · version-utils · release-tag · geckodriver-autoinstaller · fuzzfetch