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>
Email: <EMAIL>
Password: <PASSWORD>
Repeat for confirmation: <PASSWORD_CONFIRM>
Then you can run following command to log in. (At the first profile creation, it will log in automatically)
datazone auth login
It will keep your tokens until refresh token expired. (Default 30min). Then you can re-run and login again.
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 login
# 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> [<branch_name>] [<size>] [<transaction_id>]
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
# Common
datazone version
datazone info
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
Built Distribution
File details
Details for the file datazone-0.0.11.tar.gz
.
File metadata
- Download URL: datazone-0.0.11.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407d72df2f601b75e6d1d9bce9819d64810d5122970f7a1f7b5ab7d4130c13c2 |
|
MD5 | a03da60bac6a448580a83212753b8f51 |
|
BLAKE2b-256 | 2d6fb129dcb6c31913b4e273668b27a6739c6ddaad55b666ee88a0885137fa01 |
File details
Details for the file datazone-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: datazone-0.0.11-py3-none-any.whl
- Upload date:
- Size: 47.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047ec94857de1d599199b5c77a725352a727d65e2f2b5210d3699bd0778d43e4 |
|
MD5 | 644a2ce4a27295b13b6e1003af0e4c4a |
|
BLAKE2b-256 | e96db0353554d76c222b5e81f83a54fba2958539a051aa3487702307c52105a2 |