DP

doronz88/pymobiledevice3

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2939 stars 质量 75 趋势 51GPL-3.0

纯 python3 实现,用于处理 iDevices(iPhone 等)。

概览

pymobiledevice3 是纯 Python 3 实现,用于与 iOS 设备(iPhone、iPad 等)交互。它提供 a 和 ,运行于 Windows、Linux 和 macOS。 亮点:设备发现、端口转发、syslog/oslog 流式传输、应用和配置文件管理、AFC 文件访问、崩溃报告、PCAP 嗅探、固件更新、恢复/DFU、备份/恢复、WebInspector 自动化,以及 DDI/DVT 开发工具(通过隧道支持 iOS 17+)。 - 安装与平台说明 - CLI 配方 - iOS 17+ 隧道与支持矩阵 - Python API 指南 - Python API 参考 - 协议内部结构(RemoteXPC、DTX、iDevice 层) 这些文档是基于文档/用MkDocs(mkdocs.yml)构建的。 该仓库将设备操作员代理技能以 Claude Code 插件形式交付,教代理通过 pymobiledevice3 操作连接的 iPhone 或 iPad: 有问题、想法或想帮忙吗?加入Discord社区。 衷心感谢我们的赞助商支持本项目!

概述(AI 翻译)

pymobiledevice3 是一个纯 Python 3 实现,用于与 iOS 设备(iPhone、iPad 等)交互。 它同时自带了命令行工具和Python API,并能运行在Windows、Linux和macOS上。

重点:设备发现、端口转发、syslog/oslog流式传输、应用和配置文件管理、AFC 文件访问、崩溃报告、PCAP嗅探、固件更新、恢复/DFU、备份/恢复、WebInspector 自动化,一个CDP桥接器 让 Chrome DevTools、VS Code 和 Playwright 在设备上调试 Safari 和 WebViews,以及 DDI/DVT 开发者工具(iOS 17+,通过隧道)。

安装

PyPI 是唯一的官方分发渠道。第三方软件包(例如 AUR 的 python-pymobiledevice3)不由本项目维护,且可能已过时。

然后验证连接性:

文献资料

📖 完整文档:

  • 安装与平台说明
  • CLI 配方
  • iOS 17+ 隧道及支持矩阵
  • Python API 指南
  • Python API 参考
  • 协议内部结构(RemoteXPC、DTX、iDevice层)

文档是基于 docs/ 和 MkDocs(mkdocs.yml)构建的。

Claude Code 插件

该仓库运送其 设备操作员技能

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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.

Highlights: device discovery, port forwarding, syslog/oslog streaming, app & profile management, AFC file access, crash reports, PCAP sniffing, firmware update, recovery/DFU, backup/restore, WebInspector automation, a CDP bridge that lets Chrome DevTools, VS Code and Playwright debug Safari and WebViews on the device, and DDI/DVT developer tooling (iOS 17+ over a tunnel).

Install

python3 -m pip install -U pymobiledevice3

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.

Then verify connectivity:

pymobiledevice3 usbmux list
pymobiledevice3 syslog live
pymobiledevice3 apps list

Documentation

📖 **Full documentation: **

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
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add doronz88/pymobiledevice3
新手?先看 mcpskill.org 教程 →