Skip to main content

A small printer package to get some better looking print statements.

Project description

Python pretty print

A small printer package to get some better looking print statements.

Install

pip install printify

Usage

from printify import printify

printify('test', {'title': 'Test dictionary'}, ['test', 'list'])

Output

----------*----------
test
----------*----------
{
        'title': 'Test dictionary'
}
----------*----------
['test', 'list']
----------*----------

color

printify("test", color="red")

Color list

Color Code
default \033[0m
warning \033[93m
error \033[91m
blue \033[94m
success \033[92m
header \033[95m
red \033[91m
green \033[92m
cyan \033[96m
white \033[97m
yellow \033[93m
magenta \033[95m
grey \033[90m
black \033[90m

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

printify-0.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

printify-0.0.1-py3-none-any.whl (3.2 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