Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file nr.ansiterm-0.0.1.tar.gz.

File metadata

  • Download URL: nr.ansiterm-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for nr.ansiterm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8d051550da1705d80299e0c9ee972db280b07c8d024d6e5db1e102e6ac85e3f6
MD5 8645bd97131bd72d9fbe5207259ff9ae
BLAKE2b-256 95b95c9c61706707ab2deedd8edd0a4424e83d09c77ee773a6ad37bc947358bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page