Skip to main content

readable - utility for cleaning log files

usage: readable [-h] [--light] [--dark] [--none] [--tidy] [--strip-blank] [--debug] [--out] [--dir DIR] [--aws] [--terraform] [--replace REPLACE] [--verbose]
                [--minimal] [--non-minimal]
                [files ...]

Read from standard input and write to standard output modifying ANSI colour codes en-route.

positional arguments:
  files                 The files to convert (use stdin/stout if no input files are specified)

options:
  -h, --help            show this help message and exit
  --light, -l           Modify colours for a light background (the default)
  --dark, -d            Modify colours for a dark background
  --none, -n            Remove all colour codes
  --tidy, -t            Remove colour codes and stuff that typically occurs in log files causing diffs, but is of no particular interest (e.g. SHA1 values,
                        times, dates)
  --strip-blank, -s     Strip all blank lines
  --debug, -D           Replace colours with debug information
  --out, -o             Output to standard output rather than overwriting input files
  --dir, -O DIR         Store output files in the specified directory (creating it if it doesn't exist)
  --aws, -a             Remove AWS resource IDs
  --terraform, -T       Clean Terraform plan/apply log files
  --replace, -R REPLACE
                        Additional regex replacements in the form "REGEX=REPLACEMENT"
  --verbose, -v         Output verbose status
  --minimal, -m         Remove unnecessary data from the file (e.g. Terraform progress updates (Refreshing..., Reading..., etc.))
  --non-minimal, -M     Do not remove unnecessary data from the file (e.g. Terraform progress updates (Refreshing..., Reading..., etc.))

Tests

python3 -m unittest discover -s skilleter_readable -p "test*.py"

Metadata

Release files for skilleter-readable 0.0.10

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

Source distribution (sdist)

Source distribution for skilleter-readable 0.0.10
File Size Uploaded Provenance
skilleter_readable-0.0.10.tar.gz 20.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for skilleter-readable 0.0.10
File Interpreter ABI Platform
skilleter_readable-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 40.7 kB

Release files / skilleter_readable-0.0.10.tar.gz

Download URL skilleter_readable-0.0.10.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4b92bcf5e905cbd1f0a8573a15eb28dd4b3ffd5dd9be93518b57b5bdec1aaa2f
BLAKE2b-256 checksum
How to use checksums
3c350c22dc91930cb557302f7d7c997fadd82e353905e7285a369b95f5a1bdf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / skilleter_readable-0.0.10-py3-none-any.whl

Download URL skilleter_readable-0.0.10-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10760dada6268c48524544993a99032baf95c77e98a1f213325218e029ffe871
BLAKE2b-256 checksum
How to use checksums
34bb0f2bce3f8dd578fe0a569d5635599b45a0b968fbf6838fd5a30c803a5a6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for skilleter-readable 0.0.10

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.

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