Skip to main content

Simple HipChat client library

Project description

hipchatpy is HipChat client library for specific logging.

Method LogLevel Notify Color
info() INFO False green
warn() WARNING True yellow
error() ERROR True red


pip install hipchatpy


  • requests

Sample Code

import hipchatpy

AUTH_TOKEN = 'hogehoge'
ROOM_ID = 10000

# Create a new instance.
logging = hipchatpy.HipChatLogging(AUTH_TOKEN, ROOM_ID)

# LogLevel: INFO'INFO Message')

# LogLevel: WARN
logging.warn(message='WARN Message')

# LogLevel: ERROR
logging.error(message='ERROR Message')

Command line

# 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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hipchatpy, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size hipchatpy-0.1.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page