Print beautiful message boxes on command line
Project description
FancyBox
Fancy Box is a Python module that allows you to print beautiful message boxes on command line. There are predefined message boxes, you can use or you can create you own custom box.
Installation
pip3 install fancybox
Uses
- Simple messages
import fancybox as fb
fb.success("Test Successful")
fb.error("IOError occured")
fb.info("Setup Completed")
fb.warning("name is NULL")
- Box with title and description
- Create customize box
from fancybox import Box
box= Box()
box.bgcolor= 2
box.fgcolor= 15
box.border= 11
box.makebox("NAMES")
box.addbox("Python")
box.addbox("Linux")
box.addbox("Windows")
Happy Programming
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
fancybox-1.0.0.tar.gz
(3.0 kB
view hashes)