Metadata-Version: 2.1
Name: console-messenger
Version: 0.0.1
Summary: This module helps to print messages in different colours on terminal & various python IDEs using rich module.
Home-page: https://github.com/Ajay2810-hub/console-messenger
Author: Ajay Lingayat
Author-email: lingayatajay2810@gmail.com
License: UNKNOWN
Description: # console-messenger
        
        ## About
        This package displays success, warning and info messages and errors on console with different colours using [rich](https://pypi.org/project/rich/) module. It also prints any error type without passing it as a parameter.
        
        ## Requirements
        ```shell
         python>=3.0
        ```
        
        ## Dependencies
        ```shell
         rich==9.3.0
        ```
        
        ## Installation
        ```shell
         pip install console-messenger
        ```
        
        ## Usage
        ```python
         >>> from ConsoleMessenger import ConsoleMessage
         >>> console = ConsoleMessage()
        ```
        
        **Print an error**
        ```python
         try:
             a = 5/0
         except Exception as e:
             console.danger(e)
        ```
        
        Output :-
        
        ![Broken Image](https://raw.githubusercontent.com/Ajay2810-hub/console-messenger/main/images/img.png)
        
        **Display a custom error**
        ```python
         console.danger("this is a custom error", err_type="My Error")
        ```
        
        Output :-
        
        ![Broken Image](https://raw.githubusercontent.com/Ajay2810-hub/console-messenger/main/images/img1.png)
        
        **Print a success message**
        ```python
         console.success("Success", "success method worked!")
        ```
        
        Output :-
        
        ![Broken Image](https://raw.githubusercontent.com/Ajay2810-hub/console-messenger/main/images/img2.png)
        
        **Display a warning**
        ```python
         console.warning("Warning", "You are using pip version 20.2.4; however, version 20.3 is available.")
        ```
        
        Output :-
        
        ![Broken Image](https://raw.githubusercontent.com/Ajay2810-hub/console-messenger/main/images/img3.png)
        
        **Display a info message**
        ```python
         console.info("INFO", "Hello User!")
        ```
        
        Output :-
        
        ![Broken Image](https://raw.githubusercontent.com/Ajay2810-hub/console-messenger/main/images/img4.png)
        
        **Display a dark message**
        ```python
         console.dark("Dark", "This is a dark message!")
        ```
        
        Output :-
        
        ![Broken Image](https://raw.githubusercontent.com/Ajay2810-hub/console-messenger/main/images/img5.png)
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
Provides-Extra: dev
