ominfra 0.0.0.dev299__py3-none-any.whl → 0.0.0.dev301__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.
@@ -8,7 +8,7 @@ from omlish import check
8
8
  from omlish import lang
9
9
  from omlish import marshal as msh
10
10
  from omlish.argparse import all as ap
11
- from omlish.configs import all as configs
11
+ from omlish.configs import all as cfgs
12
12
 
13
13
  from .gen import ModelGen
14
14
 
@@ -98,9 +98,9 @@ class Cli(ap.Cli):
98
98
  if config_file is None:
99
99
  config_file = os.path.abspath(os.path.join(os.path.dirname(__file__), '../services/services.toml'))
100
100
 
101
- cfg_dct = dict(configs.DEFAULT_FILE_LOADER.load_file(config_file).as_map())
102
- cfg_dct = configs.processing.matched_rewrite(
103
- configs.processing.build_named_children,
101
+ cfg_dct = dict(cfgs.DEFAULT_FILE_LOADER.load_file(config_file).as_map())
102
+ cfg_dct = cfgs.processing.matched_rewrite(
103
+ cfgs.processing.build_named_children,
104
104
  cfg_dct,
105
105
  ('services',),
106
106
  )
@@ -224,6 +224,7 @@ class TomlDecodeError(ValueError):
224
224
 
225
225
  def toml_load(fp: ta.BinaryIO, /, *, parse_float: TomlParseFloat = float) -> ta.Dict[str, ta.Any]:
226
226
  """Parse TOML from a binary file object."""
227
+
227
228
  b = fp.read()
228
229
  try:
229
230
  s = b.decode()
ominfra/scripts/manage.py CHANGED
@@ -1463,6 +1463,7 @@ class TomlDecodeError(ValueError):
1463
1463
 
1464
1464
  def toml_load(fp: ta.BinaryIO, /, *, parse_float: TomlParseFloat = float) -> ta.Dict[str, ta.Any]:
1465
1465
  """Parse TOML from a binary file object."""
1466
+
1466
1467
  b = fp.read()
1467
1468
  try:
1468
1469
  s = b.decode()
@@ -10883,7 +10884,7 @@ class AsyncioSubprocesses(AbstractAsyncSubprocesses):
10883
10884
  async with self.popen(*run.cmd, **kwargs) as proc:
10884
10885
  stdout, stderr = await self.communicate(proc, run.input, run.timeout)
10885
10886
 
10886
- if check and proc.returncode:
10887
+ if run.check and proc.returncode:
10887
10888
  raise subprocess.CalledProcessError(
10888
10889
  proc.returncode,
10889
10890
  run.cmd,
@@ -764,6 +764,7 @@ class TomlDecodeError(ValueError):
764
764
 
765
765
  def toml_load(fp: ta.BinaryIO, /, *, parse_float: TomlParseFloat = float) -> ta.Dict[str, ta.Any]:
766
766
  """Parse TOML from a binary file object."""
767
+
767
768
  b = fp.read()
768
769
  try:
769
770
  s = b.decode()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ominfra
3
- Version: 0.0.0.dev299
3
+ Version: 0.0.0.dev301
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -12,8 +12,8 @@ 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: omdev==0.0.0.dev299
16
- Requires-Dist: omlish==0.0.0.dev299
15
+ Requires-Dist: omdev==0.0.0.dev301
16
+ Requires-Dist: omlish==0.0.0.dev301
17
17
  Provides-Extra: all
18
18
  Requires-Dist: paramiko~=3.5; extra == "all"
19
19
  Requires-Dist: asyncssh~=2.20; extra == "all"
@@ -27,7 +27,7 @@ ominfra/clouds/aws/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
27
27
  ominfra/clouds/aws/models/base.py,sha256=0VtlcRo4kbjdIOqikTe_cegViBHqb-DoqJSw_8eQZC4,3777
28
28
  ominfra/clouds/aws/models/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  ominfra/clouds/aws/models/gen/__main__.py,sha256=Jsrv3P7LX2Cg08W7ByZfZ1JQT4lgLDPW1qNAmShFuMk,75
30
- ominfra/clouds/aws/models/gen/cli.py,sha256=-tsjPPqUvXVqD40grn1Of-2-YF53dvCfISrIRI2AX4s,3869
30
+ ominfra/clouds/aws/models/gen/cli.py,sha256=vcI8_-BOv4f-s_TFAqvnyzvBexZ_9y5akiUEGfioCqA,3857
31
31
  ominfra/clouds/aws/models/gen/gen.py,sha256=NtgQfUNBs2-SRlmELiI20fW8mcSp_j_23EHtl_ZTSgc,15834
32
32
  ominfra/clouds/aws/models/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  ominfra/clouds/aws/models/services/ec2.py,sha256=IkY3d4b24nSSymjGFc4OOd_VI2cEHE7ekeYOZS9cruY,267664
@@ -112,9 +112,9 @@ ominfra/manage/targets/connection.py,sha256=rVI1YJxFClcF-sdttqWyIz9_XjPI01GUdwxY
112
112
  ominfra/manage/targets/inject.py,sha256=P4597xWM-V3I_gCt2O71OLhYQkkXtuJvkYRsIbhhMcE,1561
113
113
  ominfra/manage/targets/targets.py,sha256=7GP6UAZyJFEhpkJN6UQdpr_WN3p7C76v-s445y-WB6U,1885
114
114
  ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
- ominfra/scripts/journald2aws.py,sha256=5dnfVtg2r6o-iyWhrwUnlD68hXF4-gaJXndKf5OEIJ0,171278
116
- ominfra/scripts/manage.py,sha256=Qw172y_R1_XvOJPq3ItomTldBEJHOmxmBmrco91iP3s,381713
117
- ominfra/scripts/supervisor.py,sha256=LBu-YXrcrlJrjvquPNBn5iw0GqrqHh9N3uB-E5eTrRs,299907
115
+ ominfra/scripts/journald2aws.py,sha256=1P-0semXj4MFHN-kM42OSL-3ueyvLUBVmcbLiuA6mfs,171279
116
+ ominfra/scripts/manage.py,sha256=M91FAkM49tY3PlQj4C-M5MA8VGKpv7Apb87NuwbQ92U,381718
117
+ ominfra/scripts/supervisor.py,sha256=Ddp_5socH9n7R7kBrlrV7w5-Ud0cqHEBjDnW1pDwdx0,299908
118
118
  ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
119
119
  ominfra/supervisor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
120
120
  ominfra/supervisor/__main__.py,sha256=I0yFw-C08OOiZ3BF6lF1Oiv789EQXu-_j6whDhQUTEA,66
@@ -156,9 +156,9 @@ ominfra/tailscale/api.py,sha256=C5-t_b6jZXUWcy5k8bXm7CFnk73pSdrlMOgGDeGVrpw,1370
156
156
  ominfra/tailscale/cli.py,sha256=3FnJbgpLw6gInTfhERd1mDy9ijjMUGxkdYVo43Tnxx4,3555
157
157
  ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
158
158
  ominfra/tools/listresources.py,sha256=auGP1LlbBJSFKUWNvQo_UzA8IsBNZBTMwEkFFRJ4FX4,6185
159
- ominfra-0.0.0.dev299.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
- ominfra-0.0.0.dev299.dist-info/METADATA,sha256=6cfR4tD83lANpXfyCvwyzStAZMku3Ga7pr2P0l9dLf0,753
161
- ominfra-0.0.0.dev299.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
162
- ominfra-0.0.0.dev299.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
- ominfra-0.0.0.dev299.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
- ominfra-0.0.0.dev299.dist-info/RECORD,,
159
+ ominfra-0.0.0.dev301.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
+ ominfra-0.0.0.dev301.dist-info/METADATA,sha256=9IcF66nQ6FPhekEafqxdiHTdpEYMll7SgDch54e4X-Y,753
161
+ ominfra-0.0.0.dev301.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
162
+ ominfra-0.0.0.dev301.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
+ ominfra-0.0.0.dev301.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
+ ominfra-0.0.0.dev301.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.0)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5