PyMobileDevice3
pymobiledevice3 is a pure Python 3 implementation for interacting with iOS devices (iPhone, iPad, ...).
It ships both a command-line tool and a Python API, and runs on Windows, Linux, and macOS. Coming
from Android? Think of it as adb for iOS.
Highlights:
- Screen mirroring and control in any browser or VNC client, with touch, buttons, keyboard, audio and clipboard (iOS 27+)
- Per-process packet capture straight into Wireshark
- strace-style syscall tracing of every process, live
- A JavaScript shell and a CDP bridge for Safari and WebViews (Chrome DevTools, VS Code, Playwright)
- Developer services without Xcode (screenshots, location simulation, sysmon, DDI mounting); on iOS 17+ over a no-root tunnel each command builds for you, on Windows and Linux too
- Syslog/oslog, apps & profiles, device files, crash reports, backups, firmware update/restore and recovery/DFU
Install
Install with uv, which fetches a suitable Python for you and puts
pymobiledevice3 on your PATH:
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# then, in a new terminal
uv tool install --managed-python pymobiledevice3
Upgrade later with uv tool upgrade pymobiledevice3, or try it without installing via
uvx --managed-python pymobiledevice3 usbmux list. Already manage Python yourself? pipx install pymobiledevice3
works too, and for scripting against the Python API
pip install pymobiledevice3 inside your project's virtualenv.
PyPI is the only official distribution channel. Third-party packages (for example the AUR's
python-pymobiledevice3) are not maintained by this project and may be outdated.
On Windows and Linux, first install the
platform prerequisites
(iTunes or usbmuxd). Then connect the device by USB, unlock it, and verify connectivity:
pymobiledevice3 usbmux list # lists connected devices
pymobiledevice3 apps list # first device command: tap "Trust" on the device if asked
pymobiledevice3 syslog live # streams the device log; Ctrl+C to stop
Documentation
📖 Full documentation: https://doronz88.github.io/pymobiledevice3/
- Installation & platform notes
- CLI recipes
- iOS 17+ tunnels & support matrix
- Python API guide
- Python API reference
- Protocol internals (RemoteXPC, DTX, iDevice layers)
The docs are built from docs/ with MkDocs (mkdocs.yml).
Claude Code plugin
The repository ships its device-operator agent skill as a Claude Code plugin, teaching the agent to operate a connected iPhone or iPad through pymobiledevice3:
/plugin marketplace add doronz88/pymobiledevice3
/plugin install pymobiledevice3-device-operator@pymobiledevice3
Community
Questions, ideas, or want to help? Join the community on Discord.
Sponsors
A huge thank you to our sponsors for supporting this project! 💖
Want to support the project as well? Sponsor it via GitHub Sponsors or Ko-fi.
Contributing
See CONTRIBUTING and Code of Conduct. Agent-specific contributor guidance is in AGENTS.
License and Credits
This work is licensed under GPL 3.0. Planning to ship it in a closed-source app? Read this FAQ first. The project is credited to several major contributors:
- Hector Martin "marcan" hector@marcansoft.com
- Mathieu Renard
- doronz doron88@gmail.com
- matan1008 matan1008@gmail.com
- Guy Salton
- netanelc305 netanelc305@protonmail.com
- Inbar Agmon inbar2812@gmail.com (Project's logo)
Metadata
Release files for pymobiledevice3 11.56.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pymobiledevice3-11.56.1.tar.gz | 1.9 MB | With provenance | Details for pymobiledevice3-11.56.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymobiledevice3-11.56.1-py3-none-any.whl | Python 3 | none | any | Details for pymobiledevice3-11.56.1-py3-none-any.whl |
Total release size: 3.4 MB
Release files / pymobiledevice3-11.56.1.tar.gz
| Download URL | pymobiledevice3-11.56.1.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d405d996ecea6aa02ce2086490497849b49c1d9a66b94ce5cbc0fd169867932
|
|
BLAKE2b-256 checksum How to use checksums |
e766ed5328bfc290a537389d658009df6556e2a6457b8e71b3a0c2278e786791
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / pymobiledevice3-11.56.1-py3-none-any.whl
| Download URL | pymobiledevice3-11.56.1-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ddffcd7e1c589c76cad678c4163f501fc425aa2b7da6b9667e723b0a45be17d
|
|
BLAKE2b-256 checksum How to use checksums |
8cafda7aae6814403f023d7b5f056c307d891bc134ccab6c050bf045fbeed604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for pymobiledevice3 11.56.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pymobiledevice3-11.56.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.