Skip to main content

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.

Project description

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:

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

text_log_check-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

text_log_check-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file text_log_check-0.1.1.tar.gz.

File metadata

  • Download URL: text_log_check-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for text_log_check-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4807776b33542b7e7898404b0d8b497c1a2f9a23ec70873c8b9e041a85939235
MD5 533b112bd4dc8f2856e43df326bd8c18
BLAKE2b-256 4deb8e7aac16ead6f5774c04f3b89548eb8c2f0bf154d79357928b6fdc042a6f

See more details on using hashes here.

File details

Details for the file text_log_check-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: text_log_check-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for text_log_check-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4f804eb0e11ace97cdd500a7d41d568fb92c5aaf97d343d9800261cef0eacd
MD5 b2ddd4d353418284cbc9fab8496352cf
BLAKE2b-256 c206bd5131d023f404c2a233341ed5c5ef29b49fb093c5d63e426652fde5f1fa

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