ominfra 0.0.0.dev434__py3-none-any.whl → 0.0.0.dev435__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.
@@ -58,7 +58,7 @@ if sys.version_info < (3, 8):
58
58
 
59
59
 
60
60
  # ../../../../omlish/configs/types.py
61
- ConfigMap = ta.Mapping[str, ta.Any]
61
+ ConfigMap = ta.Mapping[str, ta.Any] # ta.TypeAlias
62
62
 
63
63
  # ../../../../omlish/formats/ini/sections.py
64
64
  IniSectionSettingsMap = ta.Mapping[str, ta.Mapping[str, ta.Union[str, ta.Sequence[str]]]] # ta.TypeAlias
@@ -1529,7 +1529,7 @@ class AttrOps(ta.Generic[T]):
1529
1529
  return (
1530
1530
  f'{o.__class__.__module__ + "." if self._with_module else ""}'
1531
1531
  f'{o.__class__.__qualname__ if self._use_qualname else o.__class__.__name__}'
1532
- f'{("@" + hex(id(o))[2:]) if self._with_id else ""}'
1532
+ f'{("@" + hex(id(o))[2:]) if self._with_id else ""}' # noqa
1533
1533
  f'({vs})'
1534
1534
  )
1535
1535
 
ominfra/scripts/manage.py CHANGED
@@ -69,18 +69,18 @@ if sys.version_info < (3, 8):
69
69
 
70
70
 
71
71
  # ../../omdev/packaging/versions.py
72
- VersionLocalType = ta.Tuple[ta.Union[int, str], ...]
73
- VersionCmpPrePostDevType = ta.Union['InfinityVersionType', 'NegativeInfinityVersionType', ta.Tuple[str, int]]
74
- _VersionCmpLocalType0 = ta.Tuple[ta.Union[ta.Tuple[int, str], ta.Tuple['NegativeInfinityVersionType', ta.Union[int, str]]], ...] # noqa
75
- VersionCmpLocalType = ta.Union['NegativeInfinityVersionType', _VersionCmpLocalType0]
76
- VersionCmpKey = ta.Tuple[int, ta.Tuple[int, ...], VersionCmpPrePostDevType, VersionCmpPrePostDevType, VersionCmpPrePostDevType, VersionCmpLocalType] # noqa
77
- VersionComparisonMethod = ta.Callable[[VersionCmpKey, VersionCmpKey], bool]
72
+ VersionLocalType = ta.Tuple[ta.Union[int, str], ...] # ta.TypeAlias
73
+ VersionCmpPrePostDevType = ta.Union['InfinityVersionType', 'NegativeInfinityVersionType', ta.Tuple[str, int]] # ta.TypeAlias # noqa
74
+ _VersionCmpLocalType0 = ta.Tuple[ta.Union[ta.Tuple[int, str], ta.Tuple['NegativeInfinityVersionType', ta.Union[int, str]]], ...] # ta.TypeAlias # noqa
75
+ VersionCmpLocalType = ta.Union['NegativeInfinityVersionType', _VersionCmpLocalType0] # ta.TypeAlias
76
+ VersionCmpKey = ta.Tuple[int, ta.Tuple[int, ...], VersionCmpPrePostDevType, VersionCmpPrePostDevType, VersionCmpPrePostDevType, VersionCmpLocalType] # ta.TypeAlias # noqa
77
+ VersionComparisonMethod = ta.Callable[[VersionCmpKey, VersionCmpKey], bool] # ta.TypeAlias
78
78
 
79
79
  # deploy/paths/types.py
80
80
  DeployPathKind = ta.Literal['dir', 'file'] # ta.TypeAlias
81
81
 
82
82
  # ../../omlish/configs/types.py
83
- ConfigMap = ta.Mapping[str, ta.Any]
83
+ ConfigMap = ta.Mapping[str, ta.Any] # ta.TypeAlias
84
84
 
85
85
  # ../../omlish/formats/ini/sections.py
86
86
  IniSectionSettingsMap = ta.Mapping[str, ta.Mapping[str, ta.Union[str, ta.Sequence[str]]]] # ta.TypeAlias
@@ -117,9 +117,9 @@ A2 = ta.TypeVar('A2')
117
117
  LogLevel = int # ta.TypeAlias
118
118
 
119
119
  # ../../omdev/packaging/specifiers.py
120
- UnparsedVersion = ta.Union['Version', str]
120
+ UnparsedVersion = ta.Union['Version', str] # ta.TypeAlias
121
121
  UnparsedVersionVar = ta.TypeVar('UnparsedVersionVar', bound=UnparsedVersion)
122
- CallableVersionOperator = ta.Callable[['Version', str], bool]
122
+ CallableVersionOperator = ta.Callable[['Version', str], bool] # ta.TypeAlias
123
123
 
124
124
  # ../../omlish/argparse/cli.py
125
125
  ArgparseCmdFn = ta.Callable[[], ta.Optional[int]] # ta.TypeAlias
@@ -141,7 +141,7 @@ LoggingExcInfoArg = ta.Union[LoggingExcInfo, bool, None] # ta.TypeAlias
141
141
  LoggingContextInfo = ta.Any # ta.TypeAlias
142
142
 
143
143
  # ../../omlish/os/atomics.py
144
- AtomicPathSwapKind = ta.Literal['dir', 'file']
144
+ AtomicPathSwapKind = ta.Literal['dir', 'file'] # ta.TypeAlias
145
145
  AtomicPathSwapState = ta.Literal['open', 'committed', 'aborted'] # ta.TypeAlias
146
146
 
147
147
  # commands/base.py
@@ -152,10 +152,10 @@ CommandOutputT = ta.TypeVar('CommandOutputT', bound='Command.Output')
152
152
  AwaitableT = ta.TypeVar('AwaitableT', bound=ta.Awaitable)
153
153
 
154
154
  # ../../omlish/lite/inject.py
155
- InjectorKeyCls = ta.Union[type, ta.NewType]
156
- InjectorProviderFn = ta.Callable[['Injector'], ta.Any]
157
- InjectorProviderFnMap = ta.Mapping['InjectorKey', 'InjectorProviderFn']
158
- InjectorBindingOrBindings = ta.Union['InjectorBinding', 'InjectorBindings']
155
+ InjectorKeyCls = ta.Union[type, ta.NewType] # ta.TypeAlias
156
+ InjectorProviderFn = ta.Callable[['Injector'], ta.Any] # ta.TypeAlias
157
+ InjectorProviderFnMap = ta.Mapping['InjectorKey', 'InjectorProviderFn'] # ta.TypeAlias
158
+ InjectorBindingOrBindings = ta.Union['InjectorBinding', 'InjectorBindings'] # ta.TypeAlias
159
159
 
160
160
  # ../../omlish/logs/contexts.py
161
161
  LoggingContextInfoT = ta.TypeVar('LoggingContextInfoT', bound=LoggingContextInfo)
@@ -2708,7 +2708,7 @@ class AttrOps(ta.Generic[T]):
2708
2708
  return (
2709
2709
  f'{o.__class__.__module__ + "." if self._with_module else ""}'
2710
2710
  f'{o.__class__.__qualname__ if self._use_qualname else o.__class__.__name__}'
2711
- f'{("@" + hex(id(o))[2:]) if self._with_id else ""}'
2711
+ f'{("@" + hex(id(o))[2:]) if self._with_id else ""}' # noqa
2712
2712
  f'({vs})'
2713
2713
  )
2714
2714
 
@@ -102,7 +102,7 @@ if sys.version_info < (3, 8):
102
102
 
103
103
 
104
104
  # ../../omlish/configs/types.py
105
- ConfigMap = ta.Mapping[str, ta.Any]
105
+ ConfigMap = ta.Mapping[str, ta.Any] # ta.TypeAlias
106
106
 
107
107
  # ../../omlish/formats/ini/sections.py
108
108
  IniSectionSettingsMap = ta.Mapping[str, ta.Mapping[str, ta.Union[str, ta.Sequence[str]]]] # ta.TypeAlias
@@ -135,7 +135,7 @@ A2 = ta.TypeVar('A2')
135
135
  LogLevel = int # ta.TypeAlias
136
136
 
137
137
  # ../../omlish/sockets/addresses.py
138
- SocketAddress = ta.Any
138
+ SocketAddress = ta.Any # ta.TypeAlias
139
139
 
140
140
  # events.py
141
141
  EventCallback = ta.Callable[['Event'], None] # ta.TypeAlias
@@ -166,16 +166,16 @@ HttpHandler = ta.Callable[['HttpHandlerRequest'], 'HttpHandlerResponse'] # ta.T
166
166
  HttpHandlerResponseData = ta.Union[bytes, 'HttpHandlerResponseStreamedData'] # ta.TypeAlias # noqa
167
167
 
168
168
  # ../../omlish/lite/inject.py
169
- InjectorKeyCls = ta.Union[type, ta.NewType]
170
- InjectorProviderFn = ta.Callable[['Injector'], ta.Any]
171
- InjectorProviderFnMap = ta.Mapping['InjectorKey', 'InjectorProviderFn']
172
- InjectorBindingOrBindings = ta.Union['InjectorBinding', 'InjectorBindings']
169
+ InjectorKeyCls = ta.Union[type, ta.NewType] # ta.TypeAlias
170
+ InjectorProviderFn = ta.Callable[['Injector'], ta.Any] # ta.TypeAlias
171
+ InjectorProviderFnMap = ta.Mapping['InjectorKey', 'InjectorProviderFn'] # ta.TypeAlias
172
+ InjectorBindingOrBindings = ta.Union['InjectorBinding', 'InjectorBindings'] # ta.TypeAlias
173
173
 
174
174
  # ../../omlish/logs/contexts.py
175
175
  LoggingContextInfoT = ta.TypeVar('LoggingContextInfoT', bound=LoggingContextInfo)
176
176
 
177
177
  # ../../omlish/http/coro/server/server.py
178
- CoroHttpServerFactory = ta.Callable[[SocketAddress], 'CoroHttpServer']
178
+ CoroHttpServerFactory = ta.Callable[[SocketAddress], 'CoroHttpServer'] # ta.TypeAlias
179
179
 
180
180
 
181
181
  ########################################
@@ -2054,7 +2054,7 @@ class AttrOps(ta.Generic[T]):
2054
2054
  return (
2055
2055
  f'{o.__class__.__module__ + "." if self._with_module else ""}'
2056
2056
  f'{o.__class__.__qualname__ if self._use_qualname else o.__class__.__name__}'
2057
- f'{("@" + hex(id(o))[2:]) if self._with_id else ""}'
2057
+ f'{("@" + hex(id(o))[2:]) if self._with_id else ""}' # noqa
2058
2058
  f'({vs})'
2059
2059
  )
2060
2060
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ominfra
3
- Version: 0.0.0.dev434
3
+ Version: 0.0.0.dev435
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License-Expression: BSD-3-Clause
@@ -14,8 +14,8 @@ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Python: >=3.13
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: omdev==0.0.0.dev434
18
- Requires-Dist: omlish==0.0.0.dev434
17
+ Requires-Dist: omdev==0.0.0.dev435
18
+ Requires-Dist: omlish==0.0.0.dev435
19
19
  Provides-Extra: all
20
20
  Requires-Dist: paramiko~=4.0; extra == "all"
21
21
  Requires-Dist: asyncssh~=2.21; extra == "all"
@@ -112,9 +112,9 @@ ominfra/manage/targets/connection.py,sha256=mOHCsDVG-DZBhl3Mb7TTr1vhPb0gxDOOMW1x
112
112
  ominfra/manage/targets/inject.py,sha256=3M4wBkxtvymq_yhiotHlTN8iydELMjVCndyp9Bq-4eo,1572
113
113
  ominfra/manage/targets/targets.py,sha256=LjSQrDsHEjEQMDHcxtNKmLjy0YGLXJRGPFdUjazzFIM,1918
114
114
  ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
- ominfra/scripts/journald2aws.py,sha256=djP-ywraucrb3UTm0oCk1WjugORbV_tcvJPXSZQAhdE,242341
116
- ominfra/scripts/manage.py,sha256=HZU2z0BC32nokLzqi8CDeQi7xcY_SDnbNRS4lPP5Y58,466062
117
- ominfra/scripts/supervisor.py,sha256=GM8cRAi6hkOx3-RQRiN-DrBYNsZba0vOmraaYL0OWIk,375801
115
+ ominfra/scripts/journald2aws.py,sha256=liuYP9LafxEtdpTNwmg0NNud3jvREALZinjOm185x6c,242365
116
+ ominfra/scripts/manage.py,sha256=z15lbtJDoDWCOwdyxstghnE311b5SMiE9r9Zdru6Kus,466302
117
+ ominfra/scripts/supervisor.py,sha256=hnvhbeCLrvEzyavM6NjVS5s0ohetXXiGrFVyfOe2FXs,375921
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=XASv9C_CWI-u-yX5jVzhJrkJhlwQRkYQWQQG1uJwAd8,1375
156
156
  ominfra/tailscale/cli.py,sha256=zRV7-tKB7kBah1oTVZlol-vwx1FBlnfzYAPGkeU5jX4,3543
157
157
  ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
158
158
  ominfra/tools/listresources.py,sha256=ePmo7cUAiBZARkM_3K4GKYZXxV73An_aioS1m-AAJis,6181
159
- ominfra-0.0.0.dev434.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
- ominfra-0.0.0.dev434.dist-info/METADATA,sha256=I17H1I8IQx67vr1Sj-_hhiqPr5bGg6H1BdwYGljGKtU,2377
161
- ominfra-0.0.0.dev434.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- ominfra-0.0.0.dev434.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
- ominfra-0.0.0.dev434.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
- ominfra-0.0.0.dev434.dist-info/RECORD,,
159
+ ominfra-0.0.0.dev435.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
+ ominfra-0.0.0.dev435.dist-info/METADATA,sha256=nIxIEiPSO1ZjCasaP9wRSxYxu06AwTzZZm5xOILAhRw,2377
161
+ ominfra-0.0.0.dev435.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
+ ominfra-0.0.0.dev435.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
+ ominfra-0.0.0.dev435.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
+ ominfra-0.0.0.dev435.dist-info/RECORD,,