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). - Performance Profiling: Capture elapsed and CPU times of functions using decorators and log the results.
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-0.1.2.tar.gz
(17.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automation_logging-0.1.2.tar.gz.
File metadata
- Download URL: automation_logging-0.1.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ed164b7c25a3ef354865d648d3e35446274e6f88492238a62b3632008bc13c4
|
|
| MD5 |
81a5af07289a568fcbf42f497ce707e2
|
|
| BLAKE2b-256 |
94472da35bed0c4adc6685ce48f48f893b892a9d83255ca1d4d6ab5bc2d999ad
|
File details
Details for the file automation_logging-0.1.2-py3-none-any.whl.
File metadata
- Download URL: automation_logging-0.1.2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af44af11bc26284434bc5638f57a2666e9e07ebb2d339f35989cc9b491014eb
|
|
| MD5 |
fd09ec779d7dba7526c2f6c4f967eea9
|
|
| BLAKE2b-256 |
e2fdc164948658b9fe53e95a2e3ed26b462a423017a32bfe64be4d678a96acf3
|