Skip to main content

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...

Metadata

Release files for log-file-cleaner 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for log-file-cleaner 0.1.0
File Size Uploaded Provenance Actions
log_file_cleaner-0.1.0.tar.gz 1.7 kB Without provenance Details for log_file_cleaner-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for log-file-cleaner 0.1.0
File Interpreter ABI Platform Actions
log_file_cleaner-0.1.0-py3-none-any.whl Python 3 none any Details for log_file_cleaner-0.1.0-py3-none-any.whl

Total release size: 3.7 kB

Release files / log_file_cleaner-0.1.0.tar.gz

Download URL log_file_cleaner-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a1574c3fa9159c660fdeb98a57d685af10b4c448944dfa85a5a35da1d498ca28
BLAKE2b-256 checksum
How to use checksums
429c6d49b36472a087107bc95ad642383a20a00436d622279241956b473f7777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / log_file_cleaner-0.1.0-py3-none-any.whl

Download URL log_file_cleaner-0.1.0-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f393e98bf88893f905c31aa538ace1ac8a9857219e422aa5ab7e1b850e82d03
BLAKE2b-256 checksum
How to use checksums
ccdfa36a2cf07c45a95312f086edace254821738ca83980adc6c9de3c53c1956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for log-file-cleaner 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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