ominfra 0.0.0.dev200__py3-none-any.whl → 0.0.0.dev202__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 ominfra might be problematic. Click here for more details.
- ominfra/clouds/aws/models/gen/cli.py +10 -1
- ominfra/clouds/aws/models/gen/gen.py +73 -16
- ominfra/clouds/aws/models/services/ec2.py +1998 -127
- ominfra/clouds/aws/models/services/lambda_.py +864 -0
- ominfra/clouds/aws/models/services/rds.py +1898 -0
- ominfra/clouds/aws/models/services/s3.py +527 -9
- ominfra/clouds/aws/models/services/services.toml +25 -0
- ominfra/commands/__init__.py +0 -0
- ominfra/{ssh.py → commands/ssh.py} +2 -2
- ominfra/scripts/manage.py +1 -2
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/METADATA +4 -4
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/RECORD +17 -14
- /ominfra/{cmds.py → commands/runners.py} +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/LICENSE +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
[services.ec2]
|
|
2
2
|
operations = [
|
|
3
|
+
'DescribeAddresses',
|
|
3
4
|
'DescribeInstances',
|
|
5
|
+
'DescribeInternetGateways',
|
|
6
|
+
'DescribeKeyPairs',
|
|
7
|
+
'DescribeNetworkInterfaces',
|
|
8
|
+
'DescribeSecurityGroups',
|
|
9
|
+
'DescribeSubnets',
|
|
10
|
+
'DescribeVpcs',
|
|
11
|
+
'DescribeVpcs',
|
|
4
12
|
'RebootInstances',
|
|
5
13
|
'RunInstances',
|
|
6
14
|
'StartInstances',
|
|
@@ -8,9 +16,26 @@ operations = [
|
|
|
8
16
|
'TerminateInstances',
|
|
9
17
|
]
|
|
10
18
|
|
|
19
|
+
[services.lambda]
|
|
20
|
+
operations = [
|
|
21
|
+
'ListFunctions',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[services.rds]
|
|
25
|
+
operations = [
|
|
26
|
+
'CreateDBInstance',
|
|
27
|
+
'DeleteDBInstance',
|
|
28
|
+
'DescribeDBInstances',
|
|
29
|
+
'RebootDBInstance',
|
|
30
|
+
'StartDBInstance',
|
|
31
|
+
'StopDBInstance',
|
|
32
|
+
]
|
|
33
|
+
|
|
11
34
|
[services.s3]
|
|
12
35
|
operations = [
|
|
13
36
|
'DeleteObject',
|
|
14
37
|
'GetObject',
|
|
38
|
+
'ListBuckets',
|
|
39
|
+
'ListObjectsV2',
|
|
15
40
|
'PutObject',
|
|
16
41
|
]
|
|
File without changes
|
|
@@ -23,8 +23,8 @@ from omlish import check
|
|
|
23
23
|
from omlish import dataclasses as dc
|
|
24
24
|
from omlish import lang
|
|
25
25
|
|
|
26
|
-
from .
|
|
27
|
-
from .
|
|
26
|
+
from .runners import CommandRunner
|
|
27
|
+
from .runners import LocalCommandRunner
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
if ta.TYPE_CHECKING:
|
ominfra/scripts/manage.py
CHANGED
|
@@ -10578,8 +10578,7 @@ class SystemInterpProvider(InterpProvider):
|
|
|
10578
10578
|
async def get_exe_version(self, exe: str) -> ta.Optional[InterpVersion]:
|
|
10579
10579
|
if not self._options.inspect:
|
|
10580
10580
|
s = os.path.basename(exe)
|
|
10581
|
-
|
|
10582
|
-
s = s[len('python'):]
|
|
10581
|
+
s = s.removeprefix('python')
|
|
10583
10582
|
if '.' in s:
|
|
10584
10583
|
try:
|
|
10585
10584
|
return InterpVersion.parse(s)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ominfra
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev202
|
|
4
4
|
Summary: ominfra
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -12,9 +12,9 @@ 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.
|
|
17
|
-
Requires-Dist: omserv==0.0.0.
|
|
15
|
+
Requires-Dist: omdev==0.0.0.dev202
|
|
16
|
+
Requires-Dist: omlish==0.0.0.dev202
|
|
17
|
+
Requires-Dist: omserv==0.0.0.dev202
|
|
18
18
|
Provides-Extra: all
|
|
19
19
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
|
20
20
|
Requires-Dist: asyncssh~=2.18; extra == "all"
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
ominfra/.manifests.json,sha256=8KREXxMAlsilZOktXPYru1ND3V5hFI22vnrp6hT3bio,589
|
|
2
2
|
ominfra/__about__.py,sha256=_gUs3H7uunGy5IfGw3mq4dFJWaF1mecSPruJPyjbs7Y,741
|
|
3
3
|
ominfra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
ominfra/cmds.py,sha256=E0AfnvEmnKntXWvmLW5L05_NeDpBET1VBXn7vV6EwBQ,2083
|
|
5
4
|
ominfra/pyremote.py,sha256=HLfAZl3Xw5CpxLS5PS380zqCyE7n3vKVksIYT2Fbdc8,15197
|
|
6
|
-
ominfra/ssh.py,sha256=jQpc4WvkMckIfk4vILda8zFaeharRqc_6wxW50b0OjQ,5431
|
|
7
5
|
ominfra/systemd.py,sha256=d61NVrJoItzSaqhMDgKGrQjbrxEVAujUMDsj8WggXos,1022
|
|
8
6
|
ominfra/threadworkers.py,sha256=oX4ubZn7h932saXpRIJu2MNhBExgGGMuGhdXarZxLJw,4948
|
|
9
7
|
ominfra/clouds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -24,14 +22,19 @@ ominfra/clouds/aws/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
|
24
22
|
ominfra/clouds/aws/models/base.py,sha256=A9zBGZNVtxKdbbnr2YU4AruyHEvIIYXFganOHcQacfE,1601
|
|
25
23
|
ominfra/clouds/aws/models/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
24
|
ominfra/clouds/aws/models/gen/__main__.py,sha256=Jsrv3P7LX2Cg08W7ByZfZ1JQT4lgLDPW1qNAmShFuMk,75
|
|
27
|
-
ominfra/clouds/aws/models/gen/cli.py,sha256=
|
|
28
|
-
ominfra/clouds/aws/models/gen/gen.py,sha256=
|
|
25
|
+
ominfra/clouds/aws/models/gen/cli.py,sha256=ZFupd0wmZbz_vaq6C1AJpcwgtX_qnZ2XhXIwwBoaE8s,3725
|
|
26
|
+
ominfra/clouds/aws/models/gen/gen.py,sha256=ZgtPEF7cD53PBoXwTGJl6B5ziZeZP7V3_61DMSk-Io4,13482
|
|
29
27
|
ominfra/clouds/aws/models/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
ominfra/clouds/aws/models/services/ec2.py,sha256=
|
|
31
|
-
ominfra/clouds/aws/models/services/
|
|
32
|
-
ominfra/clouds/aws/models/services/
|
|
28
|
+
ominfra/clouds/aws/models/services/ec2.py,sha256=xoV57eOfRI7CibKRhq_rFO8A7b1Ii0_ccnJjQ3Pf2AE,148527
|
|
29
|
+
ominfra/clouds/aws/models/services/lambda_.py,sha256=xK021SBixPpXbF6CwxYWdRamoUzviTSioXzeytfiBos,23090
|
|
30
|
+
ominfra/clouds/aws/models/services/rds.py,sha256=FNhaSR6rq3Xzlz16Aqp7e_HfejRrpxsnSJzH-tpUiuA,52509
|
|
31
|
+
ominfra/clouds/aws/models/services/s3.py,sha256=HzmOuYStuv2G4_g0z4jT2Kjq2Q-7zhtk-HvOjX5jDg0,38004
|
|
32
|
+
ominfra/clouds/aws/models/services/services.toml,sha256=jiJaQPkuAWvDLaI0ERrDhhnnt1ceJH44NLrTlJSO0FE,684
|
|
33
33
|
ominfra/clouds/gcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
ominfra/clouds/gcp/auth.py,sha256=rDIiOH5gP3OSIaMC5Lp8yAD4zWuLDEYlFu37mDx5YDA,1360
|
|
35
|
+
ominfra/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
|
+
ominfra/commands/runners.py,sha256=E0AfnvEmnKntXWvmLW5L05_NeDpBET1VBXn7vV6EwBQ,2083
|
|
37
|
+
ominfra/commands/ssh.py,sha256=Fm9I7Pl9owzfRqw_03-G1k0ifbZHXqxzCPvzAwDPYeE,5437
|
|
35
38
|
ominfra/journald/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
39
|
ominfra/journald/fields.py,sha256=NjjVn7GW4jkcGdyiiizVjEfQqSFnolXYk3kDcSQcMmc,12278
|
|
37
40
|
ominfra/journald/genmessages.py,sha256=rLTS-K2v7otNOtTz4RoOEVYCm0fQuuBzf47e0T61tA8,1857
|
|
@@ -104,7 +107,7 @@ ominfra/manage/targets/inject.py,sha256=P4597xWM-V3I_gCt2O71OLhYQkkXtuJvkYRsIbhh
|
|
|
104
107
|
ominfra/manage/targets/targets.py,sha256=7GP6UAZyJFEhpkJN6UQdpr_WN3p7C76v-s445y-WB6U,1885
|
|
105
108
|
ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
109
|
ominfra/scripts/journald2aws.py,sha256=Bo_24qN3YI_72BcZYBHid9_SJWnCAmbKRJ3-wE6dGMU,166250
|
|
107
|
-
ominfra/scripts/manage.py,sha256=
|
|
110
|
+
ominfra/scripts/manage.py,sha256=lqX1VW3AJakfypxc67HvUwj3HFWJKPtuAXU7Rz1S83c,357150
|
|
108
111
|
ominfra/scripts/supervisor.py,sha256=6OQnZfnHfXT-hHsGQA_OhA_BjOs01vzInkmEZWYhiVY,291847
|
|
109
112
|
ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
|
|
110
113
|
ominfra/supervisor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
|
|
@@ -147,9 +150,9 @@ ominfra/tailscale/api.py,sha256=C5-t_b6jZXUWcy5k8bXm7CFnk73pSdrlMOgGDeGVrpw,1370
|
|
|
147
150
|
ominfra/tailscale/cli.py,sha256=3FnJbgpLw6gInTfhERd1mDy9ijjMUGxkdYVo43Tnxx4,3555
|
|
148
151
|
ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
149
152
|
ominfra/tools/listresources.py,sha256=4qVg5txsb10EHhvqXXeM6gJ2jx9LbroEnPydDv1uXs0,6176
|
|
150
|
-
ominfra-0.0.0.
|
|
151
|
-
ominfra-0.0.0.
|
|
152
|
-
ominfra-0.0.0.
|
|
153
|
-
ominfra-0.0.0.
|
|
154
|
-
ominfra-0.0.0.
|
|
155
|
-
ominfra-0.0.0.
|
|
153
|
+
ominfra-0.0.0.dev202.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
|
154
|
+
ominfra-0.0.0.dev202.dist-info/METADATA,sha256=N1A5DORpzfi4wqDWRRQ6V6igr8TOuE3jgRvz2_jTKD8,767
|
|
155
|
+
ominfra-0.0.0.dev202.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
156
|
+
ominfra-0.0.0.dev202.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
|
|
157
|
+
ominfra-0.0.0.dev202.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
|
|
158
|
+
ominfra-0.0.0.dev202.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|