`anansi` (`ANother ANSI`) is yet antoher python library for ANSI escape characters.
Project description
anansi
anansi (ANother ANSI) is yet antoher python library for ANSI escape characters. The name "anansi" was inspired by the Akan folktale character Anansi.
Install
python3 -m pip install py-anansi --upgrade
Usage
Colors
from anansi.font.colors import background as bg
from anansi.font.colors import foreground as fg
print(fg.red+bg.blue + "Hello" + bg.off + " World!" + fg.off)
Effects
from anansi.font import effects as eff
print(eff.underline + "Hello" + eff.underline_off+eff.blink + " World!" + eff.blink_off)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_anansi-0.0.0.0.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_anansi-0.0.0.0.tar.gz.
File metadata
- Download URL: py_anansi-0.0.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3575f9f3595314e19a2fbe0d763fadbdc609557266048b4f4df24020ca6a69a6
|
|
| MD5 |
4bc558b5df2f0d66d13e515b06f645df
|
|
| BLAKE2b-256 |
01d198ae749ddadad9366bc3d93619377a7a5b63594dc3a9708f74c6e66a51f3
|
File details
Details for the file py_anansi-0.0.0.0-py3-none-any.whl.
File metadata
- Download URL: py_anansi-0.0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31475997767479eb973077558d07aca8cf4dacf4d5e06be68a907fe4915632e1
|
|
| MD5 |
78220a3fe5f312ace7e1cfa4812b177b
|
|
| BLAKE2b-256 |
55fd559fb72a1e1eaa9a3837495267f986ebc4ab95e11b32e849015f6d1eaa13
|