Command-line client for CVAT
Project description
Command-line client for CVAT
A simple command line interface for working with CVAT. At the moment it implements a basic feature set but may serve as the starting point for a more comprehensive CVAT administration tool in the future.
The following subcommands are supported:
-
Projects:
create
- create a new projectdelete
- delete projectsls
- list all projects
-
Tasks:
create
- create a new taskcreate-from-backup
- create a task from a backup filedelete
- delete tasksls
- list all tasksframes
- download frames from a taskexport-dataset
- export a task as a datasetimport-dataset
- import annotations into a task from a datasetbackup
- back up a taskauto-annotate
- automatically annotate a task using a local function
-
Functions (Enterprise/Cloud only):
create-native
- create a function that can be powered by an agentdelete
- delete a functionrun-agent
- process requests for a native function
Installation
pip install cvat-cli
Usage
The general form of a CLI command is:
$ cvat-cli <common options> <resource> <action> <options>
where:
<common options>
are options shared between all subcommands;<resource>
is a CVAT resource, such astask
;<action>
is the action to do with the resource, such ascreate
;<options>
is any options specific to a particular resource and action.
You can list available subcommands and options using the --help
option:
$ cvat-cli --help # get help on available common options and resources
$ cvat-cli <resource> --help # get help on actions for the given resource
$ cvat-cli <resource> <action> --help # get help on action-specific options
Examples
Create a task with local images:
cvat-cli --auth user task create
--labels '[{"name": "car"}, {"name": "person"}]'
"test_task"
"local"
"image1.jpg" "image2.jpg"
List tasks on a custom server with auth:
cvat-cli --auth admin:password \
--server-host cvat.my.server.com --server-port 30123 \
task ls
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 cvat_cli-2.31.0.tar.gz
.
File metadata
- Download URL: cvat_cli-2.31.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1a43bd2f07e743034cb524528a5f9b5dd40956c527bea38c8b7346a855ca993 |
|
MD5 | fe689317b907610cc3cb5b8d04282392 |
|
BLAKE2b-256 | f85142cfad13d6bfc46850374228f98e16d91daa1f13574cb50735498bc63fe0 |
Provenance
The following attestation bundles were made for cvat_cli-2.31.0.tar.gz
:
Publisher:
publish-artifacts.yml
on cvat-ai/cvat
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cvat_cli-2.31.0.tar.gz
- Subject digest:
f1a43bd2f07e743034cb524528a5f9b5dd40956c527bea38c8b7346a855ca993
- Sigstore transparency entry: 176420658
- Sigstore integration time:
- Permalink:
cvat-ai/cvat@140301a0c4468ee9a8f93fb2ca3983d51deee507
- Branch / Tag:
refs/tags/v2.31.0
- Owner: https://github.com/cvat-ai
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish-artifacts.yml@140301a0c4468ee9a8f93fb2ca3983d51deee507
- Trigger Event:
release
- Statement type:
File details
Details for the file cvat_cli-2.31.0-py3-none-any.whl
.
File metadata
- Download URL: cvat_cli-2.31.0-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e8a5ff6ce87fcf8b3cbdc371f19dd151dde781a727602c55b03b2b500931162 |
|
MD5 | 50d640ce9e8203c1b7e1fe91f73f15a5 |
|
BLAKE2b-256 | bdf8e80aca6b794f42997738da39b9fc5f5d46e95cf616af9d9f63cc0086809d |
Provenance
The following attestation bundles were made for cvat_cli-2.31.0-py3-none-any.whl
:
Publisher:
publish-artifacts.yml
on cvat-ai/cvat
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cvat_cli-2.31.0-py3-none-any.whl
- Subject digest:
5e8a5ff6ce87fcf8b3cbdc371f19dd151dde781a727602c55b03b2b500931162
- Sigstore transparency entry: 176420662
- Sigstore integration time:
- Permalink:
cvat-ai/cvat@140301a0c4468ee9a8f93fb2ca3983d51deee507
- Branch / Tag:
refs/tags/v2.31.0
- Owner: https://github.com/cvat-ai
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish-artifacts.yml@140301a0c4468ee9a8f93fb2ca3983d51deee507
- Trigger Event:
release
- Statement type: