ModuShell is a package that you can use to customize any outputs to the console using simple calls within format strings. Requires a modern terminal that can handle ANSI escape sequences.
Project description
ModuShell
ModuShell is a Python package that makes it easy to style terminal output using clean, and readable wrappers. Whether you're coloring text, applying bold or italic effects, or combining multiple styles at once, ModuShell simplifies working with ANSI escape codes — no memorization needed.
✨ Features ✨
Text Styles 🖌️
Use classic font styling:
- Italicize Outputs! (
Italic) - Embolden Words! (
Weight.BOLD) - Alternatively, Dim Statements! (
Weight.LIGHT) - Under or Overline! (
Line.OVER; Line.UNDER(amnt)) - Strike! You're
OUT! (Cross)
Color Handling! 🎨
- Ability to specify foreground (
Colorize.FONT) or background (Colorize.HIGH) - 8-bit ANSI compatibility via
Colorize.FONT8andColorize.HIGH8with JSON-defined color tables
Supported Formats:
- RGB (
255, 255, 255) - HSL (
360, 0.99, 0.99) - Hexadecimal (
#FFFFFFor#ffffff)
Other Features 🔍
- Good for clean formating in
f-stringsand in printed outputs - Comes with 2 preconfigured combinations (
Big2&Big3)
🔗 Installation 🔗
Currently manual install only, will be uploaded to PyPI soon, along with references.
🕵️♂️ Misc. Information 🕵️♂️
- Visit the
References.mdfile for documentation
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
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 modushell-1.6.0.tar.gz.
File metadata
- Download URL: modushell-1.6.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b6facf8fc75a0bd50a1e38ee1dbb7d0b33b153caf8d5e10ae90a704974bc0c7
|
|
| MD5 |
32e1a9295a9f2c59bc80161c50ac7f68
|
|
| BLAKE2b-256 |
98557fe1fc78fbac5da0fef3951076f7f3ce40cf8e23c35da2fcb02c409f9b37
|
File details
Details for the file modushell-1.6.0-py3-none-any.whl.
File metadata
- Download URL: modushell-1.6.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b077416426a2f45734f9ba064276505bcfd5a0d5e4633c73a2ad659505f779
|
|
| MD5 |
87ef5f52c88caa19cfca63b7c855e7ed
|
|
| BLAKE2b-256 |
c249ae60424b51d442fb797330a7682bdac47672b77c89d1e1b196e9aa68a46b
|