
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
python-simple-hipchat
Advanced tools
Easy peasy wrapper for the HipChat API v1 <https://www.hipchat.com/docs/api>
_. Exposes core URI endpoint wrapper and some basic methods for common integrations.
None beyond the Python standard library.
Install::
pip install python-simple-hipchat
Instantiate::
import hipchat
hipster = hipchat.HipChat(token=YourHipChatToken)
Request a URI endpoint as described in the HipChat API docs::
hipster.method(url='method/url/', method="GET/POST", parameters={'name':'value', })
Example::
# List rooms
hipster.method('rooms/list')
# Post a message to a HipChat room
hipster.method('rooms/message', method='POST', parameters={'room_id': 8675309, 'from': 'HAL', 'message': 'All your base...'})
To send a message to a room, either a Notification or Admin token can be used. All other methods require an Admin token. See HipChat's auth docs <https://www.hipchat.com/docs/api/auth>
_ for more information.
Send a message to a room::
room_id = 8675309
from_name = 'HAL'
message = 'All your base...'
hipster.message_room(room_id, from_name, message)
# per HipChat, color can be "yellow", "red", "green", "purple", "gray", or "random"
message_color = 'gray'
hipster.message_room(room_id, from_name, message, color=message_color)
# notify users in the room
message_color = 'red'
hipster.message_room(room_id, from_name, message, color=message_color, notify=True)
List rooms::
hipster.list_rooms()
Find room by name::
room = hipster.find_room('Room Name')
print "Room Name has room id = %s" % (room['room_id'])
List users::
hipster.list_users()
Find user by name::
user = hipster.find_user('Raleigh Becket')
print "Raleigh Becket's status is = %s" % (user['status'])
v0.4.x
Added shortcut method for single room info <https://github.com/kurttheviking/simple-hipchat-py/pull/16>
_ (thanks @claudyus)v0.3.x
Added trove classifiers <https://pypi.python.org/pypi?%3Aaction=list_classifiers>
_ (thanks @ghickman)v0.2.x
Added Python 3 support without losing support for Python 2 <https://github.com/kurttheviking/python-simple-hipchat/pull/9>
_ (thanks @pimterry)Expose timeout for safer synchronous use <https://github.com/kurttheviking/python-simple-hipchat/pull/3>
_ (thanks @zachsnow)v0.1.x
FAQs
Easy peasy wrapper for HipChat's v1 API
We found that python-simple-hipchat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.