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
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.22.0.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for marquez_python-0.22.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44f6f5a3d7478994d4cb064f3cf55f9f0c5b639927fd075109fb0661bdce51c5 |
|
MD5 | 691c2ebbe1eb806e26a7b1a7fdf5b3d8 |
|
BLAKE2b-256 | 9309b5e34de9515ec5c6b265ece74e3f1860eec3556c9bb437a9cb14baf35514 |