Stream-Framework: Build Activity Feeds with Python

Summary
Stream-Framework is a Python library for building activity feeds, newsfeeds, and notification systems backed by Redis and/or Cassandra. It suits teams that need customizable feed fanout and can operate the supporting data stores and task-processing infrastructure.
At a glance
- Language
- Python
- License
- NOASSERTION
- Stars
- 4.7k
- Forks
- 528
- Added to OSRepos
- November 4, 2025
- Last analyzed
- October 3, 2026
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
Stream-Framework provides building blocks for applications that publish activities to user feeds, such as social networks, newsfeeds, and notification systems. It addresses the work of distributing new activities to followers and retrieving feed entries, with Redis and/or Cassandra as storage options.
It is intended for Python teams that want to manage feed behavior themselves, including follower lookup and feed definitions. Feed distribution can run as asynchronous Celery tasks, making the framework a fit when write-heavy fanout is acceptable and read paths need to stay straightforward.
Key Features
- Models activities and stores them in configurable feed classes.
- Supports Redis and Cassandra storage backends.
- Provides a manager abstraction for publishing user activities and distributing them to followers.
- Supports asynchronous fanout through Celery tasks.
- Allows applications to define follower lookup and fanout priorities.
- Offers optional Redis and Cassandra dependency sets for installation.
Use Cases
- A Python social application can publish each user's posts to the feeds of their followers.
- A product team can build a Twitter-, Instagram-, or Pinterest-style feed with application-specific activity types.
- An application can maintain personal activity streams, such as a GitHub-style history of events.
- A service can distribute notification-like activities to user feeds when it can manage Redis or Cassandra and background task workers.
Project Facts
- Language: Python
- License: NOASSERTION
- Stars: 4.7k
- Forks: 528
- Topics: activity-feed, activity-stream, big-data, cassandra, feed, news, news-feed, redis
- Archived: false
Getting Started
Install the base package with pip:
pip install stream-framework
Add the redis and/or cassandra extras for the backends you plan to use. See the README and documentation for configuration and usage details.
Considerations
- Redis and Cassandra dependencies are optional and must be installed for the corresponding backends. The example also relies on Celery for background fanout.
- This framework is for teams willing to operate and configure feed storage and task-processing infrastructure. The project authors also offer a hosted feed service, but that is a separate product.
- The README describes Cassandra 2.1 as the performance target and says Cassandra 2.2 and 3.3 pass the test suite without production experience. Check backend and dependency compatibility against your environment before adopting it.
Source repository
Open the original repository on GitHub.
25 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

web-design: Create Consistent Web Pages with a Claude Code Skill
October 3, 2026
web-design is a Claude Code skill that turns product briefs, reference URLs, or screenshots into an editable design specification before generating web code. It is suited to developers and designers who want a repeatable, spec-led workflow for building consistent pages.

OOMWOO: Build Your Own Open-Source, Hackable Robot Vacuum Cleaner
October 2, 2026
OOMWOO is an ambitious open-source project enabling users to build their own robot vacuum cleaner using Raspberry Pi, 3D printing, and ROS2. It emphasizes local operation, hackability, and integration with Home Assistant, providing a high-quality, customizable home appliance. This project aims to deliver a fully open hardware, software, and firmware solution for autonomous home cleaning.

Shepherd: Reversible Execution Traces for Programmable Meta-Agents
October 2, 2026
Shepherd is a Python runtime substrate designed for agent work requiring inspection, reversibility, and supervision. It records agent runs as durable, inspectable execution traces, enabling meta-agents to observe, fork, replay, and revert any operation. This framework couples agents and environments using a copy-on-write fork, offering significant performance benefits and robust permission enforcement.

Agent Anvil: CI-First Evaluation Harness for Tool-Using AI Agents
October 1, 2026
Agent Anvil is a robust, CI-first evaluation harness designed for AI agents that utilize tools. It meticulously runs scenario suites, captures detailed traces of agent behavior, and provides semantic grading to identify issues. The platform excels at clustering failures and suggesting concrete fixes for prompts, tools, and guardrails, ensuring agents behave safely and effectively.