rocketchat-API
Python API wrapper for Rocket.Chat
What it is and what it does
rocketchat_API is a Python wrapper around the Rocket.Chat REST API that abstracts HTTP calls into Python method calls. It handles authentication (both credential-based and token-based), message posting, channel management, user queries, and other chat operations through a simple object-oriented interface.
The library is designed for developers who need to automate Rocket.Chat workflows, build bots, or integrate Rocket.Chat into larger Python applications. It wraps the underlying HTTP requests library and handles the details of constructing API calls, managing authentication tokens, and parsing responses. The package is actively maintained and tested against multiple Python and Rocket.Chat versions.
Use it for:
- Build a bot that monitors channels and posts automated responses or notifications.
- Integrate Rocket.Chat messaging into a Python application for team notifications.
- Automate channel and user management tasks programmatically.
- Fetch chat history or user data for reporting or analytics.
- Create a bridge between Rocket.Chat and external systems or workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python wrapper for the Rocket.Chat REST API, enabling programmatic access to chat, channels, users, and messaging features.
Yes. The package has low install friction, active maintenance (released 6 days ago), no known vulnerabilities, permissive MIT licensing, and a straightforward API surface. It is suitable for any Python project that needs to interact with a Rocket.Chat instance. The only prerequisite is Python 3.10+ and access to a Rocket.Chat server.
Install
rocketchat-api on PyPI
pip
pip install rocketchat-apiuv
uv add rocketchat-apipoetry
poetry add rocketchat-apiInstalling rocketchat-API
Before you install
Low install friction with only two runtime dependencies (requests and packaging). Active maintenance with a release 6 days ago and continuous testing against supported Python and Rocket.Chat versions.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe for most projects.
Quickstart
pip install rocketchat_API
from rocketchat_API.rocketchat import RocketChat
rocket = RocketChat('user', 'pass', server_url='https://demo.rocket.chat')
rocket.chat_post_message('hello', channel='GENERAL')
Requires Python 3.10 or higher and a running Rocket.Chat server instance.
Verify before relying
- Whether the library supports all current Rocket.Chat API endpoints or only a subset.
- Performance characteristics when handling large message volumes or channel lists.
- Whether async/await support is available for concurrent operations.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, packaging |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 471,666/month — #6,477 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rocketchat_api-3.7.1-py3-none-any.whl
Keywords: rocketchat, api, wrapper, rest
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
openfire-restapiA Python client library for interacting with…
copyleft · top 15,000 on PyPI
rlbotRLBot is a framework for writing Python bots…
permissive · top 15,000 on PyPI
rasaRasa is an open-source machine learning…
permissive · top 15,000 on PyPI
marketorestpythonPython client library that wraps the Marketo…
permissive · top 15,000 on PyPI
slackclientProvides Python interfaces to Slack's Web API…
permissive · top 5,000 on PyPI
stream-chatPython SDK for server-side integration with…
unclear · top 15,000 on PyPI
python-gitlabPython wrapper for GitLab's REST and GraphQL…
copyleft · top 5,000 on PyPI
botbuilder-integration-aiohttpIntegrates a Microsoft Bot Framework bot into…
permissive · top 15,000 on PyPI
twitchAPIA Python client library for the Twitch Helix…
permissive · top 15,000 on PyPI
botframework-connectorEnables Python bots to send and receive…
permissive · top 5,000 on PyPI