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.5.1.tar.gz (5.9 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.5.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file modushell-1.5.1.tar.gz.

File metadata

  • Download URL: modushell-1.5.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for modushell-1.5.1.tar.gz
Algorithm Hash digest
SHA256 20b8c2d4400824e383a636a1794eb380191e2e5dc3e58e8add074c14dea7420d
MD5 519344ade2599bb9f86611ee8f68015a
BLAKE2b-256 098bd2065647dc198b9c17ae9814321082eaeb0c1b788905285177fcdce4bf47

See more details on using hashes here.

File details

Details for the file modushell-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: modushell-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10bdad5251dbf47746061c4abc8eeb7a706538469096f89f13e20208ac6d46c1
MD5 a2024927fbb787926d287c44078d6d41
BLAKE2b-256 a5dda0a12bbbba9601b902946590cfdbe58113413572328ce419074333da7e49

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