cmd fwk
Project description
hi , pyadb
get start
-
pip install padb
-
padb --help
usage: command line
positional arguments:
{device-info,log-info}
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-s SERIAL_NO, --serial SERIAL_NO
use device with given serial
- padb device-info
usage: command line device-info [-h] [-b] [--top_activity] [-i]
optional arguments:
-h, --help show this help message and exit
-b, --basic device basic info
--top_activity top activity
-i, --imei get imei
padb device-info -b
[device-info:b/HONOR s/CUYDU19701014125 cid/A00000AD7B3287] >> parse_args Namespace(basic=True, func=<bound method BaseCommand.__execute of <pyadb.cmd.device_info.DeviceInfo object at 0x102d06f28>>, imei=False, serial_no='', top_activity=False)
[device-info:b/HONOR s/CUYDU19701014125 cid/A00000AD7B3287] >> execute
[= ] model:YAL-AL00
[ = ] brand:HONOR
[ = ] name:YAL-AL00
[ = ] wm size:(1080, 2340)
[ = ] wm density:480
[ =] android version:10
[ = ] imei:A00000AD7B3287
[ = ] ip/mac:('192.168.1.102/24', '0x00001043')
[ = ] board:YAL
[ = ] abilist:['arm64-v8a', 'armeabi-v7a', 'armeabi']
[= ] cpu core size:8
[ = ] heap size/m:512
- padb log-info
usage: command line log-info [-h] [--tags TAGS]
[--format {none,brief,process,tag,raw,time,threadtime,long}]
[-e]
optional arguments:
-h, --help show this help message and exit
--tags TAGS tag
--format {none,brief,process,tag,raw,time,threadtime,long}
format
-e, --event event
package source code
- pip3 install setuptools ; pip3 install wheel
- python3 setup.py sdist bdist_wheel
upload package
- pip3 install twine
- twine upload dist/*
reference:
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
cmd_fwk-1.0.0.tar.gz
(22.1 kB
view hashes)
Built Distribution
cmd_fwk-1.0.0-py3-none-any.whl
(40.8 kB
view hashes)