PrettyStrings

Python Pretty Strings. Use colors in your python strings.


Keywords
Python, Print, Pretty, Strings, PyPS, library, pretty-printing, pretty-strings
License
MIT
Install
pip install PrettyStrings==1.0.2

Documentation

PyPS | Python Pretty Strings ♾️

What is PyPS?

PyPS (Python Pretty Strings) is a Python library, that helps you make your output colorful and amazing.

Installation

Linux

sudo apt update
sudo apt install python3 python3-pip # Install dependencies
python3 -m pip install PrettyStrings # Install PrettyStrings from pip

Windows

  1. Download and install Python 3 (make sure to add Python and Pip to your PATH)
  2. Create new folder and open it in Command Prompt
  3. In command prompt type python get-pip.py to install pip
  4. Then type python -m pip install PrettyStrings to install PrettyStrings from pip
  5. Now you can use PrettyStrings in your project

Usage

To use PrettyStrings in your Python project, simply add:
from PrettyStrings.Print import print
at top of your Python script, and you're all set to go.

PrettyStrings Library

Text Colors print("Hello, world!", text="" backgr..)

Available Colors:

  • White
  • Black
  • Red
  • Green
  • Blue
  • Yellow
  • Magenta
Text Stylings print("Hello, world!", style="" tex..)

Available Styles:

  • Bold
  • Italic
  • Underline
Background Colors print("Hello, world!", background="" sty..)

Available Colors:

  • White
  • Black
  • Red
  • Green
  • Blue
  • Yellow
  • Magenta
Keep in mind that this tool is in its early development, so there still may be some bugs. Sorry for any inconvenience.