Skip to main content

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.23.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marquez_python-0.23.0-py2-none-any.whl (13.6 kB view details)

Uploaded Python 2

File details

Details for the file marquez-python-0.23.0.tar.gz.

File metadata

  • Download URL: marquez-python-0.23.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for marquez-python-0.23.0.tar.gz
Algorithm Hash digest
SHA256 21406dbfaf4b69fd92dcde4cf894c1bf269182c810d12fdfcb83a3a43a9a05b9
MD5 e31864b9efb1ffb4e540ed4e394af267
BLAKE2b-256 5027da582e0fad5640d17da44ad51557736b6784b27966fab7a1a3aa1ad4edce

See more details on using hashes here.

File details

Details for the file marquez_python-0.23.0-py2-none-any.whl.

File metadata

File hashes

Hashes for marquez_python-0.23.0-py2-none-any.whl
Algorithm Hash digest
SHA256 cf36dec3c6d172198e81800f522ea4da0665d860a3bef62d7799cdef3b8efc27
MD5 b6621469ee92e6fc2403ed03d07c99f9
BLAKE2b-256 ae1985e8d6d69e43c3bb7b1333a3c3191d6feb1ad567b536fc02ec4dfaf4b999

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page