Skip to main content

Highlight matched strings in a text

Project description

Showcase

See in action

Usage

Pipe text though it to highlight:

  1. Numbers, try | colorize ‘[0-9]+’.

  2. Lines matching phrase, try | colorize ‘.*phrase.*’.

  3. Headers in curl, try | colorize ‘^[^:]*:’.

If you don’t like distribution of the colors, add some random number as second argument.

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

colorize-cli-0.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file colorize-cli-0.1.tar.gz.

File metadata

  • Download URL: colorize-cli-0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for colorize-cli-0.1.tar.gz
Algorithm Hash digest
SHA256 b01fc1322dd3430676ab5f82cefdc8630c3d9ce6b6c1805b99564ede908e3fee
MD5 5ca2402b29b9fe67ab9e002e8ec7be54
BLAKE2b-256 f8ca6f46da167f272f774b2eaba65121f426bf025b36fe770da450c8858544bd

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