Repository navigation
v0.1.0 — First release
brooklet v0.1.0
The SQLite of event streaming — consumer coordination on top of JSONL files.
What's included
Core API
brooklet.open(path)— open a stream directorystream.register(name, path, mode)— map external JSONL to a topicstream.consume(topic, group, follow)— read events with offset trackingstream.produce(topic, event, source)— write events to local topics- Single-file and glob modes with follow (live tailing) support
- Thin envelope auto-injection (
_ts,_seq,_src)
Built-in adapters
- brooklet-scout — Claude Code session analytics (token usage, tool calls, model breakdown)
- brooklet-pytest — pytest-reportlog analytics (pass/fail/skip counts, slowest tests, failure details)
CI integration
- GitHub Actions workflow with brooklet-pytest health gate
- Example pipeline:
pytest → brooklet-pytest --output → ci_health_check.py
Install
pip install brooklet
# or
uv add brooklet