Skip to main content

tat_cli

A command-line tool to colorize terminal output with regex. pip install tat-cli to install.

Each group in the regex will be colored independently. tat-cli supports nested groups and 24-bit colors.

Example usage:

$ echo "start [121 45567 345] - [454 45563 676] end" | tat "(\[(\d(\d\d)) (\d(\d(\d)\d)\d) ((\d\d)\d)\])"

or to specify your own colors or color-pairs:

$ echo "start [121 45567 345] - [454 45563 676] end" | tat "(\[(\d(\d\d)) (\d(\d(\d)\d)\d) ((\d\d)\d)\])" ff0000 00ff00:ff00ff 0000ff ffff00:0000ff 00ffff ff00ff:00ff00 000000 ffffff:000000

How it looks:

Preview

Release files for tat-cli 0.0.2

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

Source distribution (sdist)

Source distribution for tat-cli 0.0.2
File Size Uploaded
tat_cli-0.0.2.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tat-cli 0.0.2
File Interpreter ABI Platform
tat_cli-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size:9.1 kB

Release files / tat_cli-0.0.2.tar.gz

Download URL tat_cli-0.0.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
625b2934cdccec3c53c10ad164f71c58a25c0228d969c26f72eba0c9cf937a34
BLAKE2b-256 checksum
How to use checksums
d4b9001700286b81262c6ca06305874405d58ad6e879bbfca5df218d8ed45cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / tat_cli-0.0.2-py3-none-any.whl

Download URL tat_cli-0.0.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91a65e50d95e5c21636890a40f06198edd1e1d6ed929650b67c46b076cda04e2
BLAKE2b-256 checksum
How to use checksums
5a7dd603a6c1af3ef5ccfdb5e4ffe1687d6dab2c98bdeaebb37088539c2f7bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.2 This release

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