Skip to main content

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

  1. Create your account Sign up in the Cortal Insight dashboard

  2. Request your API key for the service

  3. Set your API key

cortalinsight setup "YOUR_API_KEY_HERE"

Usage

  1. Creating a dataset
cortalinsight create_dataset <dataset_name>
  1. List all datasets
cortalinsight list_datasets
  1. Get dataset by id
cortalinsight get_dataset <dataset_id>
  1. Delete dataset by id
cortalinsight delete_dataset <dataset_id>
  1. Upload images from directory to dataset
cortalinsight upload_images_from_dir <dataset_id>  <directory_containing_images>
  1. Upload zip of images to dataset
cortalinsight upload_zip <dataset_id>  <zip_containing_images>
  1. Upload metadata to dataset
cortalinsight upload_metadata <dataset_id>  <file_containing_metadata>
  1. Update metadata to dataset
cortalinsight update_metadata <dataset_id>  <file_containing_metadata>
  1. 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


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)

Uploaded Source

Built Distribution

cortalinsight-0.1.1-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page