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.4.1

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.4.1
File Size Uploaded Provenance Actions
yolodatasetcustomizer-0.4.1.tar.gz 89.2 kB Without provenance Details for yolodatasetcustomizer-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 99.6 kB

Release files / yolodatasetcustomizer-0.4.1.tar.gz

Download URL yolodatasetcustomizer-0.4.1.tar.gz
Size 89.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6006e5438cd81bace59e4a27946736fd8a8445b1f7aadb2492d4e3235a5d8ef6
BLAKE2b-256 checksum
How to use checksums
a254d9b91b48edad55cf9c4d99829b546db5246e21b9c201d15027ba3ed837b9
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.4.1-py3-none-any.whl

Download URL yolodatasetcustomizer-0.4.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2f5c16c18573f53a450f326dbb32d0ae9240503c2d788adb913589cbd1fc0e5
BLAKE2b-256 checksum
How to use checksums
28bdd6afa660109e6bb965eeb975a3d9a95dd09d8011de23722496a1094f994c
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.4.1

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