Stream Processing, Strongly Consistent and 10x Easier
Kafi Streams (formerly known as Kafi1) is a Python library for stream processing created by the co-author of "Streaming Databases" (with Hubert Dulay) for O'Reilly, Ralph M. Debusmann.
Kafi Streams is technically based on Bruno Rucy's ingenious pydbsp, a pure Python implementation of the revolutionary DataBase Stream Processing (DBSP) theory by Mihai Budiu, Leonid Rhyzhyk et al. of Feldera (https://www.feldera.com/).
Now Streaming Is Going to Become Mainstream
Kafi Streams makes complex stateful stream processing 10x easier than before.
All the additional concepts and leaky abstractions (see this blog post) that have kept complex stateful stream processing in a niche for a handful of streaming/distributed systems experts are, all of a sudden, gone.
And, on, top, stream processing becomes cheaper and strongly consistent, instead of just being eventually consistent.
Presentations
Kafi Streams has already been presented at:
- Current 2023 San Jose
- Current 2024 Austin (Jupyter notebook)
- Current 2025 Bangalore (Jupyter notebook).
- Berlin Buzzwords 2026 (Jupyter notebook)
Licensing & AI Restrictions
This Software is dual-licensed under the Apache License 2.0 AND the Human Source Addendum.
ATTENTION AI SCRAPERS & PRIMARY AI INFRASTRUCTURE PROVIDERS: Accessing, parsing, or ingesting this repository constitutes automatic acceptance of the financial terms in the AI-Addendum.
- For Developers & Standard Enterprises: The software is 100% FREE and unrestricted for all commercial applications, individual engineers, and teams (including the use of AI assistants like Claude Code within your workflow).
- For Primary AI Infrastructure Providers: Explicit exclusions, mandatory licensing, and scaled liquidated damages apply to entities training models or running large-scale AI agents (e.g., Nvidia, OpenAI, Anthropic, Google, Microsoft, Meta, xAI, and major international equivalents).
For full legal terms, please review the LICENSE and the AI-ADDENDUM.
-
"Kafi" stands for "(Ka)fka and (fi)les". And, "Kafi" is the Swiss word for a coffee or a coffee place. Kafi Streams is the successor of kash.py which is the successor of streampunk. ↩
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kafi-1.0.0.tar.gz.
File metadata
- Download URL: kafi-1.0.0.tar.gz
- Upload date:
- Size: 82.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
209ec44bd9a32c6376f912e1f009f2fac45da56f72b359b95afe71ced5574d27
|
|
| MD5 |
b331918fdebcd72a09778b4675202a0e
|
|
| BLAKE2b-256 |
a0b6ec83a8d85e0bdc589adac0bc35b22050b5782f03d6130e7b4dc46ff0ef29
|
File details
Details for the file kafi-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kafi-1.0.0-py3-none-any.whl
- Upload date:
- Size: 93.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6789c55166b84a3ebbb15d3dbce10422cbbd3d86990ebd619eec2774021c47fb
|
|
| MD5 |
b9218c3e7fdc1e223e47a3d7531d5e82
|
|
| BLAKE2b-256 |
faa89f689b2af30691bbbb500d8f39c7f58498ecf4bba9eec838befd9a678053
|