Logging for automation, offering thread-safety, log cleanup and screenshot support.
Project description
Automation Logging
Overview
Logging library for automation, offering thread-safety, log cleanup and screenshot support:
- Thread-Safe Logging: Ensures reliable and consistent logging from multi-threaded applications, preventing message corruption.
- Automated Log Management: Simplifies log file maintenance with configurable retention policies based on age or file count.
- Seamless Integration: Enables effortless integration with existing projects by allowing the library to override the standard
loggingmodule's root logger. - Integrated Screenshot Capture: Captures informative screenshots directly within your logs, supporting full-screen captures (using
pyautogui) and Selenium WebDriver screenshots, including headless browser support (usingselenium).
Instructions
- How to create wheel
- Create a virtual environment and install packages from build-requirements.txt
- Activate the virtual environment
- From the folder containing "setup.py", execute:
python setup.py bdist_wheel - The wheel will be generated inside the
distfolder - Install wheel using:
pip install dist/automation_logging[...].whl
- How to generate documentation
- Create a virtual environment and install packages from build-requirements.txt
- Activate the virtual environment
- From the sphinx-doc folder, execute:
make html - The documentation will be generated inside the
sphinx-doc/build/htmlfolder - To use the documentation, open the
index.htmlfile
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
automation_logging-1.1.0.tar.gz
(14.6 kB
view details)
File details
Details for the file automation_logging-1.1.0.tar.gz.
File metadata
- Download URL: automation_logging-1.1.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27818796a182d433e54c314d57bbdaf603f1bb43c87424e4f9180145f10a3298
|
|
| MD5 |
e612ff06be34d2d504912398aa326082
|
|
| BLAKE2b-256 |
475fd86e33e80350767a3640184ce997059d006aaf9ed294f7fc233774295051
|