Skip to main content

基于键鼠、图片定位的自动化gui工作套件。

Project description

项目介绍

干活儿过程中发现有部分内容是重复枯燥的,在确保稳定的情况下,可以通过自动化程序来实现工作流程的简化。一开始采用了一些python出名的自动化库。但是在实际过程中遇到了一些奇奇怪怪的问题,于是就为了摸鱼狠狠地开发了这个工具。

安装

pip install pyAutoAss

更新

  • 1.0.6.2
    1. 优化屏幕截图位图创建逻辑,修复当副显示器在主显示器左上时无法截取到的问题。

  • 1.0.6.1
    1. 修改AutoOperation类方法wait,提供等待任意键按下效果。

    2. 新增AutoOperation类属性kl,ml。实例化KeyboardListening,MouseListening对象。。

    3. 新增AutoOperation类方法listening,支持对键盘鼠标的监听。

    4. 新增MCODE工具类,用于映射鼠标事件。

    5. 新增Listening类,用于监听硬件事件。

    6. 新增KeyboardListening类,用于监听键盘事件。

    7. 新增MouseListening类,用于监听鼠标事件。

  • 1.0.5.5
    1. 修改getXY等获取图片坐在左边方法位置到pyAutoGui模块下。

    2. 修改getXY方法逻辑。删除方法中的截屏方法,删除screenshot_img_path参数,新增contrast_img_path参数。

    3. 新增screencut方法,用于全屏截图。

    4. 新增getXYByScreencut方法,用于获取图片在屏幕上的坐标位置。

    5. 新增getXYByList方法,用于获取列表最后一个图片在列表第一个图片的上的坐标位置。

    6. 新增getXYByList方法,用于获取列表最后一个图片在屏幕的上的坐标位置。

    7. 新增getAutoXY方法,用于自动选择通过列表或是通过值来获取图片在屏幕上的坐标。

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

pyautoass-1.0.6.2.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyautoass-1.0.6.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file pyautoass-1.0.6.2.tar.gz.

File metadata

  • Download URL: pyautoass-1.0.6.2.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pyautoass-1.0.6.2.tar.gz
Algorithm Hash digest
SHA256 9aba64602a18d78af8c941d39f94e9b06af692ce7e0f6cc9cd7a174b582f5a25
MD5 dde492d1798dc3ef8ab80ad9bafbc833
BLAKE2b-256 61dbbd7ae80a192dddef92e4e5ef7b7dc04c85c409be4ff06969efcafe045cf6

See more details on using hashes here.

File details

Details for the file pyautoass-1.0.6.2-py3-none-any.whl.

File metadata

  • Download URL: pyautoass-1.0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pyautoass-1.0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 67914f67ee41eb68e8465ade008746b8c4be39a2643d3e72f596b14a008aa085
MD5 3443551649a9b7b2c20157ff9a40ff7b
BLAKE2b-256 2d7a67d108940a45b6d3b5c5e1431d4f51d45ebdccb0ef400abdc58276d30b13

See more details on using hashes here.

Supported by

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