Package description here.
Project description
nr.ansi
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.ansi 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.1.tar.gz
(5.0 kB
view hashes)