Print colored status messages.
Project description
print_msg module
This module helps to print status messages in color depending on their content.
Installation:
Github:
$ git clone https://github.com/shvetsovdmitry/print-msg/$ cd print-msg/$ python3 setup.py sdist$ cd dist/$ sudo pip install print_msg-0.9.3.tar.gz
pip:
$ sudo pip install print-msg
Using:
import print_msg
print_msg(status='%status_code%', msg='%message%', end='%optional%')
Status codes:
'ok'->[--OK--] %Message%;'error'->[-ERROR-] %Message%;'status'->[STATUS] %Message%;'time'->[-TIME-] Execution time -> %time%;
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
print_msg-0.9.4.2.tar.gz
(2.2 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 print_msg-0.9.4.2.tar.gz.
File metadata
- Download URL: print_msg-0.9.4.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc6e9c37053963829d1def83233d5214992d07f4facf43366187de590f5c905a
|
|
| MD5 |
80d534e6fbb461d7bd3ca0d9bf16f6bd
|
|
| BLAKE2b-256 |
37ed96728a8347be94d221cf79192da866109279035d1fbcc127a906a561668e
|
File details
Details for the file print_msg-0.9.4.2-py3-none-any.whl.
File metadata
- Download URL: print_msg-0.9.4.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98cb3e9787e691e4a7ea2391b0b5c5cdcc0f156a0ec9505591d75ca9c23253d0
|
|
| MD5 |
d1a8f3ad0576929b57a5d749007048cb
|
|
| BLAKE2b-256 |
69f86c32f8de6c5882ec7f0cdf214341c6bf8178a2ee8c1f0f01ccfedef93434
|