Skip to main content

Datazone Client Library 👋

Installation

You can install package via pip

pip install datazone

Configuration & Login

Run the following command in your terminal to create a new profile.

datazone profile create

When prompted, enter the following information:

Profile Name: <PROFILE_NAME>
Host [app.datazone.co]: <DATAZONE_ADDRESS>
API Key: <API Key>

Then you can run following command to test it. (At the first profile creation, it will test automatically)

datazone auth test

Create first repository

datazone repository create hello-world
cd hello-world

It creates a new folder in your current directory. Thıs folder has two file initially. config.yaml and first_pipeline.py. After you modify your script you can deploy project via following command.

datazone repository deploy

After the deployment is complete, you can check your repository status via following command.

datazone repository summary

If repository has deployed, you can run your first execution with following command.

datazone execution run <pipeline_id>

Commands

Also you can check all command with help sub command. datazone auth --help or datazone repository summary --help

# Auth
datazone auth test

# Profile
datazone profile list
datazone profile create
datazone profile delete <profile_name>
datazone profile setdefault <profile_name>

# Repository
datazone repository list
datazone repository create
datazone repository deploy
datazone repository summary <file_name>
datazone repository clone <repository_id>
datazone repository pull

# Dataset
datazone dataset list
datazone dataset show <dataset_id> [--size <n>] [--transaction-id <id>] [--query "<SQL>"]
datazone dataset transactions <dataset_id>

# Source
datazone source create
datazone source list
datazone source update <source_id>
datazone source delete <source_id>

# Extract
datazone extract create
datazone extract list
datazone extract update <extract_id>
datazone extract delete <extract_id>
datazone extract execute <extract_id>

# Schedule
datazone schedule create
datazone schedule list
datazone schedule delete <source_id>

# Execution
datazone execution run [--extract-id] [--pipeline-id] [<execution_type>] [<transform_selection>]
datazone execution list [--extract-id] [--pipeline-id]
datazone execution log <execution_id>

# Pipeline
datazone pipeline create
datazone pipeline list
datazone pipeline delete <pipeline_id>

# View
datazone view create
datazone view list [--dataset-id <dataset_id>]
datazone view delete <view_id>

# SQL
datazone sql <dataset_id> "<QUERY>" [--transaction-id <id>] [--size <n>]

# Project
datazone project activities list <project_id>

# Flow
datazone flow list [--branch <branch>] [--project-id <project_id>]
datazone flow show <flow_id> [--branch <branch>]
datazone flow create [--name <name>] [--project-id <project_id>] [--file <definition.yml>]
datazone flow delete <flow_id>
datazone flow run <flow_id> [--parameters '<json>'] [--branch <branch>]
datazone flow validate --file <document.yml>
datazone flow node-types [<node_type>] [--schema]
datazone flow templates [<template_id>]
datazone flow runs list <flow_id>
datazone flow runs show <run_id>
datazone flow runs logs <run_id> [--node-id <node_id>]
datazone flow runs cancel <run_id>
datazone flow schedule list [--flow-id <flow_id>]
datazone flow schedule create <flow_id> --name <name> --expression "<cron>"
datazone flow schedule update <schedule_id> [--expression "<cron>"] [--active/--inactive]
datazone flow schedule delete <schedule_id>

# Knowledge Object
datazone knowledge-object list [--branch <branch>] [--project-id <project_id>]
datazone knowledge-object show <object_id>
datazone knowledge-object create [--project-id <project_id>] [--file <metadata.yml>]
datazone knowledge-object delete <object_id>
datazone knowledge-object instance list <object_id> [--fields <a,b>] [--filters <expr>]
datazone knowledge-object instance get <object_id> <key> [--with-relationships]
datazone knowledge-object instance create <object_id> --data '<json>' | --file <file>
datazone knowledge-object instance batch <object_id> --file <instances.yml>
datazone knowledge-object instance update <object_id> <key> --data '<json>'
datazone knowledge-object instance delete <object_id> <key>
datazone knowledge-object instance history <object_id> <key>

# Query Explorer
datazone query execute "<QUERY>" --project-id <project_id> [--tab-id <tab_id>]
datazone query results [<result_id>] [--project-id <project_id>]
datazone query saved list|show|create|update|delete
datazone query tab list|show|create|delete

# Variable & Tag
datazone variable list|show|create|delete
datazone tag list|show|create|delete

# Notebook & Kernel
datazone notebook list|show|create|delete
datazone notebook kernel start <notebook_id> [--type <type>] [--compute <size>]
datazone notebook kernel show|stop|restart|interrupt <kernel_id>
datazone notebook kernel active <notebook_id>
datazone notebook kernel history <notebook_id>

# Alert, Action & Agent
datazone alert list|show|create|delete
datazone alert test --query "<QUERY>" --project-id <project_id>
datazone alert events [--alert-id <alert_id>]
datazone action list|show|delete
datazone action test <action_id> [--parameters '<json>'] [--timeout <seconds>]
datazone action calls [--action-id <action_id>]
datazone agent list|show|delete
datazone agent models
datazone agent logs <agent_id> [--question-id <question_id>]

# Vector
datazone vector list|show|delete
datazone vector search <vector_id> "<term>" [--limit <n>]
datazone vector reindex <vector_id>

# Intelligent App Reports
datazone app report list|show|delete
datazone app report trigger <report_id>
datazone app report records [--report-id <report_id>]

# Target, Model Account & Notification Channel
datazone target list|show|create|delete
datazone model-account list|show|create|delete
datazone notification-channel list|show|create|delete

# Transaction & Favorite
datazone transaction list <dataset_id>
datazone transaction show <transaction_id>
datazone transaction daily-activity <dataset_id>
datazone favorite list
datazone favorite add <entity_id> --type <ENTITY_TYPE>
datazone favorite remove <entity_id>

# Users, Roles & Policies
datazone user list|show|create|delete
datazone user me
datazone user invite <email> [--role-id <role_id>]
datazone user permissions
datazone role list|show|create|delete
datazone role assign-user <role_id> <user_id>
datazone role assign-policy <role_id> <policy_id>
datazone role assigned-users|assigned-policies <role_id>
datazone policy list|show|create|update|delete
datazone policy assigned-roles <policy_id>

# Organisation & Keys
datazone organisation current
datazone organisation list
datazone organisation settings [<organisation_id>]
datazone organisation usage [<organisation_id>] [--detail]
datazone organisation audit-logs [--from-date <date>] [--to-date <date>]
datazone organisation subscription-status
datazone organisation quota list|create|update|delete
datazone api-key list|create|delete
datazone access-key list|create|delete
datazone access-key validate <access_key_id> <secret_key_id>

# System
datazone system health
datazone system version
datazone system settings

# Common
datazone version
datazone info

Download files

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

Source Distribution

datazone-1.0.1.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

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

datazone-1.0.1-py3-none-any.whl (110.1 kB view details)

Uploaded Python 3

File details

Details for the file datazone-1.0.1.tar.gz.

File metadata

  • Download URL: datazone-1.0.1.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for datazone-1.0.1.tar.gz
Algorithm Hash digest
SHA256 09605548691514dbb92f8ec93fb4bbbc839fd264572176c965e4fcbbba2a6b36
MD5 d9ce22df54ba218eb35a87890dc62189
BLAKE2b-256 2ac97c2bc3f918a65d1ce55443e503cdf8568cfdd108b626c7ab3c33de524b08

See more details on using hashes here.

File details

Details for the file datazone-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: datazone-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 110.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for datazone-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6aaee13cefc3414f11a27e2d5035d55603bc529c2f5126130c3e211601daf6f1
MD5 fad2f7462280a83745ec5b2b260eb062
BLAKE2b-256 bc025ec672c0d259cc8a1e0988d63343504749b31fd6dc07a92bbbf415c0aac2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page