Marquez Python Client
Project description
Marquez Python Client
Python client for Marquez.
Documentation
See the API docs.
Requirements
Installation
$ pip3 install marquez-python
To install from source run:
$ python3 setup.py install
Usage
Reading Metadata
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'
Writing Metadata
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.
Development
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
marquez-python-0.44.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for marquez_python-0.44.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3be05ff8fa4aeea84cce8127c87e57dc0e9745b99bba0243df56c0e55a708ae |
|
MD5 | 0d44b9d4eed4add1002a255b293707ed |
|
BLAKE2b-256 | 2e8347b5caf6eef4217f8915258dee5beb47b71b01415e55ebc7f328d94fa3eb |