Skip to main content

A python library for printing pretty status messages

Project description

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

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

staticon-0.0.6.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

staticon-0.0.6-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file staticon-0.0.6.tar.gz.

File metadata

  • Download URL: staticon-0.0.6.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for staticon-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c9ba649d8ed55a7001fa91e2264a17b4f417c1164bc71c028cac9ecee7eb41f7
MD5 15be87e9182344628f822e00fa4a76de
BLAKE2b-256 805779a400a4ce2a2130459fbf9b169e9957680069cd441c47bfb7991153e999

See more details on using hashes here.

File details

Details for the file staticon-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: staticon-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for staticon-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 25df817a01084f12685c93c3af7459061042ef7be72de9e346ff2f0708b28c7f
MD5 784a08dfb7926f5a40af18d5d3fdc225
BLAKE2b-256 549839964618c78040ed72ac576a9a54ad9300143fc5d3562f84db8b204903f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page