Skip to main content

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

Tests Pylint

Package

Version Development Status Python version License Wheel

Support

Documentation Discussions Issues

Downloads

Day Downloads Week Downloads Month Downloads All Downloads

Languages

Languages Top Language

Development

  • Release date Last Commit
  • Issues Closed Issues
  • Pull Requests Closed Pull Requests
  • Discussions

Menu

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

Development Status

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)

Source distribution for text-log-check 0.1.1
File Size Uploaded
text_log_check-0.1.1.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for text-log-check 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page