Skip to main content

No project description provided

Project description

DMT AutoGui

AutoGui is a Python library that simplifies automating graphical user interfaces (GUIs) using pyautogui, pyperclip, and other related libraries. It provides a higher-level interface for common GUI automation tasks, such as finding and clicking images, typing text, taking screenshots, and interacting with system processes. It also includes robust error handling and logging capabilities.

Features

  • Image Recognition: Locate images on the screen with configurable confidence levels and timeouts.
  • Mouse Control: Click on images or specific coordinates. Get the current mouse position.
  • Keyboard Control: Press keys and write text.
  • Screen Operations: Get screen size and take screenshots, optionally specifying a region.
  • System Interaction: Open and close programs.
  • Error Handling: Uses Model_Error objects for consistent error reporting.
  • Logging: Integrated logging with customizable levels.
  • Path Handling: Handles both relative and absolute file paths for images.

Logging

AutoGui uses Python's built-in logging module. You can provide your own logger instance or let AutoGui create one. This allows for flexible logging configuration.

Error Handling

All methods that can potentially fail return either a Model_AutoGuiResponse (on success) or a Model_Error (on failure). This makes it easy to check for errors and handle them appropriately.

File Paths

The GUIController automatically determines the directory of the calling script and uses it as the base path for finding image files. This simplifies the use of relative paths. You can also provide absolute paths.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

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

dmt_auto_gui-0.1.21.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

dmt_auto_gui-0.1.21-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file dmt_auto_gui-0.1.21.tar.gz.

File metadata

  • Download URL: dmt_auto_gui-0.1.21.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.0

File hashes

Hashes for dmt_auto_gui-0.1.21.tar.gz
Algorithm Hash digest
SHA256 2bdacee79001c7cbe08eb599320019890af00efd530bfb924e475040227ed58c
MD5 20ba8bd26a2341c151861682ee41d0f0
BLAKE2b-256 f4b676a00edf63778426c7d8848ab954c9d2e8199325707bccddcb4324afd4f0

See more details on using hashes here.

File details

Details for the file dmt_auto_gui-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for dmt_auto_gui-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 8f5e5b9c50d1a6d57f7efa4f9c5960fe923792718d0abf56e4d2dc1b0896b8bf
MD5 102ac49edb0dff7ac103392142149948
BLAKE2b-256 d0bab1e65718a96a91fc79ce270ae71a0f7d69e2d6d8d43ea1552d67efbe6e2b

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