thds.mops 3.6.20250220223339__py3-none-any.whl → 3.6.20250221160030__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.
Potentially problematic release.
This version of thds.mops might be problematic. Click here for more details.
- thds/mops/meta.json +2 -2
- thds/mops/pure/_magic/api.py +13 -0
- {thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/METADATA +2 -2
- {thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/RECORD +7 -7
- {thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/WHEEL +0 -0
- {thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/entry_points.txt +0 -0
- {thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/top_level.txt +0 -0
thds/mops/meta.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"git_commit": "
|
|
2
|
+
"git_commit": "68ffac2b5445ab94b47252f4a0d8fe1f22483aca",
|
|
3
3
|
"git_branch": "main",
|
|
4
4
|
"git_is_clean": true,
|
|
5
|
-
"pyproject_version": "3.6.
|
|
5
|
+
"pyproject_version": "3.6.20250221160030",
|
|
6
6
|
"thds_user": "runner",
|
|
7
7
|
"misc": {}
|
|
8
8
|
}
|
thds/mops/pure/_magic/api.py
CHANGED
|
@@ -23,6 +23,7 @@ from .sauce import P, R
|
|
|
23
23
|
from .shims import ShimName, ShimOrBuilder, to_shim_builder
|
|
24
24
|
|
|
25
25
|
_MAGIC_CONFIG: ty.Final = sauce.new_config()
|
|
26
|
+
F = ty.TypeVar("F", bound=ty.Callable)
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def _get_config() -> sauce._MagicConfig: # for testing
|
|
@@ -50,6 +51,18 @@ class _MagicApi:
|
|
|
50
51
|
) -> ty.Callable[[ty.Callable[P, R]], sauce.Magic[P, R]]:
|
|
51
52
|
return sauce.make_magic(_get_config(), shim_or_builder, blob_root, pipeline_id)
|
|
52
53
|
|
|
54
|
+
@staticmethod
|
|
55
|
+
def deco(
|
|
56
|
+
shim_or_builder: ty.Union[ShimName, ShimOrBuilder, None] = None,
|
|
57
|
+
*,
|
|
58
|
+
blob_root: uris.UriResolvable = "",
|
|
59
|
+
pipeline_id: str = "",
|
|
60
|
+
) -> ty.Callable[[F], F]: # cleaner type for certain use cases
|
|
61
|
+
return ty.cast(
|
|
62
|
+
ty.Callable[[F], F],
|
|
63
|
+
_MagicApi.__call__(shim_or_builder, blob_root=blob_root, pipeline_id=pipeline_id),
|
|
64
|
+
)
|
|
65
|
+
|
|
53
66
|
@staticmethod
|
|
54
67
|
def blob_root(
|
|
55
68
|
blob_root_uri: uris.UriResolvable, pathable: config_tree.Pathable = None, *, mask: bool = False
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: thds.mops
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.20250221160030
|
|
4
4
|
Summary: ML Ops tools for Trilliant Health
|
|
5
5
|
Author: Trilliant Health
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -23,7 +23,7 @@ Jump to
|
|
|
23
23
|
[Quickstart](https://github.com/TrilliantHealth/trilliant-data-science/blob/main/libs/mops/docs/quickstart.adoc)
|
|
24
24
|
if you ~~are impatient~~ prefer examples, like me!
|
|
25
25
|
|
|
26
|
-
`mops` solves for
|
|
26
|
+
`mops` solves for four core design goals:
|
|
27
27
|
|
|
28
28
|
- [Efficient](https://github.com/TrilliantHealth/trilliant-data-science/blob/main/libs/mops/docs/optimizations.adoc)
|
|
29
29
|
transfer of
|
|
@@ -2,7 +2,7 @@ thds/mops/__about__.py,sha256=IW_3wy8wEdrVducoBdiVgD7oYOY4J8yO1ezBaPtrc6U,215
|
|
|
2
2
|
thds/mops/__init__.py,sha256=dbujDxVVfHpWP7OyfjEdNVHLtKx99rsNQPYfjTKn5Lg,127
|
|
3
3
|
thds/mops/_compat.py,sha256=nArultEBSfWeT8eJOETN-H3vd4miEhZBXwjc6cCCtTc,157
|
|
4
4
|
thds/mops/config.py,sha256=T62YskXvzAfxNgpq2jMatHgoIHfRV_z4cvJ8Rl_TZ6E,2015
|
|
5
|
-
thds/mops/meta.json,sha256=
|
|
5
|
+
thds/mops/meta.json,sha256=y96_vuSkWtXVlEkwLS1rJiD7URUTEp9Zbu6pl1a5wyY,195
|
|
6
6
|
thds/mops/parallel.py,sha256=FIWm53NJF1X910sTUGhqYj_XJWaSzgEDdsZq9siDvhk,926
|
|
7
7
|
thds/mops/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
thds/mops/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -37,7 +37,7 @@ thds/mops/k8s/tools/krsync.py,sha256=us7pXX0-bRMwD2oAno7Z6BJcPs6FgaUabHW0STyQJYg
|
|
|
37
37
|
thds/mops/k8s/tools/krsync.sh,sha256=lskw4COt51Bv1yy2IAYUc8u8uQV-coSyUiOT8rADKkQ,546
|
|
38
38
|
thds/mops/pure/__init__.py,sha256=kbG0lMvXRBS3LGbb2gPPE9-qjYMXrypyb2tJX2__aZc,1533
|
|
39
39
|
thds/mops/pure/_magic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
|
-
thds/mops/pure/_magic/api.py,sha256=
|
|
40
|
+
thds/mops/pure/_magic/api.py,sha256=7FxlBVLmh5kHp2Jro8gw_I1rmNaaNGitJtOnjega1Bs,5034
|
|
41
41
|
thds/mops/pure/_magic/sauce.py,sha256=AdFNqldbaZ41k8o8CSug75boR2FBEdenOwZTnNBxaK8,6173
|
|
42
42
|
thds/mops/pure/_magic/shims.py,sha256=JI49ddv6lEUmNVsEl-XkGlsx2RpOMQoIOSSSfootYE8,1188
|
|
43
43
|
thds/mops/pure/adls/__init__.py,sha256=fw67xxwnizBurScMa-_zWb94lo5gamEVRt27V4bR0jc,54
|
|
@@ -104,8 +104,8 @@ thds/mops/pure/tools/summarize/cli.py,sha256=gaechsJhRZsOxGJGG1dQsW5dMBlgSv2sUmE
|
|
|
104
104
|
thds/mops/pure/tools/summarize/run_summary.py,sha256=HCfAJhgAa9u6kXbzJlHa2n-9vVTaTHYSxrN_DP-Sjo4,4892
|
|
105
105
|
thds/mops/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
106
|
thds/mops/testing/deferred_imports.py,sha256=f0ezCgQAtzTqW1yAOb0OWgsB9ZrlztLB894LtpWDaVw,3780
|
|
107
|
-
thds.mops-3.6.
|
|
108
|
-
thds.mops-3.6.
|
|
109
|
-
thds.mops-3.6.
|
|
110
|
-
thds.mops-3.6.
|
|
111
|
-
thds.mops-3.6.
|
|
107
|
+
thds.mops-3.6.20250221160030.dist-info/METADATA,sha256=Y5DLAP-VqXlZtdoOLqNAzy1twXOxyGjaDOGo1kVUSzU,2090
|
|
108
|
+
thds.mops-3.6.20250221160030.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
109
|
+
thds.mops-3.6.20250221160030.dist-info/entry_points.txt,sha256=qKvCAaB80syXfxVR3xx6x9J0YJdaQWkIbVSw-NwFgMw,322
|
|
110
|
+
thds.mops-3.6.20250221160030.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
|
|
111
|
+
thds.mops-3.6.20250221160030.dist-info/RECORD,,
|
|
File without changes
|
{thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{thds.mops-3.6.20250220223339.dist-info → thds.mops-3.6.20250221160030.dist-info}/top_level.txt
RENAMED
|
File without changes
|