Metadata-Version: 1.1
Name: hipchatpy
Version: 0.1.2
Summary: Simple HipChat client library
Home-page: https://github.com/iktakahiro/hipchatpy
Author: Takahiro Ikeuchi
Author-email: takahiro.ikeuchi@gmail.com
License: MIT
Description: hipchatpy
        =========
        
        hipchatpy is `HipChat`_ client library for specific logging.
        
        +-----------+------------+----------+----------+
        | Method    | LogLevel   | Notify   | Color    |
        +===========+============+==========+==========+
        | info()    | INFO       | False    | green    |
        +-----------+------------+----------+----------+
        | warn()    | WARNING    | True     | yellow   |
        +-----------+------------+----------+----------+
        | error()   | ERROR      | True     | red      |
        +-----------+------------+----------+----------+
        
        Install
        -------
        
        .. code:: python
        
            pip install hipchatpy
        
        Dependencies
        ------------
        
        -  requests
        
        Sample Code
        -----------
        
        .. code:: python
        
            import hipchatpy
        
            AUTH_TOKEN = 'hogehoge'
            ROOM_ID = 10000
        
            # Create a new instance.
            logging = hipchatpy.HipChatLogging(AUTH_TOKEN, ROOM_ID)
        
            # LogLevel: INFO
            logging.info(message='INFO Message')
        
            # LogLevel: WARN
            logging.warn(message='WARN Message')
        
            # LogLevel: ERROR
            logging.error(message='ERROR Message')
        
        .. _HipChat: https://www.hipchat.com
        
        Command line
        ------------
        
        .. code:: sh
        
            # LogLevel: INFO
            hipchatpy -r 10000 -m 'INFO Message' -l 1
        
            # LogLevel: WARN
            hipchatpy -r 10000 -m 'WARN Message' -l 2
        
            # LogLevel: ERROR
            hipchatpy -r 10000 -m 'ERROR Message' -l 3
Keywords: HipChat,HipChat Client
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: System :: Logging
Classifier: Topic :: Communications :: Chat
