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.1.tar.gz
(46.3 kB
view details)
Built Distribution
popups-0.0.1-py3-none-any.whl
(48.4 kB
view details)
File details
Details for the file popups-0.0.1.tar.gz
.
File metadata
- Download URL: popups-0.0.1.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 | da425a49fc525722acabda713600deeeea6104edd31086322e31a3882eca6af6 |
|
MD5 | aa88ef65800cb316fe8734e00e83cd3e |
|
BLAKE2b-256 | 2aefc721f892acbb0764dab28f9c144e02737865b63f65a4c656089f3afa0c42 |
Provenance
File details
Details for the file popups-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: popups-0.0.1-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 | f5660b89c2b642b163f61d8527ad318e8397d6959aad1270681d6a0db996df6d |
|
MD5 | 7f87d1f40834628276cc410cab2f00d8 |
|
BLAKE2b-256 | 9fd56720b38ed500153b7622afc977153ffc95b5898a35c174c4b12384c90e6f |