ominfra 0.0.0.dev26__py3-none-any.whl → 0.0.0.dev28__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.
ominfra/__about__.py CHANGED
@@ -25,13 +25,3 @@ class Setuptools(SetuptoolsBase):
25
25
  'include': [Project.name, f'{Project.name}.*'],
26
26
  'exclude': [*SetuptoolsBase.find_packages['exclude']],
27
27
  }
28
-
29
- package_data = {
30
- **SetuptoolsBase.package_data,
31
-
32
- '*': [
33
- *SetuptoolsBase.package_data['*'],
34
-
35
- 'Dockerfile',
36
- ],
37
- }
@@ -156,6 +156,12 @@ def check_not(v: ta.Any) -> None:
156
156
  return v
157
157
 
158
158
 
159
+ def check_non_empty_str(v: ta.Optional[str]) -> str:
160
+ if not v:
161
+ raise ValueError
162
+ return v
163
+
164
+
159
165
  ########################################
160
166
  # ../../../../omlish/lite/json.py
161
167
 
@@ -239,6 +239,12 @@ def check_not(v: ta.Any) -> None:
239
239
  return v
240
240
 
241
241
 
242
+ def check_non_empty_str(v: ta.Optional[str]) -> str:
243
+ if not v:
244
+ raise ValueError
245
+ return v
246
+
247
+
242
248
  ########################################
243
249
  # ../../../omlish/lite/json.py
244
250
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ominfra
3
- Version: 0.0.0.dev26
3
+ Version: 0.0.0.dev28
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Operating System :: POSIX
13
13
  Requires-Python: ~=3.12
14
14
  License-File: LICENSE
15
- Requires-Dist: omlish ==0.0.0.dev26
15
+ Requires-Dist: omlish ==0.0.0.dev28
16
16
  Provides-Extra: all
17
17
  Requires-Dist: paramiko ~=3.5 ; extra == 'all'
18
18
  Requires-Dist: asyncssh ~=2.17 ; (python_version < "3.13") and extra == 'all'
@@ -1,13 +1,13 @@
1
- ominfra/__about__.py,sha256=85wKRxpYiPufujvp6ARwSgFG2VAikpx0ULgQ4l6plpU,793
1
+ ominfra/.manifests.json,sha256=N1F-Xz3GaBn2H1p7uKzhkhKCQV8QVR0t76XD6wmFtXA,3
2
+ ominfra/__about__.py,sha256=RD3ttxVUkwiE9eo9wxHTded8fSmYx0i51yFIvpXD-FY,625
2
3
  ominfra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- ominfra/_manifests.json,sha256=N1F-Xz3GaBn2H1p7uKzhkhKCQV8QVR0t76XD6wmFtXA,3
4
4
  ominfra/cmds.py,sha256=E0AfnvEmnKntXWvmLW5L05_NeDpBET1VBXn7vV6EwBQ,2083
5
5
  ominfra/ssh.py,sha256=U-JCvx41KI0B0riHy7cpFCKCx_LAHeSn-Irz5aAao2w,5393
6
6
  ominfra/clouds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  ominfra/clouds/aws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  ominfra/clouds/aws/auth.py,sha256=EW3lK1U0hnjXkTn1KWJeuv9GG0ibbKdvgLD0P6HJtwo,5502
9
9
  ominfra/deploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- ominfra/deploy/_executor.py,sha256=b5no2fpqEDv3k8OnD-coYiLWcwuOKqWz57Rdj2R6Fhg,31832
10
+ ominfra/deploy/_executor.py,sha256=Wcka4kOwATqEYGGLIW63SJSohGhVgGatXpPcNC1D9Ms,31939
11
11
  ominfra/deploy/configs.py,sha256=qi0kwT7G2NH7dXLOQic-u6R3yeadup_QtvrjwWIggbM,435
12
12
  ominfra/deploy/remote.py,sha256=LJSe3AJlpvNgb_5QtUiK2JIkKC2OgMvjSD1701_y2uI,2147
13
13
  ominfra/deploy/executor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
@@ -36,13 +36,13 @@ ominfra/deploy/poly/venv.py,sha256=BoipDEa4NTeodjf3L57KJfq9eGKLagFNKwD8pS4yrzA,1
36
36
  ominfra/manage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  ominfra/manage/manage.py,sha256=BttL8LFEknHZE_h2Pt5dAqbfUkv6qy43WI0raXBZ1a8,151
38
38
  ominfra/pyremote/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- ominfra/pyremote/_runcommands.py,sha256=TqivGhMdddcL5Z1Ml2W2C3FMw_woaKtrw9BEy5wQ1Vk,25666
39
+ ominfra/pyremote/_runcommands.py,sha256=mOr5pueEese3mjWbi6EFWCvTxkDELstMQ55ipbfaJRA,25773
40
40
  ominfra/pyremote/bootstrap.py,sha256=ybXxNitrNKuPAIl0SrU55Ktn-4R-bDveAm_ZURrmfF0,3368
41
41
  ominfra/pyremote/runcommands.py,sha256=hXXP41rvgL46Oe_HOcLSp2Y84ZMQfEZqqV_jNd1x7Ak,1570
42
42
  ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  ominfra/tools/listresources.py,sha256=vgLgohPwRog8e5pEljI2hOGg-Li5fcwjj-nXj2j8IQo,5918
44
- ominfra-0.0.0.dev26.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
45
- ominfra-0.0.0.dev26.dist-info/METADATA,sha256=4QQEfPEH9yeS-os5LNXa7A1QehcqCDNEer9h7G9zJxE,764
46
- ominfra-0.0.0.dev26.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
47
- ominfra-0.0.0.dev26.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
48
- ominfra-0.0.0.dev26.dist-info/RECORD,,
44
+ ominfra-0.0.0.dev28.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
45
+ ominfra-0.0.0.dev28.dist-info/METADATA,sha256=8RjjKiIddgJEf9bMnyX3kHFUR8zkaVZmMLrP-NHGWOs,764
46
+ ominfra-0.0.0.dev28.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
47
+ ominfra-0.0.0.dev28.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
48
+ ominfra-0.0.0.dev28.dist-info/RECORD,,
File without changes