A lightweight, powerful Python utility for terminal text formatting, custom box-drawing, and terminal UI layouts.
- Custom Box UI: Wrap single or multi-line text blocks in
light,heavy,double,rounded, ordashedgeometric borders. - Clean Namespaces: Organized using clean object structures (
FG,BG,FORMAT,BOXES) to ensure autocomplete works perfectly in your IDE. - Styling Combinations: Easily concatenate colors and text styles without syntax errors or formatting collisions.
- Pre-built Symbols: Enjoy stress-free symbol concatenation without having to copy-paste.
Once published, you can install the package directly from PyPI using pip:
pip install loopstringfrom loopstring import BOXES
# Draw a clean rounded box using the style parameter
print(BOXES.draw_box("System Online", style="rounded"))from loopstring import FG, BG, FORMAT
# Apply vibrant styles safely without tuples
print(f"{FG.GREEN}{FORMAT.BOLD}Success!{FORMAT.RESET} Everything loaded correctly.")
print(f"{BG.BLUE}{FG.WHITE} Notice {FORMAT.RESET} Check system updates.")This project is licensed under the MIT License - see the LICENSE file for details.