Skip to main content

Convenient Terminal Output Styler.

Project description

Ziyy - Convenient Terminal Output Styler.

Style your Terminal output using easy to remember Tags. For example to make your output bold, put [b] before the rest of your String to make it bold. The General Syntax is:

"[`a tag`]some text...[`another tag`]some more text..."

The Tags are in pairs and each pair behave like an on-off switch. For a Tag with name TAG, [TAG] is the on switch and [/TAG] is the off switch. The only exception is the [/0] that switches off all tags.

Tags

The following is a table of all supported tags,

Tag Description
[c:'color'] Color the preceding text using color.
[/c] Reset color.
[x:'color'] Color the background preceding text. using color
[/x] Reset Background color.
[b] Embolden preceding text.
[/b] Remove boldness.
[i] Italicize preceding text.
[/i] Remove italics.
[u] Underline preceding text.
[/u] Remove underline.
[s] Strike through preceding text.
[/s] Remove strike.
[/0] Remove all styling.

Valid Colors

These are the current valid colors for both text and background:

Color Description
black Terminal's default black color.
red Terminal's default red color.
green Terminal's default green color.
yellow Terminal's default yellow color.
blue Terminal's default blue color.
magenta Terminal's default magenta color.
cyan Terminal's default cyan color.
white Terminal's default white color.
rgb(#, #, #) RGB color. # represents a Number within the Range 0 - 255

A new color will overwrite the previous color

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

ziyy-1.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

ziyy-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file ziyy-1.0.0.tar.gz.

File metadata

  • Download URL: ziyy-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for ziyy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f43d8d6cb432a60593d6bf32ccb638ca1e3b30c302e98197ba822047d6e399dc
MD5 66e2dc96d98d72b80017c9f7c5f9dc64
BLAKE2b-256 a20499e0486a18f82dc668ffc3d6bf47939678b942aef5d598e16a0411e60a02

See more details on using hashes here.

File details

Details for the file ziyy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ziyy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for ziyy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd5dcbf3006697792e5828aaf1c71c427dde9d77c57824f8851a4b62af57a5a
MD5 7a67427cefbb903395c75fc21fd849d3
BLAKE2b-256 beee59d0394fea052d28744e3a112299328e9c8964c08e94279b6fb4a058b15d

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