mozinfo
Library to get system information for use in Mozilla testing
What it is and what it does
mozinfo is a library that detects and reports system information—operating system, architecture, processor details—for use in Mozilla's test automation infrastructure. It wraps platform-detection logic into a simple API so test harnesses can query the environment they're running in without reimplementing OS detection themselves.
The package depends on distro and mozfile for file utilities. It is classified as Production/Stable but has been abandoned; while it may still work for basic use cases, there is no active maintenance, no recent bug fixes, and no guarantee of compatibility with newer Python versions or OS releases.
Use it for:
- Detect OS and architecture in Mozilla test automation to route tests to appropriate runners.
- Query system information in CI/CD pipelines to conditionally skip or adapt tests for specific platforms.
- Identify processor and OS details in test logs for debugging environment-specific failures.
- Determine Linux distribution in test environments to apply distribution-specific test configurations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides system information detection for Mozilla testing environments, identifying OS, architecture, and platform details needed by test automation.
No—not for new projects. The package is abandoned with no maintenance for 1113 days, and its classifiers only guarantee Python 3.5 compatibility. If you need system information detection, use the standard library's platform module or actively maintained alternatives. Install only if you are maintaining legacy Mozilla test code that already depends on it and you have no path to migrate.
Install
mozinfo on PyPI
pip
pip install mozinfouv
uv add mozinfopoetry
poetry add mozinfoInstalling mozinfo
Before you install
Low install friction with a pure-Python wheel distribution. However, the package is abandoned—last release was 1113 days ago with no recent maintenance signal. Depends on distro and mozfile, both of which would need independent assessment for ongoing viability.
License in practice
Licensed under MPL (copyleft). Use in proprietary projects requires compliance with copyleft obligations; redistribution or modification must preserve the license and source availability.
Quickstart
pip install mozinfo
import mozinfo
info = mozinfo.info()
print(info['os'])
Verify before relying
- Whether distro and mozfile dependencies are actively maintained or also abandoned.
- Compatibility with Python versions beyond 3.5 (classifiers list only up to 3.5).
- Whether the package still works with current OS/platform detection APIs.
Package facts
| License | MPL (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — distro, mozfile |
| Maintenance | abandoned — 1,113 days since the last release |
| First released | |
| Downloads | 350,310/month — #7,331 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mozinfo-1.2.3-py2.py3-none-any.whl
Keywords: mozilla
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
mozversionExtracts and reports version information from…
copyleft · top 15,000 on PyPI
mozrunnerMozrunner manages the lifecycle of Mozilla…
copyleft · top 15,000 on PyPI
mozsystemmonitorMonitors system resource usage by wrapping…
copyleft · top 15,000 on PyPI
mozfileProvides file and directory utilities for…
copyleft · top 15,000 on PyPI
mozshellutilProvides shell command-line parsing utilities…
copyleft · top 15,000 on PyPI
mozdeviceManages and controls connected mobile devices…
copyleft · top 15,000 on PyPI
mozdebugProvides utilities for launching and managing…
copyleft · top 15,000 on PyPI
mozleakExtracts memory leaks from leak log files,…
copyleft · top 15,000 on PyPI
mozprofileCreates and modifies Mozilla application…
copyleft · top 15,000 on PyPI
archspecArchspec provides APIs to detect, query, and…
permissive · top 15,000 on PyPI