stream-chat
Client for Stream Chat.
Decision gist · record as of 2026-08-14
Yes, if you are maintaining an existing stream-chat integration or building a new chat backend with Stream. The package is actively maintained and has no known vulnerabilities. However, if starting a new project, consider the newer `getstream` SDK instead, as stream-chat is in maintenance mode. License terms are unclear and should be verified before use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid Stream Chat API credentials (api_key and api_secret) to instantiate the client.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with recent commits; however, the package is in maintenance mode with the newer `getstream` SDK recommended for new projects.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or restricted contexts.
last release 2026-05-15 (91 days) · last repo commit 2026-07-27 · 72 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 490,779 downloads/mo, #6,367 on PyPI
Alternatives
Verify before relying
from stream_chat import StreamChat
chat = StreamChat(api_key="STREAM_KEY", api_secret="STREAM_SECRET")
chat.upsert_user({"id": "user1", "name": "User One"})
channel = chat.channel("messaging", "general")
channel.create("user1")- Whether the package's license is compatible with your project's licensing requirements.
- Whether migration to the newer `getstream` SDK is necessary for your use case or timeline.
What it is and what it does
stream-chat is the official Python client library for Stream Chat, a backend service for building chat applications. It provides synchronous and asynchronous APIs to manage users, channels, messages, and other chat metadata server-side. The library wraps HTTP requests to Stream's API endpoints and returns typed response objects that inherit from dict, maintaining backward compatibility while exposing rate-limit information, headers, and status codes.
The package depends on requests, aiohttp, aiodns, aiofile, pyjwt, and typing_extensions to handle both sync and async operations. It is currently in maintenance mode—the maintainers recommend new projects use the newer `getstream` SDK instead, though stream-chat remains safe for continued use and will receive critical fixes.
Use it for
- Build a chat backend that manages user accounts, channels, and permissions through Stream's API.
- Send and retrieve messages programmatically from a server-side application.
- Implement async chat operations in high-concurrency environments using StreamChatAsync.
- Monitor rate limits and API response metadata for production chat systems.
- Migrate existing chat integrations while maintaining backward-compatible dict-like response handling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are maintaining an existing stream-chat integration or building a new chat backend with Stream.
The package is actively maintained and has no known vulnerabilities. However, if starting a new project, consider the newer `getstream` SDK instead, as stream-chat is in maintenance mode. License terms are unclear and should be verified before use.
Install
stream-chat on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent commits; however, the package is in maintenance mode with the newer `getstream` SDK recommended for new projects.
Requires valid Stream Chat API credentials (api_key and api_secret) to instantiate the client.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or restricted contexts.
Quickstart
from stream_chat import StreamChat
chat = StreamChat(api_key="STREAM_KEY", api_secret="STREAM_SECRET")
chat.upsert_user({"id": "user1", "name": "User One"})
channel = chat.channel("messaging", "general")
channel.create("user1")
Verify before relying
- Whether the package's license is compatible with your project's licensing requirements.
- Whether migration to the newer `getstream` SDK is necessary for your use case or timeline.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesrequestsaiodnsaiohttpaiofilepyjwttyping_extensions |
| Maintenance | Actively maintained 91 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 490,779 / month, #6,367 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: stream_chat-4.32.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “stream chat python sdk”
- stream-chatPython SDK for server-side integration with Stream Chat, providing…
- assistant-streamProvides server-side streaming support for AI chat applications built…
- reka-apiProvides a Python client library for accessing the Reka API, with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also stream-python · TikTokLive · rocketchat-API · twitchAPI · writer-sdk · azure-communication-chat · dingtalk-stream · llama-index-llms-ollama · pyfcm · slackclient