Metadata-Version: 2.1
Name: print-msg
Version: 0.9.4.2
Summary: Print colored status messages.
Home-page: https://github.com/shvetsovdmitry/print-msg
Author: Shvetsov Dmitry
Author-email: shvetsovdmitry1996@gmail.com
License: MIT
Project-URL: Tracker, https://github.com/shvetsovdmitry/print-msg/issues
Project-URL: Source, https://github.com/shvetsovdmitry/print-msg
Keywords: colored status messages module python
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: ~=3.4
Description-Content-Type: text/markdown
Requires-Dist: termcolor (==1.1.0) ; python_version > "3.4"
Provides-Extra: termcolor
Requires-Dist: termcolor (==1.1.0) ; extra == 'termcolor'

# print_msg module 

![Python 3.4, 3.5, 3.6, 3.7](https://img.shields.io/pypi/pyversions/print-msg.svg)
![pypi version](https://img.shields.io/pypi/v/print-msg.svg)
![requirements](https://img.shields.io/requires/github/shvetsovdmitry/print-msg.svg)

![wheel](https://img.shields.io/pypi/wheel/print-msg.svg)
![license](https://img.shields.io/github/license/shvetsovdmitry/print-msg.svg) 
![commit activity](https://img.shields.io/github/commit-activity/m/shvetsovdmitry/print-msg.svg)
![goto counter](https://img.shields.io/github/search/shvetsovdmitry/print-msg/goto.svg)

#### This module helps to print status messages in color depending on their content.

## Installation:
#### Github:
1. `$ git clone https://github.com/shvetsovdmitry/print-msg/`
2. `$ cd print-msg/`
3. `$ python3 setup.py sdist`
4. `$ cd dist/`
5. `$ sudo pip install print_msg-0.9.3.tar.gz`
#### pip:
`$ sudo pip install print-msg`

## Using:
```python
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%`;


