Skip to main content

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")

Output Screenshot

  • Box with title and description

Table Screenshot

  • 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")

Custom box

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)

Uploaded Source

Built Distribution

fancybox-1.0.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page