Skip to main content

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

Metadata

Release files for nr.ansiterm 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nr.ansiterm 0.0.2
File Size Uploaded
nr.ansiterm-0.0.2.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nr.ansiterm 0.0.2
File Interpreter ABI Platform
nr.ansiterm-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / nr.ansiterm-0.0.2.tar.gz

Download URL nr.ansiterm-0.0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c369f5b42414b11bdd19e9b4352564fad25b3e0ffc4d4b11e37a21feed33500b
BLAKE2b-256 checksum
How to use checksums
d25f8ee21678b1e811021462aaa7e454735a0bf8c843997f14f9644eb5c3d288
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / nr.ansiterm-0.0.2-py3-none-any.whl

Download URL nr.ansiterm-0.0.2-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7a5ea5a787b42a4e5529d14eb5bd32d0a1ce6cf367fb902377b52e9bc9df2f7
BLAKE2b-256 checksum
How to use checksums
df176deb368004694fdeb233c6b1cb03ad8d9457426147e9eafcb58c00f1fe56
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page