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 details)
Built Distribution
popups-0.0.2-py3-none-any.whl
(48.4 kB
view details)
File details
Details for the file popups-0.0.2.tar.gz
.
File metadata
- Download URL: popups-0.0.2.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9880cd432c6f31e05b3139fb3f70cedac7446a29a8fd07b1c8e48d4b1a106fd4 |
|
MD5 | 91c0898f94c3814cb782c5d8c88e0d41 |
|
BLAKE2b-256 | d1c0ac4b89369b138a93e35767999a1e4eb0eaf944069f629967c9f08625c84b |
Provenance
File details
Details for the file popups-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: popups-0.0.2-py3-none-any.whl
- Upload date:
- Size: 48.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 862b956a5ad5281fb6e976b3cdf156cbacbe466053827921bd916713aa66873c |
|
MD5 | d0cf683a57d583173d2a6bbd34c79470 |
|
BLAKE2b-256 | ef92ae0f4ac5770ddd478ddc1a590885f8f44181fa523c7da6690195508bf019 |