This package provides a Python client library for CVAT server. It can be useful for workflow automation and writing custom CVAT server clients.
The SDK API includes several layers:
- Server API wrappers (
ApiClient
). Located in atcvat_sdk.api_client
. - High-level tools (
Core
). Located atcvat_sdk.core
. - PyTorch adapter. Located at
cvat_sdk.pytorch
.
- Auto-annotation support. Located at
cvat_sdk.auto_annotation
.
Package documentation is available here.
To install a prebuilt package, run the following command in the terminal:
pip install cvat-sdk
To use the PyTorch adapter, request the pytorch
extra:
pip install "cvat-sdk[pytorch]"
To install from the local directory, follow the developer guide.
After installation you can import the package:
import cvat_sdk