This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple HipChat client library

Project Description

hipchatpy is HipChat client library for specific logging.

Install

pip install hipchatpy

Dependencies

  • requests

Sample Code

import hipchatpy

AUTH_TOKEN = 'hogehoge'
ROOM_ID = 10000

# Create a new instance.
logging = hipchatpy.HipChatLogger(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')

Correspondence table

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

Command line

export HIPCHAT_TOKEN=your_api_token

# 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
Release History

Release History

This version
History Node

0.1.17

History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.11

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hipchatpy-0.1.17.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Sep 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting