Skip to main content

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.

Version Latest Release

Last Commit License


✨ 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.FONT8 and Colorize.HIGH8 with JSON-defined color tables

Supported Formats:

  • RGB (255, 255, 255)
  • HSL (360, 0.99, 0.99)
  • Hexadecimal (#FFFFFF or #ffffff)

Other Features 🔍

  • Good for clean formating in f-strings and 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.md file 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

modushell-1.6.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

modushell-1.6.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for modushell-1.6.0.tar.gz
Algorithm Hash digest
SHA256 9b6facf8fc75a0bd50a1e38ee1dbb7d0b33b153caf8d5e10ae90a704974bc0c7
MD5 32e1a9295a9f2c59bc80161c50ac7f68
BLAKE2b-256 98557fe1fc78fbac5da0fef3951076f7f3ce40cf8e23c35da2fcb02c409f9b37

See more details on using hashes here.

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

Hashes for modushell-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18b077416426a2f45734f9ba064276505bcfd5a0d5e4633c73a2ad659505f779
MD5 87ef5f52c88caa19cfca63b7c855e7ed
BLAKE2b-256 c249ae60424b51d442fb797330a7682bdac47672b77c89d1e1b196e9aa68a46b

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