General pop-up processing!
Project description
popups
安装
- 命令行执行
pip install -U popups
使用
from popups.dismiss import popup
from popups.settings import Settings as ST
# 默认是False状态,使用时需要打开
ST.ENABLE = True
# 图片模版路径,不传则使用popup自带的模版库
IMG_PATH = 'img'
# 单独使用popup时需要传入设备URL,配合utx使用时无需关注
DEVICE = 'Android://127.0.0.1:5037/SJE5T17B17'
popup(tpl=IMG_PATH, devices=DEVICE)
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
popups-0.0.2.tar.gz
(46.3 kB
view hashes)
Built Distribution
popups-0.0.2-py3-none-any.whl
(48.4 kB
view hashes)