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

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.32.0.tar.gz (11.6 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.32.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marquez-python-0.32.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for marquez-python-0.32.0.tar.gz
Algorithm Hash digest
SHA256 8e09985b6de314447dfb4fbdd3a91248c1e194fe091a3cccf457b02797d2fef7
MD5 1f9aa6d5c519918fa62ea548f8b7f25a
BLAKE2b-256 872ff61a2d67d767d75272cede60a64e307919b1adf1bbcf1d2898d68cf6fd2e

See more details on using hashes here.

File details

Details for the file marquez_python-0.32.0-py3-none-any.whl.

File metadata

  • Download URL: marquez_python-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for marquez_python-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eaa3a0093bf8e750a7ba7053a816d5e49b5531626b3c71fdcc10d05e3ba1f5b2
MD5 d474edc738cbbc55d313592d23687314
BLAKE2b-256 c39b67a30a94b6120b892ec1a1f0c3d359cd0f55930fae6491bab27ac91e39fd

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