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.0.0.tar.gz (5.5 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.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modushell-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6a6588ebebe85a5f6238dc7fe50990157df9eced1d5cb9ac85c5f01b06a36b9b
MD5 fca1ed33b0eca4824052d272528ab690
BLAKE2b-256 9976314c2de01b708676778765de068b5e321d45cc86edb99a3607e6d96127cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modushell-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c0d3426cc07847d6d5234d833f7128ee2ef0d6efbeadfc828bff2c1e55226a1
MD5 186a7e7544b25839d456f2134073705e
BLAKE2b-256 fec388f61ed455469eec4c599769f65b797a6e799f08ef29155c637a8d004271

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