Skip to content

Repository files navigation

marquez-python-codegen

Marquez is an open source metadata service for the collection, aggregation, and visualization of a data ecosystem's metadata.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 0.1.5
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

importmarquez_codegen_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

importmarquez_codegen_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ importprint_functionimporttimeimportmarquez_codegen_clientfrommarquez_codegen_client.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=marquez_codegen_client.DatasetsApi(marquez_codegen_client.ApiClient(configuration))
namespace=wework# str | The name of the namespace. (default to 'wework')try:
# List all datasetsapi_response=api_instance.namespaces_namespace_datasets_get(namespace)
pprint(api_response)
exceptApiExceptionase:
print("Exception when calling DatasetsApi->namespaces_namespace_datasets_get: %s\n"%e)

Documentation for API Endpoints

All URIs are relative to http://localhost:5000/api/v1

ClassMethodHTTP requestDescription
DatasetsApinamespaces_namespace_datasets_getGET /namespaces/{namespace}/datasetsList all datasets
JobsApijobs_runs_id_abort_putPUT /jobs/runs/{id}/abortAbort a job run
JobsApijobs_runs_id_complete_putPUT /jobs/runs/{id}/completeComplete a job run
JobsApijobs_runs_id_fail_putPUT /jobs/runs/{id}/failFail a job run
JobsApijobs_runs_id_getGET /jobs/runs/{id}Retrieve a job run
JobsApijobs_runs_id_outputs_getGET /jobs/runs/{id}/outputsList all job run outputs
JobsApijobs_runs_id_outputs_putPUT /jobs/runs/{id}/outputsCreate multiple output datasets
JobsApijobs_runs_id_run_putPUT /jobs/runs/{id}/runStart a job run
JobsApinamespaces_namespace_jobs_getGET /namespaces/{namespace}/jobsList all jobs
JobsApinamespaces_namespace_jobs_job_getGET /namespaces/{namespace}/jobs/{job}Retrieve a job
JobsApinamespaces_namespace_jobs_job_putPUT /namespaces/{namespace}/jobs/{job}Create a job
JobsApinamespaces_namespace_jobs_job_runs_getGET /namespaces/{namespace}/jobs/{job}/runsList all job runs
JobsApinamespaces_namespace_jobs_job_runs_postPOST /namespaces/{namespace}/jobs/{job}/runsCreate a job run
JobsApinamespaces_namespace_jobs_job_versions_getGET /namespaces/{namespace}/jobs/{job}/versionsList all job versions
NamespacesApinamespaces_getGET /namespacesList all namespaces
NamespacesApinamespaces_namespace_getGET /namespaces/{namespace}Retrieve a namespace
NamespacesApinamespaces_namespace_putPUT /namespaces/{namespace}Create a namespace

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

About

Auto-generated python client for Marquez

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages