Skip to main content

yet-another-ansi-lib

Zero-dependency ANSI colors and styles for Python.

Installation:

pip install yet-another-ansi-lib

Usage:

from yet_another_ansi_lib import ansi
print(ansi.red("Hello world!"))

you can even do:

from yet_another_ansi_lib import ansi
with ansi.styleman('bold', 'red'):
    print('Hello world!')

License:

MIT.

Metadata

Release files for yet-another-ansi-lib 0.1.1

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

Source distribution (sdist)

Source distribution for yet-another-ansi-lib 0.1.1
File Size Uploaded
yet_another_ansi_lib-0.1.1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yet-another-ansi-lib 0.1.1
File Interpreter ABI Platform
yet_another_ansi_lib-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / yet_another_ansi_lib-0.1.1.tar.gz

Download URL yet_another_ansi_lib-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
de69a5ac904729d4c434a936a355b31c0e13645ef043aa8aa7db9089c29283c7
BLAKE2b-256 checksum
How to use checksums
90cc6a6fa5adb28f55f33e4544380ee19f1def39ad694553b5f320c2bac30b17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.1

Release files / yet_another_ansi_lib-0.1.1-py3-none-any.whl

Download URL yet_another_ansi_lib-0.1.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
481ca2a3cfa7a51e046c98a006133df72b1982038652cba100ef415c20ff3b87
BLAKE2b-256 checksum
How to use checksums
1101fce99148a46480bc9835406e10cb14298c6d42178812c46bea00941fc919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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