You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roman Donchenko 3d9c5add94
SDK: fix string field serialization for multipart/form-data requests (#5479)
Django REST Framework ignores the Content-Type on request body parts, so
it doesn't know that they are JSON-encoded. Instead, it just tries to
decode each part as if it was an `str()`-encoded value.

Change the encoding to match the decoding. The only type this matters
for is `str`, because `json.dumps` and `str` produce different encodings
for `str` values.

Remove `none_type` from the list of encodable types since, to my
knowledge, there's no way to encode a `None` value as a
`multipart/form-data` part in a way that DRF will understand.
3 years ago
..
openapi-generator SDK: fix string field serialization for multipart/form-data requests (#5479) 3 years ago
requirements SDK: make the dataset cache directory customizable (#5535) 3 years ago
MANIFEST.in Align server api, sdk and cli versions to 2.1.0 (#4913) 3 years ago
README.md.template Extend SDK layer 1 docs (#5011) 3 years ago
_debug_model_template.yml Add CVAT SDK package (#7) 4 years ago
version.py.template Add CVAT SDK package (#7) 4 years ago

README.md.template

# SDK for [Computer Vision Annotation Tool (CVAT)](https://github.com/cvat-ai/cvat)

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 2 layers:
- Server API wrappers (`ApiClient`). Located in at `cvat_sdk.api_client`
- High-level tools (`Core`). Located at `cvat_sdk.core`

Package documentation is available [here](https://opencv.github.io/cvat/docs/api_sdk/sdk).

## Installation & Usage

To install a prebuilt package, run the following command in the terminal:

```bash
pip install cvat-sdk
```

To install from the local directory, follow [the developer guide](https://opencv.github.io/cvat/docs/api_sdk/sdk/developer_guide).

After installation you can import the package:

```python
import cvat_sdk
```