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
ansi = ansi()
print(ansi.red("Hello world!"))
you can even do:
from yet_another_ansi_lib import ansi
ansi = ansi()
with ansi.styleman('bold', 'red'):
print('Hello world!')
License:
MIT.
Metadata
Release files for yet-another-ansi-lib 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yet_another_ansi_lib-0.1.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yet_another_ansi_lib-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / yet_another_ansi_lib-0.1.0.tar.gz
| Download URL | yet_another_ansi_lib-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5980d2c9b164b23e1130ee704d94d548eab147c2aebe3f39599292c40d5fbb89
|
|
BLAKE2b-256 checksum How to use checksums |
5a8dfcc60b976ff6439138dfdfa03248ea5857a70ded063cf6f7b94dedc40913
|
| 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.0-py3-none-any.whl
| Download URL | yet_another_ansi_lib-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89914709eb05a54779d69cfdd247dc45b8d3126d68a60325cdbca41566b7f466
|
|
BLAKE2b-256 checksum How to use checksums |
f9b9d0bac94edf5e82693040572d7c7698bed4d4533f99f47cd31e71f0db4753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.1
|