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.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.5.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modushell-1.5.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.5.0.tar.gz
Algorithm Hash digest
SHA256 9afa66352bd7b88cb90773f80bdfb34455d6e9ef75160cf36ac66366cded4bee
MD5 abd7d1a7466826c288edf270033ba697
BLAKE2b-256 55c8be45d54bbcc86f30cac70c536275fe596a273c85f0091a3c1d73952e6848

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modushell-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a9f25bc1fab02d5392185cef1695cce350038b28323fe6435d15f66aa280521
MD5 baa4fd382a97d55b7b172d3aca613455
BLAKE2b-256 af338278d65f21e1bc75161968ca77870a565c958ade92d7f96e955f489a983b

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