A module for printing colored text to terminal/console in Python, Now with more methods and colors like displayiing animations. refer to the README.md
Project description
#color_ur_text
A python library that provides various methods to stylize you terminal based apps or programs, like terminal coloring, GUI features like spinner, progress bar and animations like rainbow wave, typewriter etc anf many more feaures.
Note: Some terminal might not support the various color codes
Installation
You can install the module via pip using pip install color_ur_text
Usage
from color_ur_text import ColoredText as ct
ct.print_colored("Hello, World", ct.RED) prints Hello, World in RED
print(ct.rgb("Hello, World!", 255, 255, 0)) #prints Hello, World! in Yellow
print(ct.table("Hello")) #prints Hello in a box
#animations
ct.animate_text("WAVE ANIMATION", animation_type='rainbow_wave', speed=0.03, cycles=1)
#spinner
ColoredText.spinner("Loading data", duration=2.0, spinner_style='dots', color=(255, 0, 255))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
color_ur_text-0.1.3.1.tar.gz
(11.7 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 color_ur_text-0.1.3.1.tar.gz.
File metadata
- Download URL: color_ur_text-0.1.3.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4e486621e9f9a1d18041f8611dc2ddc881ad26951b2e7d9ed6794ea1aa60765
|
|
| MD5 |
d17296bfed3279634fd5c6f1de49858d
|
|
| BLAKE2b-256 |
ccec155bbf731c0cd41f2fd8c7b5d31af283d8c0918048d7482cdf972ff83fec
|
File details
Details for the file color_ur_text-0.1.3.1-py3-none-any.whl.
File metadata
- Download URL: color_ur_text-0.1.3.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfff016a14e67570b97aa43465e7fc21719b997886aeec386e5528801562b55e
|
|
| MD5 |
596c0a57d90f19fc92155b6fa89787f6
|
|
| BLAKE2b-256 |
8299ae251673b2ad390cda8d3f7891a5008c62cf65d4fca792b0af888858fa71
|