General pop-up processing!
Project description
popups
安装
- 命令行执行
pip install -U popups
使用
from popups.dismiss import popup, UT
# 默认是False状态,使用时需要打开
UT.ENABLE = True
# 图片模版路径,不传则使用popups自带的模版库
IMG_PATH = 'your_tpl_path'
# 是否启用系统弹窗处理
UT.SYS = True
# 是否启用APP弹窗处理
UT.APP = False
# 是否是iOS系统
UT.iOS = True
# 循环执行次数,默认为1次
UT.LOOP = 1
# 超时时间,默认为5秒
UT.TIMEOUT = 5
# 单独使用popup时需要传入设备URL,配合utx使用时无需关注
DEVICE = 'Android://127.0.0.1:5037/SJE5T17B17'
popup(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.4.tar.gz
(122.7 kB
view details)
Built Distribution
popups-0.0.4-py3-none-any.whl
(125.5 kB
view details)
File details
Details for the file popups-0.0.4.tar.gz
.
File metadata
- Download URL: popups-0.0.4.tar.gz
- Upload date:
- Size: 122.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f70a7418058bbd8c02aac65a91f44203935028c81f73d28e08bb5ae78c79f3d |
|
MD5 | e1da98fc899bb40147778117d55addd8 |
|
BLAKE2b-256 | e4716b100aa146a68957564d4abc233065e6857698f1d8943ba25f155d309e96 |
Provenance
File details
Details for the file popups-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: popups-0.0.4-py3-none-any.whl
- Upload date:
- Size: 125.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3055e6100ac10f96445811f34f5065abeb0e660a0e2baf6f53f7bd6908505c34 |
|
MD5 | 3d47caae7e1226fb4f274c17c4b90ec6 |
|
BLAKE2b-256 | aeb4f4d0c83cb63edb51fe174392e77e82930c085e2edae1866768965e420a21 |