faust-streaming
Python Stream Processing. A Faust fork
Decision gist · record as of 2026-08-14
Yes, if you need to build distributed stream processing applications in Python with Kafka. The fork is actively maintained, supports modern Python versions (3.10–3.14), has no known vulnerabilities, and offers a permissive license. Install friction is moderate due to multiple dependencies, but pre-built wheels reduce friction. Not recommended if you need a simpler event queue or if your team lacks async/await experience.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Kafka broker; Python 3.10 or later; familiarity with async/await syntax recommended.
- Medium install friction due to 12 runtime dependencies including aiokafka, aiohttp, and mode-streaming.
- The package is actively maintained with a recent release (4 days old) and supports Python 3.10–3.14 across macOS, Linux, and Windows with pre-built wheels.
License · maintenance · safety
permissive license (permissive) — BSD 3-Clause license is permissive and GPL-compatible, allowing use in proprietary and open-source projects without requiring derivative works to be open-sourced. Documentation is separately licensed under CC BY-SA 4.0.
last release 2026-08-10 (4 days) · last repo commit 2026-08-13 · 1,882 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 387,857 downloads/mo, #7,041 on PyPI
Alternatives
Verify before relying
pip install faust-streaming
import faust
app = faust.App('myapp', broker='kafka://localhost')
class Order(faust.Record):
account_id: str
amount: int
@app.agent(value_type=Order)
async def process_orders(orders):
async for order in orders:
print(f'Order: {order.account_id} - {order.amount}')- Whether RocksDB is bundled or requires separate system installation
- Performance characteristics (throughput, latency) for production workloads
- Compatibility guarantees with specific Kafka versions
What it is and what it does
Faust-streaming is a fork of the original Faust project that brings Kafka Streams semantics to Python using async/await and static typing. It lets you write stream processors as simple Python functions decorated with @app.agent(), consuming from Kafka topics and processing events asynchronously. The library handles distributed state through Tables—persistent, replicated key-value stores backed by RocksDB—allowing you to maintain aggregate counts, windowed metrics, and other stateful computations across a cluster of worker instances.
The package is designed for high-throughput, low-latency event processing pipelines. It supports windowing (tumbling, hopping, sliding), automatic failover via standby replicas, and changelog topics for durability. Unlike other stream frameworks, Faust requires only Kafka and Python—no DSL, no separate cluster manager—making it straightforward to integrate with existing Python libraries like NumPy, Pandas, or Django.
Use it for
- Count page views or events by URL/key using windowed tables and Kafka topic partitioning
- Process order streams with stateful validation, enrichment, and async side effects like email notifications
- Build real-time dashboards by aggregating metrics into tables that are replicated across worker nodes
- Implement event-driven microservices that react to Kafka events with custom business logic
- Migrate from Kafka Streams (Java) to Python while preserving stream topology and state semantics
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to build distributed stream processing applications in Python with Kafka.
The fork is actively maintained, supports modern Python versions (3.10–3.14), has no known vulnerabilities, and offers a permissive license. Install friction is moderate due to multiple dependencies, but pre-built wheels reduce friction. Not recommended if you need a simpler event queue or if your team lacks async/await experience.
Install
faust-streaming on PyPI
Before you install
Medium install friction due to 12 runtime dependencies including aiokafka, aiohttp, and mode-streaming. The package is actively maintained with a recent release (4 days old) and supports Python 3.10–3.14 across macOS, Linux, and Windows with pre-built wheels.
Requires a running Kafka broker; Python 3.10 or later; familiarity with async/await syntax recommended.
License in practice
BSD 3-Clause license is permissive and GPL-compatible, allowing use in proprietary and open-source projects without requiring derivative works to be open-sourced. Documentation is separately licensed under CC BY-SA 4.0.
Quickstart
pip install faust-streaming
import faust
app = faust.App('myapp', broker='kafka://localhost')
class Order(faust.Record):
account_id: str
amount: int
@app.agent(value_type=Order)
async def process_orders(orders):
async for order in orders:
print(f'Order: {order.account_id} - {order.amount}')
Verify before relying
- Whether RocksDB is bundled or requires separate system installation
- Performance characteristics (throughput, latency) for production workloads
- Compatibility guarantees with specific Kafka versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 12 packagesaiohttpaiohttp_corsaiokafkaclickmode-streamingterminaltablesyarlcronitermypy_extensionsvenusianintervaltreesix |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 387,857 / month, #7,041 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/StableFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: BSDOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: System :: Distributed ComputingTopic :: System :: Networking |
Evidence: faust_streaming-0.13.2-cp310-cp310-macosx_10_9_x86_64.whl; faust_streaming-0.13.2-cp310-cp310-macosx_11_0_arm64.whl; faust_streaming-0.13.2-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; faust_streaming-0.13.2-cp310-cp310-win_amd64.whl; faust_streaming-0.13.2-cp311-cp311-macosx_10_9_x86_64.whl; faust_streaming-0.13.2-cp311-cp311-macosx_11_0_arm64.whl; faust_streaming-0.13.2-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; faust_streaming-0.13.2-cp311-cp311-win_amd64.whl; faust_streaming-0.13.2-cp312-cp312-macosx_10_13_x86_64.whl; faust_streaming-0.13.2-cp312-cp312-macosx_11_0_arm64.whl; faust_streaming-0.13.2-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; faust_streaming-0.13.2-cp312-cp312-win_amd64.whl; faust_streaming-0.13.2-cp313-cp313-macosx_10_13_x86_64.whl; faust_streaming-0.13.2-cp313-cp313-macosx_11_0_arm64.whl; faust_streaming-0.13.2-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; faust_streaming-0.13.2-cp313-cp313-win_amd64.whl; faust_streaming-0.13.2-cp314-cp314-macosx_10_15_x86_64.whl; faust_streaming-0.13.2-cp314-cp314-macosx_11_0_arm64.whl; faust_streaming-0.13.2-cp314-cp314-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; faust_streaming-0.13.2-cp314-cp314-win_amd64.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 › “kafka stream processing python”
- faust-streamingFaust-streaming is a Python library for building stream processing…
- quixstreamsQuix Streams is a Python framework for building stream processing…
- apache-airflow-providers-apache-kafkaIntegrates Apache Kafka with Apache Airflow, providing operators and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also quixstreams · apache-flink-libraries · faststream · broadcaster · kafka · aiokafka · kafka-python · crick · stream-python · django-activity-stream