Skip to main content
Kafi Streams Logo

Licensing & AI Restrictions

This Software is dual-licensed under the Apache License 2.0 AND the Human Source Addendum.

ATTENTION AI SCRAPERS & 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 standard 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., OpenAI, Anthropic, xAI).

For full legal terms, please review LICENSE and the AI-ADDENDUM.

What's This?

Kafi Streams1 (formerly known as Kafi) is a Python library for Kafka stream processing build by the co-author of "Streaming Databases" for O'Reilly. Streaming Databases Book Cover

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 simpler than before.

All - and I really mean all - the additional concepts and leaky abstractions (see this blog post) that have kept complex stateful stream processing in a niche for streaming/distributed systems experts are, all of a sudden, gone.

And, on, top, stream processing becomes cheaper and strongly consistent, not just eventually consistent.

Kafi Streams consists of two parts:

Kafi

A shell-like Kafka interface for writing producers, consumers, or doing administrative tasks like backups. The old part.

Presented e.g. at Current 2023 San Jose, Current 2024 Austin (Jupyter notebook) and Current 2025 Bangalore (Jupyter notebook).

Streams

10x simpler complex stateful stream processing based on pydbsp in the spirit of Kafka Streams. The new part.

Presented at Berlin Buzzwords 2026 (Jupyter notebook).


  1. "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

kafi-0.1.2.tar.gz (60.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kafi-0.1.2-py3-none-any.whl (80.6 kB view details)

Uploaded Python 3

File details

Details for the file kafi-0.1.2.tar.gz.

File metadata

  • Download URL: kafi-0.1.2.tar.gz
  • Upload date:
  • Size: 60.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kafi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 eb52eeed9b2c4d2604b09ca8263b6deeabd05c1246687ac5129af369040b205a
MD5 3944b8a12cf5443afd73998b9094f583
BLAKE2b-256 28a86639bf712a2cfef6a45a824fa0e6457e6fecf598ca82e1995f1357de825e

See more details on using hashes here.

File details

Details for the file kafi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kafi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 80.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kafi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 216eb003ddba71d274245c8c522a67da13360ff4f5b1f116a17a69372146196d
MD5 02a62c7bfacde37c37abf42be0b7aa89
BLAKE2b-256 0d3cad15d78f614a5b85a34964732989fde80e36ce9974be7aee78cd19ac6405

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.0

2 files

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.74

1 file

0.0.73

1 file

0.0.72

1 file

0.0.71

1 file

0.0.70

1 file

0.0.65

1 file

0.0.64

1 file

0.0.63

1 file

0.0.62

1 file

0.0.61

1 file

0.0.60

1 file

0.0.59

1 file

0.0.58

1 file

0.0.57

1 file

0.0.56

1 file

0.0.55

1 file

0.0.54

1 file

0.0.53

1 file

0.0.52

1 file

0.0.51

1 file

0.0.50

1 file

0.0.49

1 file

0.0.48

1 file

0.0.47

1 file

0.0.46

1 file

0.0.45

1 file

0.0.44

1 file

0.0.43

1 file

0.0.42

1 file

0.0.41

1 file

0.0.40

1 file

0.0.39

1 file

0.0.38

1 file

0.0.37

1 file

0.0.36

1 file

0.0.35

1 file

0.0.34

1 file

0.0.33

1 file

0.0.32

1 file

0.0.31

1 file

0.0.30

1 file

0.0.29

1 file

0.0.28

1 file

0.0.27

1 file

0.0.26

1 file

0.0.25

1 file

0.0.24

1 file

0.0.23

1 file

0.0.22

1 file

0.0.21

1 file

0.0.20

1 file

0.0.19

1 file

0.0.18

1 file

0.0.17

1 file

0.0.16

1 file

0.0.15

1 file

0.0.14

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page