Skip to main content

Intro

This tool is meant to help create a custom dataset by picking and choosing class names from pre-existing datasets.

Limitations

  • The dataset YAML file is expected to be called data.yaml
  • The 'path' variable in data.yaml is not processed. It is assumed that the dataset root path is the directory where data.yaml resides and all data is present already.
  • The script variable in data.yaml is not processed. Make sure all data is present.

Usage

If a path ends on data.yaml it will take that file into account. If a path doesn't end on /data.yaml it will recursevly look for all data.yaml files from that directory downards. e.g.

from YoloDatasetCustomizer import YoloDatasetCustomizer

ydc = YoloDatasetCustomizer(list_to_existing_datasets)
ydc.add_data_sets([one_more_existing_dataset])

if ydc.create_new_dataset_for_class_names(
    class_names=<set_of_wanted_class_names>,
    dst_path=<optional_custom_path>,
    data_set_name=<optional_custom_name>,
):
    print("All good")
else:
    print("Oh no.")

Run tests

The project uses uv. Install dependencies and run tests with:

uv run pytest

Lint & type-check

uv run ruff check src test
uv run mypy

Build project

Build the package:

uv build

Publish to PyPI (still need twine):

uv pip install twine
uv run twine upload dist/\*

Metadata

Release files for YoloDatasetCustomizer 0.5.0

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

Source distribution (sdist)

Source distribution for YoloDatasetCustomizer 0.5.0
File Size Uploaded Provenance Actions
yolodatasetcustomizer-0.5.0.tar.gz 90.6 kB Without provenance Details for yolodatasetcustomizer-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for YoloDatasetCustomizer 0.5.0
File Interpreter ABI Platform Actions
yolodatasetcustomizer-0.5.0-py3-none-any.whl Python 3 none any Details for yolodatasetcustomizer-0.5.0-py3-none-any.whl

Total release size: 102.1 kB

Release files / yolodatasetcustomizer-0.5.0.tar.gz

Download URL yolodatasetcustomizer-0.5.0.tar.gz
Size 90.6 kB
Tags Source
SHA-256 checksum
How to use checksums
703cd26386d4606cdcb09679f9639fddc0c69e0ac6ccbe3bd46c5835a2bdb89b
BLAKE2b-256 checksum
How to use checksums
740bb0494762e893ba0dbecbdc8d4883b5f104867ac9e4907dee02375da72aab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / yolodatasetcustomizer-0.5.0-py3-none-any.whl

Download URL yolodatasetcustomizer-0.5.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e116f836d9db5679ae04e78a59cf0b39dec1236e6b6e4ba0e5093c099a69d396
BLAKE2b-256 checksum
How to use checksums
3cc8c896bcc0769c8d22fcf3c4618410b904ce0f6fc45e6ff1d92999e831668e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for YoloDatasetCustomizer 0.5.0

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