ominfra 0.0.0.dev301__py3-none-any.whl → 0.0.0.dev302__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/manage/targets/bestpython.sh +1 -1
- ominfra/scripts/journald2aws.py +18 -2
- ominfra/scripts/manage.py +19 -3
- ominfra/scripts/supervisor.py +24 -2
- {ominfra-0.0.0.dev301.dist-info → ominfra-0.0.0.dev302.dist-info}/METADATA +3 -3
- {ominfra-0.0.0.dev301.dist-info → ominfra-0.0.0.dev302.dist-info}/RECORD +10 -10
- {ominfra-0.0.0.dev301.dist-info → ominfra-0.0.0.dev302.dist-info}/WHEEL +1 -1
- {ominfra-0.0.0.dev301.dist-info → ominfra-0.0.0.dev302.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev301.dist-info → ominfra-0.0.0.dev302.dist-info}/licenses/LICENSE +0 -0
- {ominfra-0.0.0.dev301.dist-info → ominfra-0.0.0.dev302.dist-info}/top_level.txt +0 -0
@@ -4,7 +4,7 @@ bx=""
|
|
4
4
|
for v in "" 3 3.{8..13}; do
|
5
5
|
x="python$v"
|
6
6
|
v=$($x -c "import sys; print((\"%02d\" * 3) % sys.version_info[:3])" 2>/dev/null)
|
7
|
-
if [ $? -eq 0 ] && ([ -z "$bv" ] || [ "$v" \> "$bv" ]); then
|
7
|
+
if [ $? -eq 0 ] && [ "$v" \> 030799 ] && ([ -z "$bv" ] || [ "$v" \> "$bv" ]); then
|
8
8
|
bv=$v
|
9
9
|
bx=$x
|
10
10
|
fi
|
ominfra/scripts/journald2aws.py
CHANGED
@@ -1268,7 +1268,15 @@ class Checks:
|
|
1268
1268
|
spec = (object,)
|
1269
1269
|
return spec
|
1270
1270
|
|
1271
|
-
|
1271
|
+
@ta.overload
|
1272
|
+
def isinstance(self, v: ta.Any, spec: ta.Type[T], msg: CheckMessage = None) -> T:
|
1273
|
+
...
|
1274
|
+
|
1275
|
+
@ta.overload
|
1276
|
+
def isinstance(self, v: ta.Any, spec: ta.Any, msg: CheckMessage = None) -> ta.Any:
|
1277
|
+
...
|
1278
|
+
|
1279
|
+
def isinstance(self, v, spec, msg=None):
|
1272
1280
|
if not isinstance(v, self._unpack_isinstance_spec(spec)):
|
1273
1281
|
self._raise(
|
1274
1282
|
TypeError,
|
@@ -1280,7 +1288,15 @@ class Checks:
|
|
1280
1288
|
|
1281
1289
|
return v
|
1282
1290
|
|
1283
|
-
|
1291
|
+
@ta.overload
|
1292
|
+
def of_isinstance(self, spec: ta.Type[T], msg: CheckMessage = None) -> ta.Callable[[ta.Any], T]:
|
1293
|
+
...
|
1294
|
+
|
1295
|
+
@ta.overload
|
1296
|
+
def of_isinstance(self, spec: ta.Any, msg: CheckMessage = None) -> ta.Callable[[ta.Any], ta.Any]:
|
1297
|
+
...
|
1298
|
+
|
1299
|
+
def of_isinstance(self, spec, msg=None):
|
1284
1300
|
def inner(v):
|
1285
1301
|
return self.isinstance(v, self._unpack_isinstance_spec(spec), msg)
|
1286
1302
|
|
ominfra/scripts/manage.py
CHANGED
@@ -2507,7 +2507,15 @@ class Checks:
|
|
2507
2507
|
spec = (object,)
|
2508
2508
|
return spec
|
2509
2509
|
|
2510
|
-
|
2510
|
+
@ta.overload
|
2511
|
+
def isinstance(self, v: ta.Any, spec: ta.Type[T], msg: CheckMessage = None) -> T:
|
2512
|
+
...
|
2513
|
+
|
2514
|
+
@ta.overload
|
2515
|
+
def isinstance(self, v: ta.Any, spec: ta.Any, msg: CheckMessage = None) -> ta.Any:
|
2516
|
+
...
|
2517
|
+
|
2518
|
+
def isinstance(self, v, spec, msg=None):
|
2511
2519
|
if not isinstance(v, self._unpack_isinstance_spec(spec)):
|
2512
2520
|
self._raise(
|
2513
2521
|
TypeError,
|
@@ -2519,7 +2527,15 @@ class Checks:
|
|
2519
2527
|
|
2520
2528
|
return v
|
2521
2529
|
|
2522
|
-
|
2530
|
+
@ta.overload
|
2531
|
+
def of_isinstance(self, spec: ta.Type[T], msg: CheckMessage = None) -> ta.Callable[[ta.Any], T]:
|
2532
|
+
...
|
2533
|
+
|
2534
|
+
@ta.overload
|
2535
|
+
def of_isinstance(self, spec: ta.Any, msg: CheckMessage = None) -> ta.Callable[[ta.Any], ta.Any]:
|
2536
|
+
...
|
2537
|
+
|
2538
|
+
def of_isinstance(self, spec, msg=None):
|
2523
2539
|
def inner(v):
|
2524
2540
|
return self.isinstance(v, self._unpack_isinstance_spec(spec), msg)
|
2525
2541
|
|
@@ -4937,7 +4953,7 @@ bx=""
|
|
4937
4953
|
for v in "" 3 3.{8..13}; do
|
4938
4954
|
x="python$v"
|
4939
4955
|
v=$($x -c "import sys; print((\\"%02d\\" * 3) % sys.version_info[:3])" 2>/dev/null)
|
4940
|
-
if [ $? -eq 0 ] && ([ -z "$bv" ] || [ "$v" \\> "$bv" ]); then
|
4956
|
+
if [ $? -eq 0 ] && [ "$v" \\> 030799 ] && ([ -z "$bv" ] || [ "$v" \\> "$bv" ]); then
|
4941
4957
|
bv=$v
|
4942
4958
|
bx=$x
|
4943
4959
|
fi
|
ominfra/scripts/supervisor.py
CHANGED
@@ -2037,7 +2037,15 @@ class Checks:
|
|
2037
2037
|
spec = (object,)
|
2038
2038
|
return spec
|
2039
2039
|
|
2040
|
-
|
2040
|
+
@ta.overload
|
2041
|
+
def isinstance(self, v: ta.Any, spec: ta.Type[T], msg: CheckMessage = None) -> T:
|
2042
|
+
...
|
2043
|
+
|
2044
|
+
@ta.overload
|
2045
|
+
def isinstance(self, v: ta.Any, spec: ta.Any, msg: CheckMessage = None) -> ta.Any:
|
2046
|
+
...
|
2047
|
+
|
2048
|
+
def isinstance(self, v, spec, msg=None):
|
2041
2049
|
if not isinstance(v, self._unpack_isinstance_spec(spec)):
|
2042
2050
|
self._raise(
|
2043
2051
|
TypeError,
|
@@ -2049,7 +2057,15 @@ class Checks:
|
|
2049
2057
|
|
2050
2058
|
return v
|
2051
2059
|
|
2052
|
-
|
2060
|
+
@ta.overload
|
2061
|
+
def of_isinstance(self, spec: ta.Type[T], msg: CheckMessage = None) -> ta.Callable[[ta.Any], T]:
|
2062
|
+
...
|
2063
|
+
|
2064
|
+
@ta.overload
|
2065
|
+
def of_isinstance(self, spec: ta.Any, msg: CheckMessage = None) -> ta.Callable[[ta.Any], ta.Any]:
|
2066
|
+
...
|
2067
|
+
|
2068
|
+
def of_isinstance(self, spec, msg=None):
|
2053
2069
|
def inner(v):
|
2054
2070
|
return self.isinstance(v, self._unpack_isinstance_spec(spec), msg)
|
2055
2071
|
|
@@ -4347,6 +4363,9 @@ class IncrementalWriteBuffer:
|
|
4347
4363
|
# ../../../omlish/io/fdio/handlers.py
|
4348
4364
|
|
4349
4365
|
|
4366
|
+
##
|
4367
|
+
|
4368
|
+
|
4350
4369
|
class FdioHandler(abc.ABC):
|
4351
4370
|
@abc.abstractmethod
|
4352
4371
|
def fd(self) -> int:
|
@@ -4411,6 +4430,9 @@ class SocketFdioHandler(FdioHandler, abc.ABC):
|
|
4411
4430
|
# ../../../omlish/io/fdio/kqueue.py
|
4412
4431
|
|
4413
4432
|
|
4433
|
+
##
|
4434
|
+
|
4435
|
+
|
4414
4436
|
KqueueFdioPoller: ta.Optional[ta.Type[FdioPoller]]
|
4415
4437
|
if sys.platform == 'darwin' or sys.platform.startswith('freebsd'):
|
4416
4438
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev302
|
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.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev302
|
16
|
+
Requires-Dist: omlish==0.0.0.dev302
|
17
17
|
Provides-Extra: all
|
18
18
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
19
19
|
Requires-Dist: asyncssh~=2.20; extra == "all"
|
@@ -107,14 +107,14 @@ ominfra/manage/system/packages.py,sha256=HImCsgzXxcfzAoD2PjrstaSE_qgBWtTFUVb0lTE
|
|
107
107
|
ominfra/manage/system/platforms.py,sha256=F0bgYzUzCjZ2LbWVvnEq2ya_X_LfRW406LQYFL7bG44,1202
|
108
108
|
ominfra/manage/targets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
109
109
|
ominfra/manage/targets/bestpython.py,sha256=6_CH_Vm9Am5aD5UV3m8uC-B8bvMNSjVIWicPmFw0aLI,631
|
110
|
-
ominfra/manage/targets/bestpython.sh,sha256=
|
110
|
+
ominfra/manage/targets/bestpython.sh,sha256=RTvImgsRv-67D9Ugg5bo7NfpV2MD8zTsLt6aipdLQiQ,350
|
111
111
|
ominfra/manage/targets/connection.py,sha256=rVI1YJxFClcF-sdttqWyIz9_XjPI01GUdwxYck0P1PA,5016
|
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=
|
116
|
-
ominfra/scripts/manage.py,sha256=
|
117
|
-
ominfra/scripts/supervisor.py,sha256=
|
115
|
+
ominfra/scripts/journald2aws.py,sha256=pX5hD_O_oteVS4JdQP4n8NATQcVkGCQ1eyxio35ZjBw,171636
|
116
|
+
ominfra/scripts/manage.py,sha256=__X7O5I6UHAQDmxYQFR1sPGHGWSmRSdfcYxFKVyakmY,382098
|
117
|
+
ominfra/scripts/supervisor.py,sha256=exHXaTr8YApCuDldgCXwttMd8CGsqqf8eUb2Qn-K3sE,300275
|
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.
|
160
|
-
ominfra-0.0.0.
|
161
|
-
ominfra-0.0.0.
|
162
|
-
ominfra-0.0.0.
|
163
|
-
ominfra-0.0.0.
|
164
|
-
ominfra-0.0.0.
|
159
|
+
ominfra-0.0.0.dev302.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
160
|
+
ominfra-0.0.0.dev302.dist-info/METADATA,sha256=aX_dGcj9UGMdWLTGyJw6SVr-VxijuSa3H40XaGSbZ2Q,753
|
161
|
+
ominfra-0.0.0.dev302.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
162
|
+
ominfra-0.0.0.dev302.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
|
163
|
+
ominfra-0.0.0.dev302.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
|
164
|
+
ominfra-0.0.0.dev302.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|