This package provides a logging handler that can send messages to a hipchat room in the form of notifications.
- Python 3
Install using pip:
$ pip install hippy-chat
Setup the handler with the needed credentials for the hipchat server's api that you will be sending messages to:
from hippy_chat.handler import HipchatHandler
handler = HipchatHandler(
'https://some_hipchat_server', 'some-room', 'SOME_HIPCHAT_API_TOKEN',
)
logger.addHandler(handler)In order to get your environment set up for development, it is recommended to use virtualenv and pip to install dev dependencies:
$ virtualenv --python=python3 env $ source env/bin/activate $ pip install -e .[dev]