Skip to main content

No project description provided

Project description

pyidb

idb的python封装

安装

支持python >= 3.8

使用以下命令可以直接从腾讯pypi源进行安装

python3 -m pip install wetest-pyidb --upgrade --extra-index-url https://mirrors.tencent.com/repository/pypi/tencent_pypi/simple

已支持功能

优先支持添加了json参数的命令

✅ list

✅ info

✅ tunnel start

✅ ps

✅ applist

✅ developer

✅ launch

✅ reboot

✅ uninstall

用法

参考 examples 调用API

初始化

from pyidb import Idb

# 不填写参数
# idb_path: 会按照 PATH,home/localdevices/idb 顺序查找idb
# 查找不到会自动下载到 home/localdevices/idb
# udid: 使用 idb list 第一个设备的udid
idb = Idb()

# 指定 idb 路径
idb = Idb(idb_path="/Applications/idb")

# 指定 udid
idb = Idb(udid="00008130-001968982EA0001C")

更换设备

# 修改 idb_path
idb.idb_path = "~/idb"

# 修改 udid
idb.udid = "00008030-000A350A3482402E"

作者信息 & 致谢

Tencent WeTest Team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

wetest_pyidb-0.0.5-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file wetest_pyidb-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: wetest_pyidb-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for wetest_pyidb-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb51abef6d18e9b5dfb3600d1ec464edce309e7a7918ae7ca708ca3ae2de6eb
MD5 5746a914348d89728997a5deec5824da
BLAKE2b-256 39feab4df6b2c2c03599b342b5f7e25fdb12ce0c66d652a5c465126193e54c4f

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