wrapper for pymobiledevice3 for easy use with iphone device
Project description
tidevice3
wrapper for pymobiledevice3 to make it more easy to use.
Install
pip install tidevice3
# or install as Isolated environment
brew install pipx
pipx install tidevice3
Usage
$ t3 list
...
# enable developer mode and mount develoepr image
$ t3 developer
# install & uninstall
$ t3 install https://....ipa
$ t3 install ./some.ipa
$ t3 uninstall com.example
# start tunneld for iOS>=17
# launch process (pmd3 remote start-tunnel) when new usb device connected
# root required
$ sudo t3 tunneld
# take screenshot
$ t3 screenshot out.png
# reboot
$ t3 reboot
# file operation
$ t3 fsync <ls|rm|pull|push> [Arguments...]
# app
$ t3 app <ps|list|launch|kill|instal|uninstall|foreground>
# screenrecord
$ t3 screenrecord out.mp4
# show help
$ t3 --help
API Usage
The API alone is insufficient for all operations; combining it with the pymobiledevice3 library can accomplish more things.
from tidevice3.api import list_devices, connect_service_provider, screenshot
for d in list_devices(usb=True):
print("UDID:", d.Identifier)
service_provider = connect_service_provider(d.Identifier)
pil_im = screenshot(service_provider)
pil_im.save("screenshot.png")
Platform support
- Mac (supported)
- Windows (https://github.com/doronz88/pymobiledevice3/issues/569)
- Linux (https://github.com/doronz88/pymobiledevice3/issues/566)
DEVELOP & CONTRIBUTE
see DEVELOP.md
LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tidevice3-0.8.1.tar.gz
(14.7 kB
view hashes)
Built Distribution
tidevice3-0.8.1-py3-none-any.whl
(20.0 kB
view hashes)
Close
Hashes for tidevice3-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a47e7e405416fbef05521370b995cbcb8ac39cca5f0f3023fdc4856428040fe |
|
MD5 | f042ba5e16c2cccfaca24e60e69b28ba |
|
BLAKE2b-256 | 46646ac07763ad47e5618127a9a7b22e5147778f9d2f59b5e9f8ad4f754099d3 |