Python client for Marquez.
See the API docs.
$ pip3 install marquez-python
To install from source run:
$ python3 setup.py install
from marquez_client import MarquezClient
client = MarquezClient(url='http://localhost:5000')
# list namespaces
client.list_namespaces()
To enable logging, set the environment variable MARQUEZ_LOG_LEVEL
to DEBUG
, INFO
, or ERROR
:
$ export MARQUEZ_LOG_LEVEL='INFO'
To collect OpenLineage events using Marquez, please use the openlineage-python library. OpenLineage is an Open Standard for lineage metadata collection designed to collect metadata for a job in execution.
To install all dependencies for local development:
$ pip3 install -e .[dev]
To run the entire test suite:
$ pytest
SPDX-License-Identifier: Apache-2.0 Copyright 2018-2023 contributors to the Marquez project.