kwdagger 0.1.0__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.
Files changed (32) hide show
  1. kwdagger-0.1.0/PKG-INFO +86 -0
  2. kwdagger-0.1.0/README.rst +35 -0
  3. kwdagger-0.1.0/kwdagger/__init__.py +1 -0
  4. kwdagger-0.1.0/kwdagger/mlops/__init__.py +6 -0
  5. kwdagger-0.1.0/kwdagger/mlops/__main__.py +35 -0
  6. kwdagger-0.1.0/kwdagger/mlops/aggregate.py +2976 -0
  7. kwdagger-0.1.0/kwdagger/mlops/aggregate_loader.py +666 -0
  8. kwdagger-0.1.0/kwdagger/mlops/aggregate_plots.py +1156 -0
  9. kwdagger-0.1.0/kwdagger/mlops/mlops_demodata.py +489 -0
  10. kwdagger-0.1.0/kwdagger/mlops/pipeline_nodes.py +2294 -0
  11. kwdagger-0.1.0/kwdagger/mlops/query_plan.py +525 -0
  12. kwdagger-0.1.0/kwdagger/mlops/schedule_evaluation.py +449 -0
  13. kwdagger-0.1.0/kwdagger/mlops/smart_global_helper.py +1008 -0
  14. kwdagger-0.1.0/kwdagger/mlops/smart_result_parser.py +602 -0
  15. kwdagger-0.1.0/kwdagger/utils/__init__.py +0 -0
  16. kwdagger-0.1.0/kwdagger/utils/result_analysis.py +1825 -0
  17. kwdagger-0.1.0/kwdagger/utils/reverse_hashid.py +147 -0
  18. kwdagger-0.1.0/kwdagger/utils/util_dotdict.py +468 -0
  19. kwdagger-0.1.0/kwdagger/utils/util_kwplot.py +1173 -0
  20. kwdagger-0.1.0/kwdagger/utils/util_nvidia.py +306 -0
  21. kwdagger-0.1.0/kwdagger/utils/util_pandas.py +1157 -0
  22. kwdagger-0.1.0/kwdagger/utils/util_param_grid.py +722 -0
  23. kwdagger-0.1.0/kwdagger/utils/util_stringalgo.py +217 -0
  24. kwdagger-0.1.0/kwdagger.egg-info/PKG-INFO +86 -0
  25. kwdagger-0.1.0/kwdagger.egg-info/SOURCES.txt +30 -0
  26. kwdagger-0.1.0/kwdagger.egg-info/dependency_links.txt +1 -0
  27. kwdagger-0.1.0/kwdagger.egg-info/requires.txt +60 -0
  28. kwdagger-0.1.0/kwdagger.egg-info/top_level.txt +1 -0
  29. kwdagger-0.1.0/pyproject.toml +35 -0
  30. kwdagger-0.1.0/setup.cfg +4 -0
  31. kwdagger-0.1.0/setup.py +247 -0
  32. kwdagger-0.1.0/tests/test_import.py +2 -0
@@ -0,0 +1,86 @@
1
+ Metadata-Version: 2.4
2
+ Name: kwdagger
3
+ Version: 0.1.0
4
+ Summary: The kwdagger module
5
+ Author: Jon Crall
6
+ Author-email: erotemic@gmail.com
7
+ License: Apache 2
8
+ Classifier: Development Status :: 1 - Planning
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
11
+ Classifier: Topic :: Utilities
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/x-rst
20
+ Provides-Extra: all
21
+ Provides-Extra: headless
22
+ Requires-Dist: opencv-python-headless>=4.10.0.84; (python_version < "4.0" and python_version >= "3.13") and extra == "headless"
23
+ Requires-Dist: opencv-python-headless>=4.5.5.64; (python_version < "3.13" and python_version >= "3.11") and extra == "headless"
24
+ Requires-Dist: opencv-python-headless>=4.5.4.58; (python_version < "3.11" and python_version >= "3.10") and extra == "headless"
25
+ Requires-Dist: opencv-python-headless>=3.4.15.55; (python_version < "3.10" and python_version >= "3.10") and extra == "headless"
26
+ Provides-Extra: graphics
27
+ Requires-Dist: opencv-python>=4.10.0.84; (python_version < "4.0" and python_version >= "3.13") and extra == "graphics"
28
+ Requires-Dist: opencv-python>=4.5.5.64; (python_version < "3.13" and python_version >= "3.11") and extra == "graphics"
29
+ Requires-Dist: opencv-python>=4.5.4.58; (python_version < "3.11" and python_version >= "3.10") and extra == "graphics"
30
+ Requires-Dist: opencv-python>=3.4.15.55; (python_version < "3.10" and python_version >= "3.10") and extra == "graphics"
31
+ Provides-Extra: all-strict
32
+ Provides-Extra: headless-strict
33
+ Requires-Dist: opencv-python-headless==4.10.0.84; (python_version < "4.0" and python_version >= "3.13") and extra == "headless-strict"
34
+ Requires-Dist: opencv-python-headless==4.5.5.64; (python_version < "3.13" and python_version >= "3.11") and extra == "headless-strict"
35
+ Requires-Dist: opencv-python-headless==4.5.4.58; (python_version < "3.11" and python_version >= "3.10") and extra == "headless-strict"
36
+ Requires-Dist: opencv-python-headless==3.4.15.55; (python_version < "3.10" and python_version >= "3.10") and extra == "headless-strict"
37
+ Provides-Extra: graphics-strict
38
+ Requires-Dist: opencv-python==4.10.0.84; (python_version < "4.0" and python_version >= "3.13") and extra == "graphics-strict"
39
+ Requires-Dist: opencv-python==4.5.5.64; (python_version < "3.13" and python_version >= "3.11") and extra == "graphics-strict"
40
+ Requires-Dist: opencv-python==4.5.4.58; (python_version < "3.11" and python_version >= "3.10") and extra == "graphics-strict"
41
+ Requires-Dist: opencv-python==3.4.15.55; (python_version < "3.10" and python_version >= "3.10") and extra == "graphics-strict"
42
+ Dynamic: author
43
+ Dynamic: author-email
44
+ Dynamic: classifier
45
+ Dynamic: description
46
+ Dynamic: description-content-type
47
+ Dynamic: license
48
+ Dynamic: provides-extra
49
+ Dynamic: requires-python
50
+ Dynamic: summary
51
+
52
+ The kwdagger Module
53
+ ===================
54
+
55
+
56
+
57
+ |Pypi| |PypiDownloads| |ReadTheDocs| |GitlabCIPipeline| |GitlabCICoverage|
58
+
59
+
60
+
61
+ +-----------------+-------------------------------------------+
62
+ | Read the Docs | http://kwdagger.readthedocs.io/en/latest/ |
63
+ +-----------------+-------------------------------------------+
64
+ | Gitlab (main) | |
65
+ +-----------------+-------------------------------------------+
66
+ | Github (mirror) | https://github.com/Kitware/kwdagger |
67
+ +-----------------+-------------------------------------------+
68
+ | Pypi | https://pypi.org/project/kwdagger |
69
+ +-----------------+-------------------------------------------+
70
+
71
+
72
+
73
+ .. |Pypi| image:: https://img.shields.io/pypi/v/kwdagger.svg
74
+ :target: https://pypi.python.org/pypi/kwdagger
75
+
76
+ .. |PypiDownloads| image:: https://img.shields.io/pypi/dm/kwdagger.svg
77
+ :target: https://pypistats.org/packages/kwdagger
78
+
79
+ .. |ReadTheDocs| image:: https://readthedocs.org/projects/kwdagger/badge/?version=latest
80
+ :target: http://kwdagger.readthedocs.io/en/latest/
81
+
82
+ .. |GitlabCIPipeline| image:: https://gitlab.kitware.com/computer-vision/kwdagger/badges/main/pipeline.svg
83
+ :target: https://gitlab.kitware.com/computer-vision/kwdagger/-/jobs
84
+
85
+ .. |GitlabCICoverage| image:: https://gitlab.kitware.com/computer-vision/kwdagger/badges/main/coverage.svg
86
+ :target: https://gitlab.kitware.com/computer-vision/kwdagger/commits/main
@@ -0,0 +1,35 @@
1
+ The kwdagger Module
2
+ ===================
3
+
4
+
5
+
6
+ |Pypi| |PypiDownloads| |ReadTheDocs| |GitlabCIPipeline| |GitlabCICoverage|
7
+
8
+
9
+
10
+ +-----------------+-------------------------------------------+
11
+ | Read the Docs | http://kwdagger.readthedocs.io/en/latest/ |
12
+ +-----------------+-------------------------------------------+
13
+ | Gitlab (main) | |
14
+ +-----------------+-------------------------------------------+
15
+ | Github (mirror) | https://github.com/Kitware/kwdagger |
16
+ +-----------------+-------------------------------------------+
17
+ | Pypi | https://pypi.org/project/kwdagger |
18
+ +-----------------+-------------------------------------------+
19
+
20
+
21
+
22
+ .. |Pypi| image:: https://img.shields.io/pypi/v/kwdagger.svg
23
+ :target: https://pypi.python.org/pypi/kwdagger
24
+
25
+ .. |PypiDownloads| image:: https://img.shields.io/pypi/dm/kwdagger.svg
26
+ :target: https://pypistats.org/packages/kwdagger
27
+
28
+ .. |ReadTheDocs| image:: https://readthedocs.org/projects/kwdagger/badge/?version=latest
29
+ :target: http://kwdagger.readthedocs.io/en/latest/
30
+
31
+ .. |GitlabCIPipeline| image:: https://gitlab.kitware.com/computer-vision/kwdagger/badges/main/pipeline.svg
32
+ :target: https://gitlab.kitware.com/computer-vision/kwdagger/-/jobs
33
+
34
+ .. |GitlabCICoverage| image:: https://gitlab.kitware.com/computer-vision/kwdagger/badges/main/coverage.svg
35
+ :target: https://gitlab.kitware.com/computer-vision/kwdagger/commits/main
@@ -0,0 +1 @@
1
+ __version__ = '0.1.0'
@@ -0,0 +1,6 @@
1
+ """
2
+ THIS IS AN EXPERIMENTAL MODULE.
3
+
4
+ The goal of this submodule is to provide tooling to create, manage, and
5
+ interact with DVC respositories of datasets and experiments.
6
+ """
@@ -0,0 +1,35 @@
1
+ #!/usr/bin/env python3
2
+ # PYTHON_ARGCOMPLETE_OK
3
+ """
4
+ Exposes the mlops tools in the CLI
5
+ """
6
+ from scriptconfig.modal import ModalCLI
7
+ import ubelt as ub
8
+ from kwdagger.mlops import manager
9
+ from kwdagger.mlops import aggregate
10
+ from kwdagger.mlops import schedule_evaluation
11
+
12
+
13
+ modal = ModalCLI(description=ub.codeblock(
14
+ '''
15
+ MLOPs CLI
16
+ '''))
17
+ modal.__command__ = 'mlops'
18
+ # modal.__group__ = 'learning'
19
+
20
+
21
+ modal.register(manager.__cli__)
22
+ modal.register(aggregate.__cli__)
23
+ modal.register(schedule_evaluation.__cli__)
24
+
25
+
26
+ def main(cmdline=None, **kwargs):
27
+ return modal.run(strict=True)
28
+
29
+
30
+ __cli__ = modal
31
+ __cli__.main = main
32
+
33
+
34
+ if __name__ == '__main__':
35
+ main()