A command line tool to interact with Cortal Insight API
Project description
Cortal Insight CLI Tool
The Cortal Insight CLI Tool is a command-line interface for interacting with the Cortal Insight API, allowing you to manage datasets conveniently through your terminal.
Setup
Documentation
Dashboard documentation Docs / API
Installation
pip install cortalinsight
or
git clone https://github.com/cortal-insight/cortal-insight-python-client
cd path/to/cortal-insight-python-client
pip install .
Get started
-
Create your account Sign up in the Cortal Insight dashboard
-
Request your API key for the service
-
Set your API key
cortalinsight setup "YOUR_API_KEY_HERE"
Usage
- Creating a dataset
cortalinsight create_dataset <dataset_name>
- List all datasets
cortalinsight list_datasets
- Get dataset by id
cortalinsight get_dataset <dataset_id>
- Delete dataset by id
cortalinsight delete_dataset <dataset_id>
- Upload images from directory to dataset
cortalinsight upload_images_from_dir <dataset_id> <directory_containing_images>
- Upload zip of images to dataset
cortalinsight upload_zip <dataset_id> <zip_containing_images>
- Upload metadata to dataset
cortalinsight upload_metadata <dataset_id> <file_containing_metadata>
- Update metadata to dataset
cortalinsight update_metadata <dataset_id> <file_containing_metadata>
- Validate metadata to dataset
cortalinsight validate_metadata <dfile_containing_metadata>
This project is licensed under the MIT License - see the LICENSE file for details.
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
cortalinsight-0.1.1.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for cortalinsight-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acdd32c5a571b89006200223d4733ab54409042a2d659774ef64da0a1a27622c |
|
MD5 | 14063da2e4328608b72ee891d2a11fa8 |
|
BLAKE2b-256 | 2f9a4882c846c5ec2eb6f5d63720b4dfee4cf9bc71535a23720090b7f5f91f10 |