kwdagger 0.1.0__py3-none-any.whl

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.
kwdagger/__init__.py ADDED
@@ -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()