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.
Metadata
Release files for marquez-python 0.50.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 | |
|---|---|---|---|
| marquez-python-0.50.0.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| marquez_python-0.50.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.4 kB
Release files / marquez-python-0.50.0.tar.gz
| Download URL | marquez-python-0.50.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c450a56d0513f94e1769d0d3801ee96b064c0a17f0510ab0c77d034bcbc81c85
|
|
BLAKE2b-256 checksum How to use checksums |
a24d863518668e5e8f30bed43f0a5a08e34e6f56564d0ca374617692958e3305
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/21.8.0 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|
Release files / marquez_python-0.50.0-py3-none-any.whl
| Download URL | marquez_python-0.50.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32aa135c79a31fced6b20c4245415c71ad9eacc5aaaa68b3dfed00b6825bf926
|
|
BLAKE2b-256 checksum How to use checksums |
7d1dfeec44631861f6832b75a79f99ffa58ae20e0eaed9f9a7788c1d1fcaac56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/21.8.0 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|