Skip to main content

This package contains helper methods to perform certain routine activitiesin the act of image processing with pyautogui

Project description

Routines

This package contains helper methods to perform certain routine activities in the act of image processing with pyautogui

Installation

Use the package manager pip to install routines.

pip install pyroutines

Usage

import pyroutines as pyrout


# returns 'boolean'
pyrout.move_to_image(path_of_images, auto_click=True)
"""
Note that the auto_click parameter is optional
and setting it to True, when locating the image, a click will automatically be executed.
The necessary parameter "list of images" must contain at
least 1 item in the source directory so that it is possible to read the 
image and search for it elsewhere
"""


# returns 'None'
pyrout.save_logs(message, method_name, error=False)
"""
Auxiliary method to save logs and print the information on the console.
The 'message' parameter refers to the message that will be displayed
in the log file and in the console, the method_name parameter serves
 to identify the name of the routine where the error occurred and the 
optional 'error' parameter serves to indicate the type of message to be displayed
"""

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

pyroutines-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

pyroutines-1.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file pyroutines-1.0.1.tar.gz.

File metadata

  • Download URL: pyroutines-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for pyroutines-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9ba7704921fe7fe19117400e5ebc61d050449c281f3caac067c406445ab64c69
MD5 ccb1d3aeee70324fdea21c9e48c33801
BLAKE2b-256 25c47a0ddfb05f86d48f14f5dff551c663a323d717728c859e6e751a34d7dc32

See more details on using hashes here.

File details

Details for the file pyroutines-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyroutines-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for pyroutines-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75d83379a8d5e3eeedc39bbd828c8175476699db5b91a6ae978e8bae1c1edf56
MD5 e73a78221b7b0e86c2e9b0d5c57a7abf
BLAKE2b-256 45a84dabf24bedbfe01eb61f81fc07f64c87f19c3bb17a350deb150c5ef0f55b

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