A library containing commonly used emojis for terminal messages
Project description
Charminal (Charm Terminal)
Charminal is a simple and fun Python library designed to enhance your terminal output with emojis, colors, and styles! Whether you're developing scripts or building command-line tools, Charminal can help you make your terminal messages more vibrant and expressive.
Features
- Emojis: A collection of commonly used emojis to add fun and meaning to your terminal messages.
- Colors: Use ANSI escape codes to style your output text with different colors (red, green, yellow, blue, etc.).
- Text Styles: Apply bold or underline styles to your text for emphasis.
Installation
You can install Charminal via pip:
pip install charminal
Usage
- Import
from charminal import *
- Show available emojis
show_emojis()
Example output:
>> EMOJI_BEGIN: 🚀
>> EMOJI_ERROR: 💥
>> EMOJI_WARNING: 🚨
>> EMOJI_HINT: 💡
- Show available colors
show_colors()
Example output:
>> \033[31mCOLOR_RED\033[0m
>> \033[32mCOLOR_GREEN\033[0m
>> \033[33mCOLOR_YELLOW\033[0m
>> \033[34mCOLOR_BLUE\033[0m
- Show available styles
show_styles()
Example output:
>> STYLE_BOLD
>> STYLE_UNDERLINE
- Find Emoji
find_emoji('error')
Example output:
EMOJI_ERROR: 💥
- Show Usage
show_usage()
Example output:
==== [🚀User Guide🚀] ====
1. Import the emojis or colors:
`from pwnwas_emoji import emojis, colors`
2. Use emojis in print statements:
`print(f'{EMOJI_WARNING} Warning message')`
>> 🚨 Warning message
3. Use colors:
`print(f'{COLOR_RED}{EMOJI_WARNING}Error message{RESET}')`
>> 💥 Error message
- Find an Emoji
help_me()
Example output:
There are some "helper" functions that you can call
Try:
show_emojis(),
show_colors(),
show_styles(),
show_usage(),
find_emoji(keyword)
Contribution
Contributions are welcome! Feel free to open an issue or create a pull request on GitHub.
License
This project is licensed under the MIT License – see the LICENSE file for details.
Author
Charminal is developed and maintained by Sulaiman Fawwaz Abdillah Karim. You can reach me at sulaimanfawwazak@gmail.com.
Behind The Logo
The name of this package is "Charminal", a combination of "Charm" and "Terminal". The name "Charminal" itself is similar to a Pokemon character, "Charmander". Hence, I decided to make the logo to be the combination of "Charmander" and "Terminal". Though it looks simple, but subjectively I kinda like it!. Hope you like it too!
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 charminal-1.1.0.tar.gz.
File metadata
- Download URL: charminal-1.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c16a9d5b9700c7367e4b6d54ed8053cfd3a76fa9276fc00b12a8210a9d3515c5
|
|
| MD5 |
3edabb59231de1f338ab1365b8c17f68
|
|
| BLAKE2b-256 |
d91b9a5e529521c67366008ef98f6123b0687f47f2b7e7582eeb9ff3b1181c29
|
File details
Details for the file charminal-1.1.0-py3-none-any.whl.
File metadata
- Download URL: charminal-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1765969dd6d3ff326c33f43150f6b35fd01dbfa6c8f1f42b971b1885f045297d
|
|
| MD5 |
9109b8de0ec9cc28de1eaaaeba3d5fae
|
|
| BLAKE2b-256 |
1cf561d06afca320bcd6b2471317a33e53cf322c7638ef79e106c6ccedea25c9
|