$npx skillfedfor your agent

mobly

Automation framework for special end-to-end test cases

Worth itPyPI TestingReleased Aug 2026252.8K downloads / moApache2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mobly-1.13.1-py3-none-any.whl
v1.13.1 · released 2026-08-07 · Python >=3.11 · 3 runtime deps: portpicker, pywin32, pyyaml

Yes. Mobly is actively maintained, has low install friction, carries a permissive license, and solves a specific and genuine problem—orchestrating tests across multiple devices or complex hardware environments. It is well-suited for teams testing Android devices, IoT systems, or RF equipment. The Python 3.11+ requirement and adb dependency are reasonable constraints for its target use case. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or newer.
  • System adb (1.0.40+) is required for Android device control.
  • pywin32 dependency may require compilation on Windows.

License · maintenance · safety

Apache2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.

last release 2026-08-07 (7 days) · last repo commit 2026-08-12 · 751 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 252,780 downloads/mo, #8,532 on PyPI

Verify before relying

pip install mobly

from mobly import base_test
from mobly import config_parser
from mobly import runtime_test_info

class MyTest(base_test.BaseTestClass):
  def setup_test(self):
    pass
  def test_example(self):
    pass
  • Whether adb must be pre-installed on the system or if Mobly can manage it automatically.
  • Specific version constraints for portpicker and pyyaml beyond what pip resolves.
  • Whether the framework supports device types beyond Android or if custom device controllers are the primary extension mechanism.
Same gist for agents: .md · .json

What it is and what it does

Mobly is a Python test framework built to handle test scenarios that require coordinating multiple devices or complex hardware environments. It originated from Google's internal testing needs and provides a structured way to write, configure, and execute tests that involve interactions between phones, wearables, IoT devices, or specialized RF equipment. The framework abstracts device control through pluggable controllers, with built-in support for Android devices via adb.

The framework handles the operational complexity of multi-device testing: device discovery and initialization, test isolation, logging across devices, and teardown. It depends on portpicker for port allocation, pyyaml for configuration parsing, and pywin32 for Windows compatibility. Tests are written as classes inheriting from base_test.BaseTestClass, with lifecycle hooks for setup and teardown at test and class levels.

Use it for

  • Test peer-to-peer data transfer protocols between two Android devices or other connected hardware.
  • Verify conference call functionality across multiple phones with coordinated audio/video validation.
  • Test wearable device integration with a companion phone, including pairing and data synchronization.
  • Validate IoT device communication and interoperability in multi-device mesh or hub-and-spoke topologies.
  • Measure RF characteristics of devices using specialized test equipment controlled alongside device under test.
  • Test LTE network behavior by orchestrating phones, base station simulators, and evolved Node B emulators.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Mobly is actively maintained, has low install friction, carries a permissive license, and solves a specific and genuine problem—orchestrating tests across multiple devices or complex hardware environments. It is well-suited for teams testing Android devices, IoT systems, or RF equipment. The Python 3.11+ requirement and adb dependency are reasonable constraints for its target use case. No known vulnerabilities.

Install

mobly on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (7 days old) and steady commit activity. Requires Python 3.11 or newer and system adb (1.0.40+ recommended), plus three lightweight runtime dependencies.

Requires Python 3.11 or newer. System adb (1.0.40+) is required for Android device control. pywin32 dependency may require compilation on Windows.

License in practice

Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install mobly

from mobly import base_test
from mobly import config_parser
from mobly import runtime_test_info

class MyTest(base_test.BaseTestClass):
  def setup_test(self):
    pass
  def test_example(self):
    pass

Verify before relying

  • Whether adb must be pre-installed on the system or if Mobly can manage it automatically.
  • Specific version constraints for portpicker and pyyaml beyond what pip resolves.
  • Whether the framework supports device types beyond Android or if custom device controllers are the primary extension mechanism.

Package facts

LicenseApache2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
portpickerpywin32pyyaml
MaintenanceActively maintained 7 days since the last release
Last repo commit
First released
Downloads252,780 / month, #8,532 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: mobly-1.13.1-py3-none-any.whl

Tags

Capabilities
multi-device test frameworkandroid device testing automationhardware integration testingend-to-end device orchestrationiot device testing frameworkcomplex environment test harnessdevice controller framework
Topics
multi-device-testingandroid-automationhardware-integration

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 › “multi-device test framework”

  • moblyMobly is a Python test framework designed to orchestrate test cases…
  • django-rest-knoxProvides token-based authentication for Django REST Framework with…
  • pyats.topologyModels network testbeds, devices, interfaces, links and segments as…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also tflite-runtime · ai-edge-litert · executorch · mozdevice · uiautomator · Kivy · adbutils · bumble · pylibftdi · ai-edge-litert-nightly