Staticon
A python library for printing pretty status messages
Installation
pip install --user staticon
Usage
message returns the text to print
sprint calls message and prints the output
Source
from staticon import Level, sprint
sprint(Level.INFO, 'This is the info level')
sprint(Level.SUCCESS, 'This is the success level')
sprint(Level.WARNING, 'This is the warning level')
sprint(Level.ERROR, 'This is the error level')
sprint(Level.CRITICAL, 'This is the critical level')
Output
It displays
[i] This is info
[✓] This is success
[!] This is warning
[x] This is error
[⚠] This is critical
Release files for staticon 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| staticon-0.0.6.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| staticon-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / staticon-0.0.6.tar.gz
| Download URL | staticon-0.0.6.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9ba649d8ed55a7001fa91e2264a17b4f417c1164bc71c028cac9ecee7eb41f7
|
|
BLAKE2b-256 checksum How to use checksums |
805779a400a4ce2a2130459fbf9b169e9957680069cd441c47bfb7991153e999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|
Release files / staticon-0.0.6-py3-none-any.whl
| Download URL | staticon-0.0.6-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25df817a01084f12685c93c3af7459061042ef7be72de9e346ff2f0708b28c7f
|
|
BLAKE2b-256 checksum How to use checksums |
549839964618c78040ed72ac576a9a54ad9300143fc5d3562f84db8b204903f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|