Package description here.
Project description
Note: This package is in the dangerous land of
0.x.y
versions and may be subject to breaking changes with minor version increments.
nr.ansiterm
Module for producing ANSI escape codes and stylizing text in terminals. Supports SGR, LUT and True colors as well as all ANSI attributes per Wikipedia: ANSI escape code.
Example:
from nr.ansiterm import styled, parse_style, Attribute
print('Hello', styled(name, 'bright_blue', attrs=['bold', 'underline']))
print(str(parse_style('%014 italic')) + "What's kickin'?" + str(Attribute.RESET))
Copyright © 2020 Niklas Rosenstein
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
nr.ansiterm-0.0.2.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for nr.ansiterm-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7a5ea5a787b42a4e5529d14eb5bd32d0a1ce6cf367fb902377b52e9bc9df2f7 |
|
MD5 | 5c2fd6eb11afa322dfc4863b28135114 |
|
BLAKE2b-256 | df176deb368004694fdeb233c6b1cb03ad8d9457426147e9eafcb58c00f1fe56 |