EventLineage
See how events flow through your system, and what breaks before you change one.
EventLineage reads the contracts already in your repository: JSON Schema, Avro, Protobuf, AsyncAPI, OpenAPI, Kafka topic exports, Schema Registry exports and hand-written catalogs. It builds one dependency graph from them, then finds missing producers, circular dependencies and breaking schema changes. It works offline on local files, as a CLI and as a Python library.
Install
pip install eventlineage
Requires Python 3.11+. To read from live systems, add an extra: kafka, schema-registry,
rabbitmq, nats or all, for example pip install "eventlineage[kafka]".
Quick start
Describe two services and the events between them in events/catalog.yaml:
version: 1
services:
order-service:
produces: [orders.created]
consumes: [payments.captured]
billing-service:
produces: [payments.captured]
consumes: [orders.created]
Then run:
eventlineage init # create eventlineage.yaml
eventlineage scan # discover events, services and topics
eventlineage validate # finds the cycle above and exits 1
eventlineage impact orders.created # see what a change would affect
In a repository that already has schemas or AsyncAPI files, skip the catalog: scan finds them.
Main commands
| Command | What it does |
|---|---|
scan |
Discover events, services and topics |
validate |
Run the 17 rules, such as missing producers and circular dependencies |
analyze |
Show a health score, hotspots and cycles |
impact TARGET |
Show what a change to an event, service or topic affects |
compare OLD NEW |
Compare two schema files, or two versions with --event ID |
graph |
Draw the graph as Mermaid or DOT, or output it as JSON |
report |
Write a Markdown or JSON architecture report |
pull NAME |
Save data from a live broker or registry into a file scan can read |
Add --format json for machine-readable output. Exit codes: 0 success, 1 findings or a breaking
change, 2 usage or configuration error, 3 runtime error.
Python
from eventlineage import Project
project = Project.open(".")
print(project.scan().summary.events, "events")
for finding in project.validate().findings:
print(finding.rule, finding.message)
print(project.impact("orders.created").summary())
Documentation
- CLI reference
- Python SDK
- Configuration and catalog format
- Schema compatibility
- Plugins and custom rules
- Architecture and development
- Performance
- Example project
- Changelog
License
Apache-2.0. See LICENSE.
Metadata
Release files for eventlineage 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eventlineage-0.1.0.tar.gz | 218.1 kB | With provenance | Details for eventlineage-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eventlineage-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for eventlineage-0.1.0-py3-none-any.whl |
Total release size: 416.0 kB
Release files / eventlineage-0.1.0.tar.gz
| Download URL | eventlineage-0.1.0.tar.gz |
|---|---|
| Size | 218.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48539956f70b4c07f2cb2a487b29bdd14146cd400dbbc1d16377ae583c13d00d
|
|
BLAKE2b-256 checksum How to use checksums |
638b99fce12457f1bb921ec47196d2e75c4560ae709c1db63b8e8d8f36b4bb7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logRelease files / eventlineage-0.1.0-py3-none-any.whl
| Download URL | eventlineage-0.1.0-py3-none-any.whl |
|---|---|
| Size | 197.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59b03f3de662fc2ca8543af3dc396237527309e598e202d4b3e58e7c0dc93886
|
|
BLAKE2b-256 checksum How to use checksums |
aa6ed2e56975040c0982bee36b9730ad45669e5bd9c48c00ec7e30be4bb9d732
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logSecurity for eventlineage 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for eventlineage-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.