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)
Metadata
Release files for popups 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| popups-0.0.5.tar.gz | 122.7 kB | Without provenance | Details for popups-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| popups-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for popups-0.0.5-py3-none-any.whl |
Total release size: 248.3 kB
Release files / popups-0.0.5.tar.gz
| Download URL | popups-0.0.5.tar.gz |
|---|---|
| Size | 122.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a5d556a42121164d5efe6e8720742a5e9ab78219f2f212c01103b998e209339
|
|
BLAKE2b-256 checksum How to use checksums |
fac0e7b876a2c19a5c170694031f20b31e25dbe5eab1e9497fefa78159133a98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / popups-0.0.5-py3-none-any.whl
| Download URL | popups-0.0.5-py3-none-any.whl |
|---|---|
| Size | 125.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49776b2f0300955d84d264d4b18f62399a3f78dd4f2e0453776f43baa2f30a01
|
|
BLAKE2b-256 checksum How to use checksums |
cfd67131d4249d249123669614e156aebd95ffb4265226b793756a63bf572343
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for popups 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.