Skip to main content

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


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

Uploaded Source

Built Distribution

nr.ansiterm-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nr.ansiterm-0.0.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for nr.ansiterm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c369f5b42414b11bdd19e9b4352564fad25b3e0ffc4d4b11e37a21feed33500b
MD5 45fbf205305d713bdeeb97a8409470a7
BLAKE2b-256 d25f8ee21678b1e811021462aaa7e454735a0bf8c843997f14f9644eb5c3d288

See more details on using hashes here.

File details

Details for the file nr.ansiterm-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nr.ansiterm-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for nr.ansiterm-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a5ea5a787b42a4e5529d14eb5bd32d0a1ce6cf367fb902377b52e9bc9df2f7
MD5 5c2fd6eb11afa322dfc4863b28135114
BLAKE2b-256 df176deb368004694fdeb233c6b1cb03ad8d9457426147e9eafcb58c00f1fe56

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