Skip to main content

Python package to clean log fils

Project description

Log File Cleaner

A simple Python script to clean log files by deleting old log files.

Features

  • Removes empty lines from log files.

Installation

You can install the Log File Cleaner using pip:

pip install log-file-cleaner-bijena
log-file-cleaner-bijena --input <input_file> --output <output_file>

Usage

from log_file_cleaner import LogFileCleaner

cleaner = LogFileCleaner() cleaner.clean_log_file("your_log_file.log", "cleaned_log_file.log")

License

MIT License
Copyright (c) 2026 Bijena Dhewaju.
Permission is hereby granted...

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

log_file_cleaner-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

log_file_cleaner-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file log_file_cleaner-0.1.0.tar.gz.

File metadata

  • Download URL: log_file_cleaner-0.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for log_file_cleaner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1574c3fa9159c660fdeb98a57d685af10b4c448944dfa85a5a35da1d498ca28
MD5 6ecf9918a8175daa5350a1faf59c3766
BLAKE2b-256 429c6d49b36472a087107bc95ad642383a20a00436d622279241956b473f7777

See more details on using hashes here.

File details

Details for the file log_file_cleaner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for log_file_cleaner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f393e98bf88893f905c31aa538ace1ac8a9857219e422aa5ab7e1b850e82d03
MD5 de4fb7bcffa4780f3a6c74e23923091e
BLAKE2b-256 ccdfa36a2cf07c45a95312f086edace254821738ca83980adc6c9de3c53c1956

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