ominfra 0.0.0.dev433__py3-none-any.whl → 0.0.0.dev501__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.

Files changed (29) hide show
  1. ominfra/README.md +26 -0
  2. ominfra/__about__.py +5 -2
  3. ominfra/clouds/aws/instancetypes/cache.json.gz +0 -0
  4. ominfra/clouds/aws/journald2aws/main.py +1 -1
  5. ominfra/clouds/aws/models/{base.py → base/__init__.py} +6 -0
  6. ominfra/clouds/aws/models/base/_dataclasses.py +721 -0
  7. ominfra/clouds/aws/models/gen/cli.py +2 -1
  8. ominfra/clouds/aws/models/gen/gen.py +16 -7
  9. ominfra/clouds/aws/models/services/{ec2.py → ec2/__init__.py} +123 -1
  10. ominfra/clouds/aws/models/services/ec2/_dataclasses.py +30654 -0
  11. ominfra/clouds/aws/models/services/{lambda_.py → lambda_/__init__.py} +139 -1
  12. ominfra/clouds/aws/models/services/lambda_/_dataclasses.py +4182 -0
  13. ominfra/clouds/aws/models/services/{rds.py → rds/__init__.py} +244 -78
  14. ominfra/clouds/aws/models/services/rds/_dataclasses.py +8231 -0
  15. ominfra/clouds/aws/models/services/{s3.py → s3/__init__.py} +9 -1
  16. ominfra/clouds/aws/models/services/s3/_dataclasses.py +5014 -0
  17. ominfra/manage/bootstrap_.py +1 -1
  18. ominfra/manage/main.py +1 -2
  19. ominfra/manage/targets/bestpython.sh +1 -1
  20. ominfra/scripts/journald2aws.py +748 -71
  21. ominfra/scripts/manage.py +824 -99
  22. ominfra/scripts/supervisor.py +925 -123
  23. ominfra/supervisor/main.py +1 -1
  24. {ominfra-0.0.0.dev433.dist-info → ominfra-0.0.0.dev501.dist-info}/METADATA +7 -5
  25. {ominfra-0.0.0.dev433.dist-info → ominfra-0.0.0.dev501.dist-info}/RECORD +29 -23
  26. {ominfra-0.0.0.dev433.dist-info → ominfra-0.0.0.dev501.dist-info}/WHEEL +0 -0
  27. {ominfra-0.0.0.dev433.dist-info → ominfra-0.0.0.dev501.dist-info}/entry_points.txt +0 -0
  28. {ominfra-0.0.0.dev433.dist-info → ominfra-0.0.0.dev501.dist-info}/licenses/LICENSE +0 -0
  29. {ominfra-0.0.0.dev433.dist-info → ominfra-0.0.0.dev501.dist-info}/top_level.txt +0 -0
ominfra/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # Overview
2
+
3
+ Infrastructure and cloud code.
4
+
5
+ # Notable packages
6
+
7
+ - **[clouds.aws](https://github.com/wrmsr/omlish/blob/master/ominfra/clouds/aws)** - boto-less aws tools, including
8
+ authentication and generated service dataclasses.
9
+
10
+ - **[journald2aws](https://github.com/wrmsr/omlish/blob/master/ominfra/clouds/aws/journald2aws)**
11
+ ([amalg](https://github.com/wrmsr/omlish/blob/master/ominfra/scripts/journald2aws.py)) - a self-contained little tool
12
+ that forwards journald to cloudwatch.
13
+
14
+ - **[pyremote](https://github.com/wrmsr/omlish/blob/master/ominfra/pyremote.py)** - does the
15
+ [mitogen trick](https://mitogen.networkgenomics.com/howitworks.html) to facilitate remote execution of python code.
16
+ due to amalgamation, import shenanigans aren't required to do useful work.
17
+
18
+ - **[manage](https://github.com/wrmsr/omlish/blob/master/ominfra/manage)**
19
+ ([amalg](https://github.com/wrmsr/omlish/blob/master/ominfra/scripts/manage.py)) - a remote system management tool,
20
+ including a code deployment system. inspired by things like [mitogen](https://mitogen.networkgenomics.com/),
21
+ [pyinfra](https://github.com/pyinfra-dev/pyinfra), [piku](https://github.com/piku/piku). uses pyremote.
22
+
23
+ - **[supervisor](https://github.com/wrmsr/omlish/blob/master/ominfra/supervisor)**
24
+ ([amalg](https://github.com/wrmsr/omlish/blob/master/ominfra/scripts/supervisor.py)) - an overhauled,
25
+ [amalgamated](https://github.com/wrmsr/omlish/blob/master/omdev#amalgamation) fork of
26
+ [supervisor](https://github.com/Supervisor/supervisor)
ominfra/__about__.py CHANGED
@@ -8,15 +8,18 @@ class Project(ProjectBase):
8
8
  description = 'ominfra'
9
9
 
10
10
  dependencies = [
11
- f'omdev == {__version__}',
12
11
  f'omlish == {__version__}',
13
12
  ]
14
13
 
15
14
  optional_dependencies = {
15
+ 'omdev': [
16
+ f'omdev == {__version__}',
17
+ ],
18
+
16
19
  'ssh': [
17
20
  'paramiko ~= 4.0', # !! LGPL
18
21
 
19
- 'asyncssh ~= 2.21', # cffi
22
+ 'asyncssh ~= 2.22', # cffi
20
23
  ],
21
24
  }
22
25
 
@@ -5,7 +5,7 @@ import os.path
5
5
  import sys
6
6
 
7
7
  from omlish.lite.configs import load_config_file_obj
8
- from omlish.logs.standard import configure_standard_logging
8
+ from omlish.logs.std.standard import configure_standard_logging
9
9
 
10
10
  from .driver import JournalctlToAwsDriver
11
11
 
@@ -7,6 +7,12 @@ from omlish import dataclasses as dc
7
7
  from omlish import lang
8
8
 
9
9
 
10
+ dc.init_package(
11
+ globals(),
12
+ codegen=True,
13
+ )
14
+
15
+
10
16
  DateTime = ta.NewType('DateTime', str)
11
17
  MillisecondDateTime = ta.NewType('MillisecondDateTime', str)
12
18