Log/print your status and messages on python shell or terminal
Project description

A python package to log/print your status and messages on shell or terminal in a standardized yet customizable format.
--<App> $ message > value
Installation
pip install pyshell-msg
Usage
Import module
from pyshell_msg.shell import Shell
Initialize class Shell
with name of your application.
my_shell = Shell("My application")
Use msg
method to print your message
and value
my_shell.msg(message="Hello There",value=001)
my_shell.msg(message="This is second message",value=002)
my_shell.msg(message="No Value")
Output
--<My application> $ Hello There > 001
--<My application> $ This is second message > 002
--<My application> $ No Value
Spacing remain constant to have uniform-looking logs for your application.
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
pyshell-msg-0.1.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for pyshell_msg-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5fd203d60e95d0ac9f6e9c01377f9adf6faa71d6e773d9b44d735b53d657bf |
|
MD5 | 0a8bde6f9220e49b08cb54baff447206 |
|
BLAKE2b-256 | 8d61daab6392e605b9987bdf3edc867d21225b4a6d313f6c350d81cdbedbcd87 |