Skip to main content

wrapper for pymobiledevice3 for easy use with iphone device

Project description

tidevice3

PyPI version codecov

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>

# 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

DEVELOP & CONTRIBUTE

see DEVELOP.md

LICENSE

MIT

Project details


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.7.2.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tidevice3-0.7.2-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file tidevice3-0.7.2.tar.gz.

File metadata

  • Download URL: tidevice3-0.7.2.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for tidevice3-0.7.2.tar.gz
Algorithm Hash digest
SHA256 40730918599261319a419ac46d08aa1000719926ebce236497747275ecb316a3
MD5 de3fc4ac2c1b7c2099130ae0484076c9
BLAKE2b-256 7a83e1c59560486db669cb9323cda7737a6920c20b7463d382e013918e927871

See more details on using hashes here.

File details

Details for the file tidevice3-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: tidevice3-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for tidevice3-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 98192ca93dfc60b0706fccd535a0610e53c6bba48569ee9a1601fea051a51ee8
MD5 28424429b71c0004d841b085c90b154b
BLAKE2b-256 fbe3ceb0ce737cb69ea4c57c5e6531cec804e4acede337a5b9e87c2f07674e88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page