ANSI color, save&load, and clear screen helper
Project description
# shelcolors-ansi
To install, type 'pip install shelcolors.ansi'.
To use, type 'from shelcolors_ansi import ANSI'
Simple ANSI color helper. Use ANSI(color which is shown at the end of this readme, text, mode)
modes can be:
- highlight(default) = prints colored text
- return = returns the colored text
- list_colors = returns all available colors in a dictionary
Use clear(mode) to clear screen. Mode can be:
- you dont put anything = default, safe mode(checks windows or linux)
- windows = for windows only
- linux = for linux, macOS,
Use changeTo(x, type) to safe change type(str -> int for example)
========Colors========
---Basic Colors---
Black = black
White = white
Gray = gray
Light Gray = lightgray
Dark Gray = darkgray
---Red Colors---
Red = red
Bright Red = brightred
Dark Red = darkred
Maroon = maroon
Crimson = crimson
---Yellow & Orange Colors---
Yellow = yellow
Bright Yellow = brightyellow
Orange = orange
Dark Orange = darkorange
Gold = gold
Amber = amber
Mustard = mustard
---Green Colors---
Green = green
Bright Green = brightgreen
Lime = lime
Light Green = lightgreen
Dark Green = darkgreen
Olive = olive
Mint = mint
---Blue Colors---
Blue = blue
Bright Blue = brightblue
Light Blue = lightblue
Sky Blue = skyblue
Cyan = cyan
Aqua = aqua
Teal = teal
Navy = navy
---Purple & Pink Colors---
Magenta = magenta
Bright Magenta = brightmagenta
Purple = purple
Violet = violet
Lavender = lavender
Pink = pink
Hot Pink = hotpink
---Brown Colors---
Brown = brown
Dark Brown = darkbrown
Tan = tan
Beige = beige
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
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 shelcolors_ansi-0.1.6.tar.gz.
File metadata
- Download URL: shelcolors_ansi-0.1.6.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d6889b2c4de9c7f6a759ce1740f8e0e68da5163ce367b024cdd6189e83335a
|
|
| MD5 |
d18f33ed116ddc4b987449c15f6afe18
|
|
| BLAKE2b-256 |
e05a062e2403fe48ca9e640e7cef4a6b0714aa062043950260a1828f0bf1405d
|
File details
Details for the file shelcolors_ansi-0.1.6-py3-none-any.whl.
File metadata
- Download URL: shelcolors_ansi-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6516c0391c268c8b42e3c155be11cbf65438f248de0f9da06376b46c941a596
|
|
| MD5 |
783715435d3b445dcbf140d0f3ccf201
|
|
| BLAKE2b-256 |
06e81f94bf7bb0b774478f3918309a44824d716aa727bd5d676f3eb3ac0ab8d4
|