Skip to main content

Datazone Client Package

Project description

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>

# Common
datazone version
datazone info

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

datazone-0.0.19.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

datazone-0.0.19-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datazone-0.0.19.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.10.19 Linux/6.11.0-1018-azure

File hashes

Hashes for datazone-0.0.19.tar.gz
Algorithm Hash digest
SHA256 501a48dc4cb2f362a9c0a07d19bb711dcbb6882d90748184c06a386f29daeb81
MD5 05c15ce39b8d87b261522609df15afb1
BLAKE2b-256 7bd6079655da80fa631e5577c3f3088973abf83e38f225af2e61f72f92ae785c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datazone-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.10.19 Linux/6.11.0-1018-azure

File hashes

Hashes for datazone-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 7db5dba1936656fc716f6c0018df3fce4cf9dcbeee7e4319db5ca47f02b732fc
MD5 c7e25264cc91159af26c0b364910a0d2
BLAKE2b-256 df0d92adc4dfab060aadbee50486f885e19a48fec4d76c7ff8f30e44111091ba

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