Skip to main content

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)

Source distribution for staticon 0.0.6
File Size Uploaded
staticon-0.0.6.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for staticon 0.0.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page