Skip to main content

Small tool for text and syntax highlight.

Project description

Python 3.9

Better highlighting

Usage:

This tool is designed for beautiful text formatting in the terminal. It is highly specialized, prints in terminal highlighted text in more readable form. It also can render 'pretty' table and python's iterators syntax.

Example:

Text styles

Styles
ansiblack
bold
italic
underline

Colors

Colors specified using ansi* are converted to a default set of RGB colors when used with formatters other than the terminal-256 formatter.

By definition of ANSI, the following colors are considered “light” colors, and will be rendered by most terminals as bold:

  • “brightblack” (darkgrey), “brightred”, “brightgreen”, “brightyellow”, “brightblue”, “brightmagenta”, “brightcyan”, “white”

The following are considered “dark” colors and will be rendered as non-bold:

  • “black”, “red”, “green”, “yellow”, “blue”, “magenta”, “cyan”, “gray”
Color names
ansiblack
ansired
ansigreen
ansiyellow
ansiblue
ansimagenta
ansibrightblack
ansibrightred
ansibrightgreen
ansibrightyellow
ansibrightblue
ansibrightmagenta
ansibrightcyan
ansiwhite

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

better_highlighting-0.1.4.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

better_highlighting-0.1.4-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file better_highlighting-0.1.4.tar.gz.

File metadata

  • Download URL: better_highlighting-0.1.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.5.0

File hashes

Hashes for better_highlighting-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3d623b5faf33b74314fcf61293a444ad452f61b25d16fe75a2ae82c3412ea095
MD5 35c38479e7bd1bd8b38ae4358af4c2f6
BLAKE2b-256 dfc18ac3c1ed016eb7d37047909a82072892ccdfdf33d50301238c6f056e27ff

See more details on using hashes here.

File details

Details for the file better_highlighting-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for better_highlighting-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c8404b8f938a52654778b392ff2fb2a65d03e8cac0bdf3204a1397763ff2d3c7
MD5 5496d01bfddaf381490a819d1ae57ca0
BLAKE2b-256 241080858c85796ff1ea7dcadb9802ac61581bdc2bcb98b79ee4e9214295f2ce

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