Command Line Interface for Zegami
Project description
# zegami-cli
A Command Line Interface for [Zegami](https://www.zegami.com).
Zegami is a visual data exploration tool that makes the analysis of large collections of image rich information quick and simple.
# Installation
```
pip install zeg
```
# Commands
## Get a collection
Get the details of a collection
```
zeg get collections [collection id] --project [Project Id] --token [API token]
```
## Update a collection
Update a collection - *coming soon*.
```
zeg update collections [collection id] --project [Project Id] --token [API token]
```
## Delete a collection
Delete a collection
```
zeg update collections [collection id] --project [Project Id] --token [API token]
```
## Get a data set
Get a data set
```
zeg get dataset [dataset id] --project [Project Id] --token [API token]
```
## Update a data set
Update an existing data set with new data.
```
zeg update dataset [dataset id] --project [Project Id] --config [path to configuration yaml] --token [API token]
```
The config `yaml` file is used to specify additional configuration for the data set update. It can be set up to either specify the fully qualified path to a `.csv.`, `.tsv` or `.xlsx` file to upload using the `path` property *or* the `directory` property can be used to upload the latest file in a directory location.
```
# The type of data set. This needs to be set to 'file'
dataset_type: file
# Config for the file data set type
file_config:
# Path to the dataset file
path:
# Or path to a directory that contains data files.
# Only the latest file that matches the accepted extensions (.csv, .tsv, .xlsx)
# will be uploaded. This is useful for creating collections based on
# automated exports from a system, like log files.
directory:
```
## Delete a data set
Delete a data set - *coming soon*.
```
zeg delete dataset [dataset id] --project [Project Id] --token [API token]
```
## Get an image set
Get an image set - *coming soon*.
```
zeg get imageset [dataset id] --project [Project Id] --token [API token]
```
## Update an image set
Update an image set - *coming soon*.
```
zeg update imageset [dataset id] --project [Project Id] --token [API token]
```
## Delete an image set
Delete an image set - *coming soon*.
```
zeg delete imageset [dataset id] --project [Project Id] --token [API token]
```
A Command Line Interface for [Zegami](https://www.zegami.com).
Zegami is a visual data exploration tool that makes the analysis of large collections of image rich information quick and simple.
# Installation
```
pip install zeg
```
# Commands
## Get a collection
Get the details of a collection
```
zeg get collections [collection id] --project [Project Id] --token [API token]
```
## Update a collection
Update a collection - *coming soon*.
```
zeg update collections [collection id] --project [Project Id] --token [API token]
```
## Delete a collection
Delete a collection
```
zeg update collections [collection id] --project [Project Id] --token [API token]
```
## Get a data set
Get a data set
```
zeg get dataset [dataset id] --project [Project Id] --token [API token]
```
## Update a data set
Update an existing data set with new data.
```
zeg update dataset [dataset id] --project [Project Id] --config [path to configuration yaml] --token [API token]
```
The config `yaml` file is used to specify additional configuration for the data set update. It can be set up to either specify the fully qualified path to a `.csv.`, `.tsv` or `.xlsx` file to upload using the `path` property *or* the `directory` property can be used to upload the latest file in a directory location.
```
# The type of data set. This needs to be set to 'file'
dataset_type: file
# Config for the file data set type
file_config:
# Path to the dataset file
path:
# Or path to a directory that contains data files.
# Only the latest file that matches the accepted extensions (.csv, .tsv, .xlsx)
# will be uploaded. This is useful for creating collections based on
# automated exports from a system, like log files.
directory:
```
## Delete a data set
Delete a data set - *coming soon*.
```
zeg delete dataset [dataset id] --project [Project Id] --token [API token]
```
## Get an image set
Get an image set - *coming soon*.
```
zeg get imageset [dataset id] --project [Project Id] --token [API token]
```
## Update an image set
Update an image set - *coming soon*.
```
zeg update imageset [dataset id] --project [Project Id] --token [API token]
```
## Delete an image set
Delete an image set - *coming soon*.
```
zeg delete imageset [dataset id] --project [Project Id] --token [API token]
```
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
zegami-cli-0.1.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for zegami_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d5523f59de87c7c859258249776230131ac3df63edcd4bdc231ebffb928c2a |
|
MD5 | 467c59bfc621cbe2f020145753304832 |
|
BLAKE2b-256 | fdfe9cf57be9437eb4e952dde6a577afe54940cc32c6221fb8dc9d8a0d383639 |