Skip to main content

General pop-up processing!

Project description

popups

PyPI PyPI - Python Version GitHub top language PyPI - Downloads GitHub stars https://blog.csdn.net/flower_drop

安装

  • 命令行执行
pip install -U popups

使用

from popups.dismiss import popup, UT

# 默认是False状态,使用时需要打开
UT.ENABLE = True
# 图片模版路径,不传则使用popups自带的模版库
IMG_PATH = 'your_tpl_path'
# 是否启用系统弹窗处理
UT.SYS = True
# 是否上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.3.tar.gz (214.1 kB view details)

Uploaded Source

Built Distribution

popups-0.0.3-py3-none-any.whl (217.2 kB view details)

Uploaded Python 3

File details

Details for the file popups-0.0.3.tar.gz.

File metadata

  • Download URL: popups-0.0.3.tar.gz
  • Upload date:
  • Size: 214.1 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.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for popups-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5815c08165d6eaaae9d39f8ecb7331c2bdb79d63a1d10c1a1600644b9ad25335
MD5 71c519a1adbe7b6bde42845ae9852ccf
BLAKE2b-256 5002267bcb60ecd86c63d3a23e15b2d2c2a208b2476790a6646f4e33785e5d53

See more details on using hashes here.

Provenance

File details

Details for the file popups-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: popups-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 217.2 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.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for popups-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c5faa1ef6d7305a25572814602f63addccd7392f50806408ea495d2b49383919
MD5 8939ae33c84cbaa1cb02f6b5a16fff61
BLAKE2b-256 7065707c94016ccaea49ae33a7689ea66cd1c4e95ab45fc4c3fd37d48a3e8a48

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page