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.3.tar.gz (7.7 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.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for better_highlighting-0.1.3.tar.gz
Algorithm Hash digest
SHA256 96791bb22ec06f3b372009ba3e3399d19d52e7ab07cd28aabc75f2061a06f09e
MD5 ca2b5a8ab5a296c68102e51e24f6ac7d
BLAKE2b-256 020b2af92e7421a77f2922bfe3f37df63cd99ee2d2f0322cadedd39e5e9a1a04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for better_highlighting-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e147c78d47123cdf16293ddb4ace13510051887e3af7507f7a5bf39582afbb0a
MD5 f3c90f2e2ce3de21901b6e351b45c4d4
BLAKE2b-256 9d8b0502118e8598030e337a5b46b1cc594dbe848700209a21272cec173f0e2a

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