Skip to main content

PyMobileDevice3

Python application Pypi version Python versions License Docs Downloads Discord

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/

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! 💖

TestMu AI (formerly LambdaTest)

TestingBot TestingBot

SmartDust SmartDust

AnNEDoMini AnNEDoMini

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:

Metadata

Release files for pymobiledevice3 11.59.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymobiledevice3 11.59.0
File Size Uploaded Provenance Actions
pymobiledevice3-11.59.0.tar.gz 1.9 MB With provenance Details for pymobiledevice3-11.59.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymobiledevice3 11.59.0
File Interpreter ABI Platform Actions
pymobiledevice3-11.59.0-py3-none-any.whl Python 3 none any Details for pymobiledevice3-11.59.0-py3-none-any.whl

Total release size: 3.4 MB

Release files / pymobiledevice3-11.59.0.tar.gz

Download URL pymobiledevice3-11.59.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
884265706787e5b1802c344b8f9ccffaf09cd91413cb62db27070e97a542c26d
BLAKE2b-256 checksum
How to use checksums
c3c3a4bd30c8dd557aef4b69f7447c730f4e736d3a222698a9651f2daa69af41
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 18, 2026.

Transparency log

Release files / pymobiledevice3-11.59.0-py3-none-any.whl

Download URL pymobiledevice3-11.59.0-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
313b75a472a78fffdb1f5e4a8ade2c1bd3e531433ec7988d08b8532ef3a19857
BLAKE2b-256 checksum
How to use checksums
17a1c9d351df73b20a50727e51178ad5e39c5987f6c3ef78e1463dc291e54f9b
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 18, 2026.

Transparency log

Security for pymobiledevice3 11.59.0

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.

Select from 2 files

Attestation for pymobiledevice3-11.59.0.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 18, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

11.59.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page