Skip to main content

Qalita Command Line Interface

Project description

QALITA Command Line Interface (CLI)

logo

QALITA Command Line Interface (CLI) is a tool intended to be used by Data Engineers who setup's QALITA Platform's agents, sources and assets.

It gives easy to use command to help them make an up & running qalita platform's environment in no time.

Quick Start

Installation

As simple as :

pip install qalita

Usage

If you want to have more detailed and contextual help, type

qalita COMMAND -h

Usage: qalita [OPTIONS] COMMAND [ARGS]...

  QALITA Command Line Interface

Setup

This CLI command communicates with the QALITA Platform API backend.

There are several layers of configuration depending of your needs :

Minimal Config

  • QALITA_AGENT_NAME=<agent_name>

The agent will help you identify it in the frontend interface, there are no restrictions on the name.

  • QALITA_AGENT_MODE=<job/worker>

The mode of the agent :

Job : In job mode, when you use the command qalita agent run, it will immediately try to run a job on the local current context.

Worker : In worker mode, when you use the command qalita agent run it will wait for the backend to gives him jobs to run. It is simmilar to a scheduler.

Note that the command qalita agent run needs more configuration to run correctly, it will displays error otherwise.

Linked Config

  • QALITA_AGENT_URL_ENDPOINT=<backend_api_url>

Example : http://localhost:3080/api/v1

The agent url endpoint gives the ability for the agent to communicate with the qalita's platform endpoints, it enables :

* Listing packs
* Running Jobs
* Publishing sources
* Publishing packs
  • QALITA_AGENT_API_TOKEN=<api_token>

The token is provided while doing the quickstart steps in the frontend app. It is associated with your user and your role.

Note that you need to have at least the [Data Engineer] role to use the QALITA CLI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qalita-1.0.10.tar.gz (20.7 kB view hashes)

Uploaded Source

Built Distribution

qalita-1.0.10-py3-none-any.whl (23.9 kB view hashes)

Uploaded Python 3

Supported by

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