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

Uploaded Source

Built Distribution

printify-0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file printify-0.0.1.tar.gz.

File metadata

  • Download URL: printify-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for printify-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ff0ba31f3af64ef497afa362570a32d652a5cb3018d02aea6031073e1994b87a
MD5 1f766911c1d25e1540e10f4be4a0a0ba
BLAKE2b-256 c372eb3f0fb4efa073bee4a5e7a98aff195d69e47d8512424ef0628b9467d1e0

See more details on using hashes here.

File details

Details for the file printify-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: printify-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for printify-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0be2aa612fb2da26018f9e9cded67d6bb48ff6944212d6c16f5d772ad5ef29f9
MD5 2e513b8557987ee3c196439429240df0
BLAKE2b-256 c3c11052ad1eaa52b1dfcdf10954c3839348b9449658b06c08898ca41f1e49b8

See more details on using hashes here.

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