$npx skillfedfor your agent

adbutils

Pure Python Adb Library

With conditionsPyPI Python ModulesReleased Nov 2025642.9K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — adbutils-2.12.0-py3-none-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl · adbutils-2.12.0-py3-none-manylinux1_x86_64.whl · adbutils-2.12.0-py3-none-win32.whl
v2.12.0 · released 2025-11-12 · Python >=3.8 · 4 runtime deps: requests, deprecation, retry2, Pillow

Yes, if you need to automate Android device control from Python. The library is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers a clean Python API over the ADB protocol. Medium install friction from its dependencies is acceptable for most use cases. Not necessary if you only need occasional manual ADB commands.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later and a running ADB server (typically started via `adb start-server` or bundled with Android SDK).
  • Medium install friction due to 4 runtime dependencies (requests, deprecation, retry2, Pillow) and platform-specific wheels for macOS, Linux, and Windows.
  • Actively maintained with recent commits and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.

last release 2025-11-12 (275 days) · last repo commit 2026-08-10 · 1,071 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 642,903 downloads/mo, #5,610 on PyPI

Verify before relying

pip install adbutils

from adbutils import adb

# Connect to ADB server and list devices
for device in adb.device_list():
    print(device.serial)

# Execute shell command on a device
d = adb.device()
output = d.shell("getprop ro.serialno")
print(output)
  • Whether Pillow is required for all use cases or only for screenshot functionality
  • Whether the package works with all ADB server versions or has specific compatibility constraints
Same gist for agents: .md · .json

What it is and what it does

adbutils is a pure Python implementation of the ADB protocol that lets you programmatically control Android devices connected via USB or network. It wraps the low-level ADB protocol in a high-level API, allowing you to list devices, run shell commands, transfer files, take screenshots, and manage port forwarding—all without shelling out to the system `adb` command.

The library is built on top of socket communication with an ADB server and handles the protocol details internally. It depends on requests for HTTP operations, Pillow for image handling in screenshots, retry2 for connection resilience, and deprecation for API lifecycle management. It's actively maintained, supports Python 3.8 through 3.10, and has no known security vulnerabilities.

Use it for

  • Automate testing workflows by running shell commands and capturing output from connected Android devices
  • Build mobile device farms or CI/CD pipelines that need to control multiple Android devices programmatically
  • Transfer test data or APKs to devices and retrieve logs or screenshots for test reporting
  • Monitor device properties and state changes in real-time without spawning external processes
  • Implement custom device management tools that integrate ADB functionality into larger Python applications

Worth the install?

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

With conditions

Yes, if you need to automate Android device control from Python.

The library is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers a clean Python API over the ADB protocol. Medium install friction from its dependencies is acceptable for most use cases. Not necessary if you only need occasional manual ADB commands.

Install

adbutils on PyPI

Before you install

Medium install friction due to 4 runtime dependencies (requests, deprecation, retry2, Pillow) and platform-specific wheels for macOS, Linux, and Windows. Actively maintained with recent commits and no known vulnerabilities.

Requires Python 3.8 or later and a running ADB server (typically started via `adb start-server` or bundled with Android SDK).

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.

Quickstart

pip install adbutils

from adbutils import adb

# Connect to ADB server and list devices
for device in adb.device_list():
    print(device.serial)

# Execute shell command on a device
d = adb.device()
output = d.shell("getprop ro.serialno")
print(output)

Verify before relying

  • Whether Pillow is required for all use cases or only for screenshot functionality
  • Whether the package works with all ADB server versions or has specific compatibility constraints

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionMedium. Platform-specific wheel
Runtime dependencies
4 packages
requestsdeprecationretry2Pillow
MaintenanceActively maintained 275 days since the last release
Last repo commit
First released
Downloads642,903 / month, #5,610 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Evidence: adbutils-2.12.0-py3-none-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl; adbutils-2.12.0-py3-none-manylinux1_x86_64.whl; adbutils-2.12.0-py3-none-win32.whl; adbutils-2.12.0-py3-none-win_amd64.whl

Tags

Capabilities
adb python libraryandroid device control pythonadb shell commandsandroid file transfer pythondevice automation adb
Topics
android-automationadb-protocoldevice-testing

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 › “adb python library”

  • adbutilsadbutils is a Python library that communicates with Android devices…
  • adb-shellImplements ADB (Android Debug Bridge) shell and FileSync protocol in…
  • alibabacloud-adb20211201Provides a Python client library for interacting with Alibaba Cloud's…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also adb-shell · pure-python-adb · androidtvremote2 · uiautomator · uiautomator2 · alibabacloud-adb20211201 · pushbullet.py · mobly · brainstem · uart-devices