Colorize terminal output with regex.
Project description
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tat_cli-0.0.2.tar.gz.
File metadata
- Download URL: tat_cli-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
625b2934cdccec3c53c10ad164f71c58a25c0228d969c26f72eba0c9cf937a34
|
|
| MD5 |
d98e066e79a7737acce1557f81cc1dba
|
|
| BLAKE2b-256 |
d4b9001700286b81262c6ca06305874405d58ad6e879bbfca5df218d8ed45cab
|
File details
Details for the file tat_cli-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tat_cli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91a65e50d95e5c21636890a40f06198edd1e1d6ed929650b67c46b076cda04e2
|
|
| MD5 |
c5cd4d44aed6be9abc3842ddd26854fa
|
|
| BLAKE2b-256 |
5a7dd603a6c1af3ef5ccfdb5e4ffe1687d6dab2c98bdeaebb37088539c2f7bab
|