Skip to main content

DagsHub Annotation Converter

This package is intended to be a multi-type importer/exporter/converter between different annotation formats.

This package is currently in development and has not that many features implemented. The API is not stable and is subject to change.

The package consists of the Intermediary Representation (IR) annotation format in Python Objects, and importers/exporters for different annotation formats.

Installation

pip install dagshub-annotation-converter

Importers (Images and Video):

from dagshub_annotation_converter.formats.label_studio.task import LabelStudioTask
task_obj = LabelStudioTask.from_json("path/to/label_studio_task.json")

annotations = task_obj.to_ir_annotations()

Exporters (Images and Video):

Experimental Features:

The package contains some experimental features that can be toggled on by setting a corresponding environment variable:

  • DAGSHUB_ANNOTATION_EXPERIMENTAL_CVAT_POSE_GROUPING_BY_GROUP_ID_ENABLED - When importing CVAT annotations, you can put a single bbox and either a points or skeletons annotation in a group, and then they will be grouped together into a pose annotation. When exporting that to YOLO, the bbox and the points will be exported as a single annotation.

You can read more about the features that exist, their limitations and potential side effects in the features.py file

Release files for dagshub-annotation-converter 0.2.2

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

Source distribution (sdist)

Source distribution for dagshub-annotation-converter 0.2.2
File Size Uploaded
dagshub_annotation_converter-0.2.2.tar.gz 76.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dagshub-annotation-converter 0.2.2
File Interpreter ABI Platform
dagshub_annotation_converter-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 144.6 kB

Release files / dagshub_annotation_converter-0.2.2.tar.gz

Download URL dagshub_annotation_converter-0.2.2.tar.gz
Size 76.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8d34a3634e4ff68de2785bcfa602218e82a31bee558b3f832e9d30f1deeaada3
BLAKE2b-256 checksum
How to use checksums
378553381ce4ec47d55ff698dd6c494b60f598b19f9e6c6eeae8b187913e341a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 27, 2026.

Transparency log

Release files / dagshub_annotation_converter-0.2.2-py3-none-any.whl

Download URL dagshub_annotation_converter-0.2.2-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7940f6e0702372dd0aa2beb0bdd942845c4172ece09805ad12c0d843915c526f
BLAKE2b-256 checksum
How to use checksums
57fefb6c80a6dcce26bddbcd5346841bd8c03275e65d3a4d514b35b0b5541c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

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