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%;
Metadata
Release files for print-msg 0.9.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| print_msg-0.9.4.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| print_msg-0.9.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / print_msg-0.9.4.2.tar.gz
| Download URL | print_msg-0.9.4.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc6e9c37053963829d1def83233d5214992d07f4facf43366187de590f5c905a
|
|
BLAKE2b-256 checksum How to use checksums |
37ed96728a8347be94d221cf79192da866109279035d1fbcc127a906a561668e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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+
|
Release files / print_msg-0.9.4.2-py3-none-any.whl
| Download URL | print_msg-0.9.4.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98cb3e9787e691e4a7ea2391b0b5c5cdcc0f156a0ec9505591d75ca9c23253d0
|
|
BLAKE2b-256 checksum How to use checksums |
69f86c32f8de6c5882ec7f0cdf214341c6bf8178a2ee8c1f0f01ccfedef93434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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+
|