This is an example of how to use the OpenLineage adapter that can be used to send metadata to an OpenLineage server.
OpenLineage is an open standard for data lineage. With Hamilton you can read and write data, and with OpenLineage you can track the lineage of that data.
- Build your project with Hamilton.
- Use one of the materialization approaches to surface metadata about what is loaded and saved.
- Use the OpenLineage adapter to send metadata to an OpenLineage server.
- Install the requirements:
pip install -r requirements.txt
- Run the example:
python run.py
Or run the example in a notebook:
jupyter notebook