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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff0ba31f3af64ef497afa362570a32d652a5cb3018d02aea6031073e1994b87a
|
|
| MD5 |
1f766911c1d25e1540e10f4be4a0a0ba
|
|
| BLAKE2b-256 |
c372eb3f0fb4efa073bee4a5e7a98aff195d69e47d8512424ef0628b9467d1e0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0be2aa612fb2da26018f9e9cded67d6bb48ff6944212d6c16f5d772ad5ef29f9
|
|
| MD5 |
2e513b8557987ee3c196439429240df0
|
|
| BLAKE2b-256 |
c3c11052ad1eaa52b1dfcdf10954c3839348b9449658b06c08898ca41f1e49b8
|