https://github.com/squidkid-deluxe/colorize
A simple module that allows you to print colored text in a terminal; setup.py provided
https://github.com/squidkid-deluxe/colorize
pretty-print python3 terminal
Last synced: 7 months ago
JSON representation
A simple module that allows you to print colored text in a terminal; setup.py provided
- Host: GitHub
- URL: https://github.com/squidkid-deluxe/colorize
- Owner: squidKid-deluxe
- Created: 2020-04-03T22:02:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T22:15:12.000Z (over 5 years ago)
- Last Synced: 2025-01-14T11:02:26.248Z (9 months ago)
- Topics: pretty-print, python3, terminal
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Colorize module
This is a simple module that allows you to print colored text in the terminal.
You can chose from 4 different settings(bold, underlined, strikethrough, or regular colored text), along with 5 colors to print errors or warnings in.
To call apon the module, import the desired definition and enter the color you want and the text you want colored, as shown here:
colored_text = normal('red', 'Hello world!')
You can also install the module using the setup.py provided.
Dependencies
==============
colorize.py
- None