stream-python
Client for getstream.io. Build scalable newsfeeds & activity streams in a few hours instead of weeks.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, production-stable, has low install friction, carries no known vulnerabilities, and uses a permissive license. Install it if you are building a backend that needs to manage newsfeeds or activity streams via Stream's hosted service. If you are building client-side feed UI (web or mobile), use the appropriate client SDK instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid Stream API credentials (API key and secret) from getstream.io dashboard to connect and make requests.
- Low install friction with a pure-wheel distribution.
- Actively maintained with recent commits and a stable production-grade status; supports modern Python versions from 3.7 onward.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you may use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.
last release 2025-10-01 (317 days) · last repo commit 2026-07-27 · 138 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 907,980 downloads/mo, #4,755 on PyPI
Alternatives
Verify before relying
pip install stream-python
import stream
client = stream.connect('YOUR_API_KEY', 'API_KEY_SECRET')
user_feed = client.feed('user', '1')
activity_data = {'actor': 1, 'verb': 'tweet', 'object': 1}
response = user_feed.add_activity(activity_data)- Whether the library handles rate limiting or connection pooling automatically for high-volume feed operations.
- Performance characteristics when managing large numbers of followers or activities in a single feed.
- Whether async mode requires additional setup beyond passing use_async=True to stream.connect().
What it is and what it does
stream-python is the official Python SDK for Stream Feeds, a hosted service for building scalable newsfeeds and activity streams. It provides a client library to interact with Stream's API from your Python backend, handling feed creation, activity management (add, remove, retrieve), follow relationships, and user token generation for client-side integrations. The library supports both synchronous and asynchronous workflows via aiohttp, making it suitable for blocking or event-driven architectures.
The package depends on requests, pyjwt, pytz, and aiohttp to handle HTTP communication, JWT token generation, timezone operations, and async I/O. It's designed for server-side use; client-side integrations (web, iOS, Android) use separate SDKs. The library has been in active development since 2014 and is classified as production-stable.
Use it for
- Build a social media feed backend where users follow other users and see their activities aggregated in real time.
- Implement an activity log or notification feed that tracks user actions (likes, comments, follows) and distributes them to relevant feeds.
- Create a multi-feed system (e.g., user feed, flat feed, notification feed) with follow relationships and batch operations.
- Generate secure client-side tokens for JavaScript or mobile clients to read feeds without exposing backend API secrets.
- Perform bulk activity ingestion and feed management operations using batch endpoints for high-throughput scenarios.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, production-stable, has low install friction, carries no known vulnerabilities, and uses a permissive license. Install it if you are building a backend that needs to manage newsfeeds or activity streams via Stream's hosted service. If you are building client-side feed UI (web or mobile), use the appropriate client SDK instead.
Install
stream-python on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent commits and a stable production-grade status; supports modern Python versions from 3.7 onward.
Requires valid Stream API credentials (API key and secret) from getstream.io dashboard to connect and make requests.
License in practice
BSD-3-Clause is permissive; you may use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.
Quickstart
pip install stream-python
import stream
client = stream.connect('YOUR_API_KEY', 'API_KEY_SECRET')
user_feed = client.feed('user', '1')
activity_data = {'actor': 1, 'verb': 'tweet', 'object': 1}
response = user_feed.add_activity(activity_data)
Verify before relying
- Whether the library handles rate limiting or connection pooling automatically for high-volume feed operations.
- Performance characteristics when managing large numbers of followers or activities in a single feed.
- Whether async mode requires additional setup beyond passing use_async=True to stream.connect().
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesrequestspyjwtpytzaiohttp |
| Maintenance | Actively maintained 317 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 907,980 / month, #4,755 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 AdministratorsLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: stream_python-5.4.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 › “activity stream sdk python”
- stream-pythonOfficial Python client library for Stream Feeds API, enabling…
- aic-sdkPython bindings for ai-coustics audio enhancement, voice activity…
- garmin-fit-sdkDecodes Garmin FIT (Flexible and Interoperable Data Transfer) binary…
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 django-activity-stream · stream-chat · stravalib · python-amazon-sp-api · aio-geojson-client · aio-georss-client · georss-client · faust-streaming · growwapi · azure-mgmt-streamanalytics