Skip to main content

cvat_sdk_i_digit

Пакет для взаимодействия с Cvat-sdk

Пример использования

from cvat_sdk_i_digit.cvat_api import Cvat, Settings
from cvat_sdk_i_digit.config import project_spec

cvat = Cvat(settings=Settings(host="localhost",
                              port=8080,
                              org_slug="organization_name",
                              username="admin",
                              password="admin"))

print(cvat.get_all_project())

# Ответ:
# [<Project: id=14>, <Project: id=3>]

project = cvat.create_project(project_spec)
print(project)
# Ответ:
# {'assignee': None,
#  'bug_tracker': '',
#  'created_date': datetime.datetime(2024, 5, 21, 5, 59, 25, 255094, tzinfo=tzutc()),
#  'dimension': '2d',
#  'guide_id': None,
#  'id': 14,
#  'labels': {'url': 'http://localhost:8080/api/labels?project_id=14'},
#  'name': 'example projects',
#  'organization': None,
#  'owner': {'first_name': '',
#            'id': 3,
#            'last_name': '',
#            'url': 'http://localhost:8080/api/users/3',
#            'username': 'dima'},
#  'source_storage': None,
#  'status': 'annotation',
#  'target_storage': None,
#  'task_subsets': [],
#  'tasks': {'count': 8, 'url': 'http://localhost:8080/api/tasks?project_id=14'},
#  'updated_date': datetime.datetime(2024, 5, 21, 10, 1, 16, 589005, tzinfo=tzutc()),
#  'url': 'http://localhost:8080/api/projects/14'}

print(cvat.get_task(14))
cvat.dowload_dataset(task.id, Path("/temp/dataset.zip"))

Функционал

  • get_all_project
  • get_all_tasks
  • get_all_task_from_project
  • get_project
  • get_task
  • create_project
  • create_tasks
  • dowload_dataset

Metadata

Release files for cvat-sdk-i-digit 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cvat-sdk-i-digit 0.0.9
File Size Uploaded Provenance Actions
cvat_sdk_i_digit-0.0.9.tar.gz 3.9 kB Without provenance Details for cvat_sdk_i_digit-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cvat-sdk-i-digit 0.0.9
File Interpreter ABI Platform Actions
cvat_sdk_i_digit-0.0.9-py3-none-any.whl Python 3 none any Details for cvat_sdk_i_digit-0.0.9-py3-none-any.whl

Total release size: 8.9 kB

Release files / cvat_sdk_i_digit-0.0.9.tar.gz

Download URL cvat_sdk_i_digit-0.0.9.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7cd0517d983780fe39af4d32269a8d3a159b9ea87ece42dc15702fca1784dcf9
BLAKE2b-256 checksum
How to use checksums
2219f86ab11fb560a818c769c8094c1b96e7b296568179c5e7c6682d953ade60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / cvat_sdk_i_digit-0.0.9-py3-none-any.whl

Download URL cvat_sdk_i_digit-0.0.9-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae7d5da09ce70a9df3f21b1f3bfe2a5023cf41125aebd8706cc47dbc1e0903bb
BLAKE2b-256 checksum
How to use checksums
54dc7fdde0bb9c9627383f28ed7c0a315fe30990341fff4d6a81ff5e616afe66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for cvat-sdk-i-digit 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page