Skip to main content

A library containing commonly used emojis for terminal messages

Project description

Charminal (Charm Terminal)

Charminal-demo

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.

Charminal-logo

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

  1. Import
from charminal import *
  1. Show available emojis
show_emojis()

Example output:

  >> EMOJI_BEGIN: 🚀
  >> EMOJI_ERROR: 💥
  >> EMOJI_WARNING: 🚨
  >> EMOJI_HINT: 💡
  1. 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
  1. Show available styles
show_styles()

Example output:

  >> STYLE_BOLD
  >> STYLE_UNDERLINE
  1. Find Emoji
find_emoji('error')

Example output:

EMOJI_ERROR: 💥
  1. 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
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

charminal-1.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

charminal-1.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for charminal-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c16a9d5b9700c7367e4b6d54ed8053cfd3a76fa9276fc00b12a8210a9d3515c5
MD5 3edabb59231de1f338ab1365b8c17f68
BLAKE2b-256 d91b9a5e529521c67366008ef98f6123b0687f47f2b7e7582eeb9ff3b1181c29

See more details on using hashes here.

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

Hashes for charminal-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1765969dd6d3ff326c33f43150f6b35fd01dbfa6c8f1f42b971b1885f045297d
MD5 9109b8de0ec9cc28de1eaaaeba3d5fae
BLAKE2b-256 1cf561d06afca320bcd6b2471317a33e53cf322c7638ef79e106c6ccedea25c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page