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.20.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.20.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marquez-python-0.20.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for marquez-python-0.20.0.tar.gz
Algorithm Hash digest
SHA256 dfb48276f3362bed0af87fd46c49834547b206562bab07acf474a7383ad51b5a
MD5 3733bc9e56a0332d54d78585c6474bdc
BLAKE2b-256 617cefade22675391beeadc917a78ef3d70e9296ffb3600f76f77d00e1e1a751

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marquez_python-0.20.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for marquez_python-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15492b098e8991480fc660714f40f0d04acf55c3a50ec807b74c0b8374583186
MD5 6fc0b8ad7ef393070783cba028708e96
BLAKE2b-256 bb03b3547ff4ef5ee69b4741b60ca584dfcbf5f45a6460a6518208019f72dd10

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