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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wetest_pyidb-0.0.3-py3-none-any.whl.
File metadata
- Download URL: wetest_pyidb-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da3d000178ad56f510adface1be8c024dc0f8bc4b4ab2327d320202dba45adb9
|
|
| MD5 |
728f9ae389a05dcb83de11a54eb334d7
|
|
| BLAKE2b-256 |
bca7cb9e73fe82395a134aaf1a7be1e07cc69e955cd8d6678da3779845e521f5
|