YoloDatasetCustomizer 0.3.0__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/.gitattributes +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/.github/workflows/ci.yml +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/.gitignore +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/.python-version +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/LICENSE +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/PKG-INFO +17 -10
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/README.md +17 -11
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/pyproject.toml +59 -58
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/resources/Improvements.txt +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/src/YoloDatasetCustomizer/__init__.py +1 -1
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/src/YoloDatasetCustomizer/customizer.py +235 -174
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/src/YoloDatasetCustomizer/labels.py +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/src/YoloDatasetCustomizer/paths.py +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/src/YoloDatasetCustomizer/reader.py +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/src/YoloDatasetCustomizer/writer.py +0 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/test/YoloDatasetCustomizer_test.py +43 -0
- {yolodatasetcustomizer-0.3.0 → yolodatasetcustomizer-0.4.1}/uv.lock +1117 -1113
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: YoloDatasetCustomizer
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Load one or multiple datasets. Reduce, mix or merge into a custom dataset.
|
|
5
5
|
Project-URL: Homepage, https://github.com/mLuca/YoloDatasetCustomizer
|
|
6
6
|
Project-URL: Repository, https://github.com/mLuca/YoloDatasetCustomizer
|
|
@@ -23,6 +23,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
23
23
|
Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
|
24
24
|
Requires-Python: >=3.10
|
|
25
25
|
Requires-Dist: pyyaml>=6.0.3
|
|
26
|
+
Requires-Dist: rich>=13.0.0
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
|
|
28
29
|
# Intro
|
|
@@ -42,15 +43,21 @@ If a path ends on _data.yaml_ it will take that file into account.
|
|
|
42
43
|
If a path doesn't end on _/data.yaml_ it will recursevly look for all _data.yaml_ files from that directory downards.
|
|
43
44
|
e.g.
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
```python
|
|
47
|
+
from YoloDatasetCustomizer import YoloDatasetCustomizer
|
|
46
48
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
ydc = YoloDatasetCustomizer(list_to_existing_datasets)
|
|
50
|
+
ydc.add_data_sets([one_more_existing_dataset])
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
if ydc.create_new_dataset_for_class_names(
|
|
53
|
+
class_names=<set_of_wanted_class_names>,
|
|
54
|
+
dst_path=<optional_custom_path>,
|
|
55
|
+
data_set_name=<optional_custom_name>,
|
|
56
|
+
):
|
|
57
|
+
print("All good")
|
|
58
|
+
else:
|
|
59
|
+
print("Oh no.")
|
|
60
|
+
```
|
|
54
61
|
|
|
55
62
|
# Run tests
|
|
56
63
|
|
|
@@ -65,11 +72,11 @@ The project uses uv. Install dependencies and run tests with:
|
|
|
65
72
|
|
|
66
73
|
# Build project
|
|
67
74
|
|
|
68
|
-
Build the package
|
|
75
|
+
Build the package:
|
|
69
76
|
|
|
70
77
|
uv build
|
|
71
78
|
|
|
72
|
-
Publish to PyPI (still need twine)
|
|
79
|
+
Publish to PyPI (still need twine):
|
|
73
80
|
|
|
74
81
|
uv pip install twine
|
|
75
82
|
uv run twine upload dist/\*
|
|
@@ -15,15 +15,21 @@ If a path ends on _data.yaml_ it will take that file into account.
|
|
|
15
15
|
If a path doesn't end on _/data.yaml_ it will recursevly look for all _data.yaml_ files from that directory downards.
|
|
16
16
|
e.g.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
```python
|
|
19
|
+
from YoloDatasetCustomizer import YoloDatasetCustomizer
|
|
20
|
+
|
|
21
|
+
ydc = YoloDatasetCustomizer(list_to_existing_datasets)
|
|
22
|
+
ydc.add_data_sets([one_more_existing_dataset])
|
|
23
|
+
|
|
24
|
+
if ydc.create_new_dataset_for_class_names(
|
|
25
|
+
class_names=<set_of_wanted_class_names>,
|
|
26
|
+
dst_path=<optional_custom_path>,
|
|
27
|
+
data_set_name=<optional_custom_name>,
|
|
28
|
+
):
|
|
29
|
+
print("All good")
|
|
30
|
+
else:
|
|
31
|
+
print("Oh no.")
|
|
32
|
+
```
|
|
27
33
|
|
|
28
34
|
# Run tests
|
|
29
35
|
|
|
@@ -38,11 +44,11 @@ The project uses uv. Install dependencies and run tests with:
|
|
|
38
44
|
|
|
39
45
|
# Build project
|
|
40
46
|
|
|
41
|
-
Build the package
|
|
47
|
+
Build the package:
|
|
42
48
|
|
|
43
49
|
uv build
|
|
44
50
|
|
|
45
|
-
Publish to PyPI (still need twine)
|
|
51
|
+
Publish to PyPI (still need twine):
|
|
46
52
|
|
|
47
53
|
uv pip install twine
|
|
48
54
|
uv run twine upload dist/\*
|
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["hatchling"]
|
|
3
|
-
build-backend = "hatchling.build"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "YoloDatasetCustomizer"
|
|
7
|
-
version = "0.
|
|
8
|
-
description = "Load one or multiple datasets. Reduce, mix or merge into a custom dataset."
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.10"
|
|
11
|
-
license = {text = "GPL-3.0-only"}
|
|
12
|
-
authors = [
|
|
13
|
-
{name = "Luca Mazzon", email = "mazzon.luca@gmail.com"},
|
|
14
|
-
]
|
|
15
|
-
keywords = ["ultralytics", "yolo", "dataset", "machine-learning", "computer-vision", "customization"]
|
|
16
|
-
classifiers = [
|
|
17
|
-
"Development Status :: 5 - Production/Stable",
|
|
18
|
-
"Intended Audience :: Developers",
|
|
19
|
-
"Intended Audience :: Science/Research",
|
|
20
|
-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
21
|
-
"Programming Language :: Python :: 3",
|
|
22
|
-
"Programming Language :: Python :: 3.10",
|
|
23
|
-
"Programming Language :: Python :: 3.11",
|
|
24
|
-
"Programming Language :: Python :: 3.12",
|
|
25
|
-
"Programming Language :: Python :: 3.13",
|
|
26
|
-
"Programming Language :: Python :: 3.14",
|
|
27
|
-
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
28
|
-
"Topic :: Scientific/Engineering :: Image Recognition",
|
|
29
|
-
]
|
|
30
|
-
|
|
31
|
-
dependencies = [
|
|
32
|
-
"pyyaml>=6.0.3",
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "YoloDatasetCustomizer"
|
|
7
|
+
version = "0.4.1"
|
|
8
|
+
description = "Load one or multiple datasets. Reduce, mix or merge into a custom dataset."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = {text = "GPL-3.0-only"}
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Luca Mazzon", email = "mazzon.luca@gmail.com"},
|
|
14
|
+
]
|
|
15
|
+
keywords = ["ultralytics", "yolo", "dataset", "machine-learning", "computer-vision", "customization"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 5 - Production/Stable",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Intended Audience :: Science/Research",
|
|
20
|
+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Programming Language :: Python :: 3.13",
|
|
26
|
+
"Programming Language :: Python :: 3.14",
|
|
27
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
28
|
+
"Topic :: Scientific/Engineering :: Image Recognition",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
dependencies = [
|
|
32
|
+
"pyyaml>=6.0.3",
|
|
33
|
+
"rich>=13.0.0",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
Homepage = "https://github.com/mLuca/YoloDatasetCustomizer"
|
|
38
|
+
Repository = "https://github.com/mLuca/YoloDatasetCustomizer"
|
|
39
|
+
"Issue Tracker" = "https://github.com/mLuca/YoloDatasetCustomizer/issues"
|
|
40
|
+
|
|
41
|
+
[dependency-groups]
|
|
42
|
+
dev = [
|
|
43
|
+
"pytest>=9.1.1",
|
|
44
|
+
"twine>=6.2.0",
|
|
45
|
+
"ruff>=0.14.0",
|
|
46
|
+
"mypy>=1.18.0",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
[tool.ruff]
|
|
50
|
+
line-length = 120
|
|
51
|
+
|
|
52
|
+
[tool.ruff.lint]
|
|
53
|
+
select = ["E", "F", "W", "I"]
|
|
54
|
+
ignore = ["E501"]
|
|
55
|
+
|
|
56
|
+
[tool.mypy]
|
|
57
|
+
python_version = "3.10"
|
|
58
|
+
files = ["src"]
|
|
59
|
+
ignore_missing_imports = true
|
|
File without changes
|