A colorful ASCII art Python package with vibrant colors
Project description
ASCII Art Package 🎨
A colorful ASCII art Python package with vibrant ANSI colors!
Built with creativity and colors! ✨
Features
- 🎨 Colorful ASCII art displays
- 🌈 Rainbow text generator
- ❤️ ASCII heart design
- ⭐ ASCII star design
- 🚀 ASCII rocket design
- ☕ ASCII coffee cup design
- � ASCII tree design (NEW!)
- 🌊 ASCII wave design (NEW!)
- �🎯 ANSI color support for terminal output
Installation
From PyPI
pip install asciiartpackage
Usage
from asciiartpackage import hello, show_rainbow_text, ascii_heart, ascii_star, ascii_rocket, ascii_coffee, ascii_tree, ascii_wave
# Display colorful hello message
print(hello())
# Show rainbow text
print(show_rainbow_text("Hello World!"))
# Display ASCII heart
print(ascii_heart())
# Display ASCII star
print(ascii_star())
# Display ASCII rocket
print(ascii_rocket())
# Display ASCII coffee
print(ascii_coffee())
# Display ASCII tree (NEW!)
print(ascii_tree())
# Display ASCII wave (NEW!)
print(ascii_wave())
Examples
Rainbow Text
from asciiartpackage import show_rainbow_text
print(show_rainbow_text("Welcome to Python!"))
Custom Colors
from asciiartpackage import Colors
print(f"{Colors.CYAN}Cyan text{Colors.RESET}")
print(f"{Colors.BOLD}{Colors.RED}Bold Red text{Colors.RESET}")
Available Functions
hello()- Display a colorful welcome bannershow_rainbow_text(text)- Convert text to rainbow colorsascii_heart()- Display a red ASCII heartascii_star()- Display a yellow ASCII starascii_rocket()- Display a colorful ASCII rocketascii_coffee()- Display an ASCII coffee cupascii_tree()- Display a green ASCII tree (NEW in v0.0.2)ascii_wave()- Display a cyan ASCII wave (NEW in v0.0.2)
Available Colors
The Colors class provides:
- RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE
- BOLD for bold text
- RESET to reset formatting
Requirements
- Python >= 3.8
Author
Paramjit Singh (parambrar862@gmail.com)
License
MIT License
Version History
- 0.0.2 - Added ascii_tree() and ascii_wave() functions
- 0.0.1 - Initial release with colorful ASCII art features
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
asciiartpackage-0.0.2.tar.gz
(3.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 asciiartpackage-0.0.2.tar.gz.
File metadata
- Download URL: asciiartpackage-0.0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4c3e8e52e274dccb9ae2551c59b4c2caa04bd147d42111de975b2414685c15
|
|
| MD5 |
ed28cef87bb77a539353b2eccb709970
|
|
| BLAKE2b-256 |
f8e1bfe58ae03193de83fc62259aa80d35d060b2f8a084b5dc36d149a23a6709
|
File details
Details for the file asciiartpackage-0.0.2-py3-none-any.whl.
File metadata
- Download URL: asciiartpackage-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83a3d7b6b37e32aa22a53636ace9bcff2d4924d0e32bb71d273793a2ec975bd9
|
|
| MD5 |
89fbc0de08062ed1a6fa2b26342f25cc
|
|
| BLAKE2b-256 |
5d7b03295e0c55d35e9eeacf02164ad65937ebcad83d68c244c1fc671f85a28b
|