TextLogCheck
A Python package for analyzing, verifying, and monitoring text-based log files. Includes tools for file existence checks, log tail analysis, text searches, and more.
You can find Full Project Documentation here
Workflows
Package
Support
Downloads
Languages
Development
Menu
- Mission
- Open Source Project
- Features
- Requirements
- Development Status
- Install
- Quickstart
- Contributing
Mission
To provide a reliable, open-source Python solution for managing and analyzing text-based log files, empowering developers, system administrators, and security professionals with tools to ensure log integrity, streamline troubleshooting, and enhance system monitoring practices.
Open Source Project
This is the open source project with Happy Code license. Be free to use, fork, clone and contribute.
Features
- Check if log file exists
- Read tail of log file
- Clear log file
- Check if user can change log file
- Check if user can delete log file (Plan)
- Search text in log file (Plan)
- Modify log file (Plan)
Requirements
- python >= 3
- See more in Full Documentation
Development Status
- Package already available on PyPi
- See more in Full Documentation
Install
with pip
pip install text-log-check
See more in Full Documentation
Quickstart
from text_log_check import exists, tail, clear, is_modifiable
if exists('/var/log/auth.log'):
print(tail('var/log/auth.log', 5))
if is_modifiable('var/log/auth.log'):
clear('var/log/auth.log')
More examples in Full Documentation
Contributing
You are welcome! To easy start please check:
Release files for text-log-check 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| text_log_check-0.1.1.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| text_log_check-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / text_log_check-0.1.1.tar.gz
| Download URL | text_log_check-0.1.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4807776b33542b7e7898404b0d8b497c1a2f9a23ec70873c8b9e041a85939235
|
|
BLAKE2b-256 checksum How to use checksums |
4deb8e7aac16ead6f5774c04f3b89548eb8c2f0bf154d79357928b6fdc042a6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Release files / text_log_check-0.1.1-py3-none-any.whl
| Download URL | text_log_check-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a4f804eb0e11ace97cdd500a7d41d568fb92c5aaf97d343d9800261cef0eacd
|
|
BLAKE2b-256 checksum How to use checksums |
c206bd5131d023f404c2a233341ed5c5ef29b49fb093c5d63e426652fde5f1fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|