Skip to main content

A simplified edition of the PyAutoGUI library

Project description

PyAutoGUI Simplified Edition

This is a simplified edition of the PyAutoGUI library that provides easy-to-use functions for screen automation.

PyAutoGUI is a cross-platform GUI automation Python module that can perform many functions, including mouse and keyboard control, taking screenshots, and locating images on the screen.

However, the library can be complex and difficult to use for beginners. The PyAutoGUI Simplified Edition provides simpler functions that are easier to use, but can still accomplish many of the same tasks as the original library.

Installation

The package can be installed using pip:

pip install pyautogui_simplified_edition

Usage

Here are the available functions in this package:

  • wait_until_found(image: str, timeout: float = 10.0, interval: float = 0.5, **kwargs) -> None: waits until an image is found on the screen.
  • wait_until_not_found(image: str, timeout: float = 10.0, interval: float = 0.5, **kwargs) -> None: waits until an image is not found on the screen.
  • find_in(image: str, region: Box | None = None, grayscale: bool = False, confidence: float = 0.9, **kwargs) -> Tuple[int, int]: finds an image in a given region on the screen.
  • easy_find(image: str, grayscale: bool = True, confidence: float = 0.75, **kwargs) -> Box | None: finds an image on the screen using easier parameters.
  • hard_find(image: str, grayscale: bool = False, confidence: float = 0.93, **kwargs) -> Box | None: finds an image on the screen using harder parameters.
  • find_any(images: List[str], grayscale: bool = False, confidence: float = 0.9, **kwargs) -> Tuple[str, Box]: finds any of the given images on the screen.
  • find_any_center(images: List[str], grayscale: bool = False, confidence: float = 0.9, **kwargs) -> Tuple[str, Tuple[int, int]]: finds the center of any of the given images on the screen.
  • take(image: str, region: Box | None = None, **kwargs) -> None: takes a screenshot of a given region on the screen.

For detailed information on the usage of each function, please refer to the docstrings in the code.

Acknowledgements

This package is based on the PyAutoGUI library, which can be found at https://pypi.org/project/PyAutoGUI/.

License

This package is licensed under the MIT License. Please see the LICENSE file for more information.

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

pyautogui_simplified_edition-1.0a1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

pyautogui_simplified_edition-1.0a1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pyautogui_simplified_edition-1.0a1.tar.gz.

File metadata

File hashes

Hashes for pyautogui_simplified_edition-1.0a1.tar.gz
Algorithm Hash digest
SHA256 0ea503403ffca749a4a1d9d507d8c8d07caf3937244d785c935e0e88683fd269
MD5 ad1062bd0b657e73f042c450eb7cb028
BLAKE2b-256 9410070c99bf024c400be68f7568e4d9f610ee3c79d9718cf453ca3d0b7e0e82

See more details on using hashes here.

File details

Details for the file pyautogui_simplified_edition-1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyautogui_simplified_edition-1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 87a9a4dda74e2fc35b2d092f3e618bdd5b121f51fa419b759a50f43ccdbf676c
MD5 7e2480701da4a3381cf4f3fc8703778a
BLAKE2b-256 9f80257c33404898cfe5a74f679c7aca113a6747fc86c61d424f76c259b4d2ff

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