# 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>
```
2. List all datasets
```
cortalinsight list_datasets
```
3. Get dataset by id
```
cortalinsight get_dataset <dataset_id>
```
4. Delete dataset by id
```
cortalinsight delete_dataset <dataset_id>
```
5. Upload images from directory to dataset
```
cortalinsight upload_images_from_dir <dataset_id> <directory_containing_images>
```
6. Upload zip of images to dataset
```
cortalinsight upload_zip <dataset_id> <zip_containing_images>
```
7. Upload metadata to dataset
```
cortalinsight upload_metadata <dataset_id> <file_containing_metadata>
```
8. Update metadata to dataset
```
cortalinsight update_metadata <dataset_id> <file_containing_metadata>
```
9. Validate metadata to dataset
```
cortalinsight validate_metadata <dfile_containing_metadata>
```
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "http://cortalinsight.com",
"name": "cortalinsight",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cortal insight cli api",
"author": "Preetham",
"author_email": "developer@cortalinsight.com",
"download_url": "https://files.pythonhosted.org/packages/95/03/065d3aa2ff3c868328058bf927ccdc206871151e0b34a34cbb0a1e53d670/cortalinsight-0.1.1.tar.gz",
"platform": null,
"description": "# Cortal Insight CLI Tool\n\nThe 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.\n\n\n## Setup\n\n## Documentation\nDashboard documentation\nDocs / API \n\n## Installation \n```\npip install cortalinsight\n```\n\nor \n\n```\ngit clone https://github.com/cortal-insight/cortal-insight-python-client\n\ncd path/to/cortal-insight-python-client\n\npip install .\n```\n## Get started\n\n1. Create your account\nSign up in the Cortal Insight dashboard\n\n2. Request your API key for the service\n\n3. Set your API key \n```\ncortalinsight setup \"YOUR_API_KEY_HERE\"\n```\n\n## Usage\n\n1. Creating a dataset\n\n```\ncortalinsight create_dataset <dataset_name>\n```\n\n2. List all datasets\n```\ncortalinsight list_datasets\n```\n\n3. Get dataset by id\n```\ncortalinsight get_dataset <dataset_id>\n```\n\n4. Delete dataset by id\n```\ncortalinsight delete_dataset <dataset_id>\n```\n\n5. Upload images from directory to dataset\n```\ncortalinsight upload_images_from_dir <dataset_id> <directory_containing_images>\n```\n\n6. Upload zip of images to dataset\n```\ncortalinsight upload_zip <dataset_id> <zip_containing_images>\n```\n \n7. Upload metadata to dataset\n```\ncortalinsight upload_metadata <dataset_id> <file_containing_metadata>\n```\n \n8. Update metadata to dataset\n```\ncortalinsight update_metadata <dataset_id> <file_containing_metadata>\n```\n \n9. Validate metadata to dataset\n```\ncortalinsight validate_metadata <dfile_containing_metadata>\n```\n\n\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "A command line tool to interact with Cortal Insight API",
"version": "0.1.1",
"project_urls": {
"Homepage": "http://cortalinsight.com",
"Source Code": "https://github.com/cortal-insight/cortal-insight-python-client"
},
"split_keywords": [
"cortal",
"insight",
"cli",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2f9a4882c846c5ec2eb6f5d63720b4dfee4cf9bc71535a23720090b7f5f91f10",
"md5": "14063da2e4328608b72ee891d2a11fa8",
"sha256": "acdd32c5a571b89006200223d4733ab54409042a2d659774ef64da0a1a27622c"
},
"downloads": -1,
"filename": "cortalinsight-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "14063da2e4328608b72ee891d2a11fa8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9156,
"upload_time": "2024-03-24T03:08:37",
"upload_time_iso_8601": "2024-03-24T03:08:37.293301Z",
"url": "https://files.pythonhosted.org/packages/2f/9a/4882c846c5ec2eb6f5d63720b4dfee4cf9bc71535a23720090b7f5f91f10/cortalinsight-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9503065d3aa2ff3c868328058bf927ccdc206871151e0b34a34cbb0a1e53d670",
"md5": "692166d5144290f9b6953adbc1510f2f",
"sha256": "4403837bba210ce2b999fb539854eb76457786497fe6ff6b24de423546e8ef54"
},
"downloads": -1,
"filename": "cortalinsight-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "692166d5144290f9b6953adbc1510f2f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8836,
"upload_time": "2024-03-24T03:08:39",
"upload_time_iso_8601": "2024-03-24T03:08:39.206419Z",
"url": "https://files.pythonhosted.org/packages/95/03/065d3aa2ff3c868328058bf927ccdc206871151e0b34a34cbb0a1e53d670/cortalinsight-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-24 03:08:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cortal-insight",
"github_project": "cortal-insight-python-client",
"github_not_found": true,
"lcname": "cortalinsight"
}