gui4aws 0.0.1__tar.gz
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.
- gui4aws-0.0.1/.gitignore +219 -0
- gui4aws-0.0.1/LICENSE +21 -0
- gui4aws-0.0.1/PKG-INFO +94 -0
- gui4aws-0.0.1/README.md +58 -0
- gui4aws-0.0.1/gui4aws/__about__.py +25 -0
- gui4aws-0.0.1/gui4aws/__init__.py +11 -0
- gui4aws-0.0.1/gui4aws/__main__.py +6 -0
- gui4aws-0.0.1/gui4aws/app.py +121 -0
- gui4aws-0.0.1/gui4aws/cli.py +194 -0
- gui4aws-0.0.1/gui4aws/config.py +139 -0
- gui4aws-0.0.1/gui4aws/demo_resources/__init__.py +79 -0
- gui4aws-0.0.1/gui4aws/demo_resources/_common.py +11 -0
- gui4aws-0.0.1/gui4aws/demo_resources/aurora.py +89 -0
- gui4aws-0.0.1/gui4aws/demo_resources/backup.py +167 -0
- gui4aws-0.0.1/gui4aws/demo_resources/compute.py +97 -0
- gui4aws-0.0.1/gui4aws/demo_resources/ecs.py +113 -0
- gui4aws-0.0.1/gui4aws/demo_resources/iam_resources.py +77 -0
- gui4aws-0.0.1/gui4aws/demo_resources/kms.py +51 -0
- gui4aws-0.0.1/gui4aws/demo_resources/messaging.py +58 -0
- gui4aws-0.0.1/gui4aws/demo_resources/monitoring.py +136 -0
- gui4aws-0.0.1/gui4aws/demo_resources/networking.py +121 -0
- gui4aws-0.0.1/gui4aws/demo_resources/secrets.py +71 -0
- gui4aws-0.0.1/gui4aws/demo_resources/storage.py +81 -0
- gui4aws-0.0.1/gui4aws/execution/__init__.py +17 -0
- gui4aws-0.0.1/gui4aws/execution/action_cache.py +200 -0
- gui4aws-0.0.1/gui4aws/execution/action_history.py +141 -0
- gui4aws-0.0.1/gui4aws/execution/aws_cli_executor.py +208 -0
- gui4aws-0.0.1/gui4aws/execution/boto3_executor.py +201 -0
- gui4aws-0.0.1/gui4aws/execution/endpoint_config.py +52 -0
- gui4aws-0.0.1/gui4aws/execution/execution_mode.py +14 -0
- gui4aws-0.0.1/gui4aws/execution/script_generator.py +208 -0
- gui4aws-0.0.1/gui4aws/gui/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/gui/action_dialog.py +355 -0
- gui4aws-0.0.1/gui4aws/gui/action_form.py +106 -0
- gui4aws-0.0.1/gui4aws/gui/cdk_dialog.py +783 -0
- gui4aws-0.0.1/gui4aws/gui/confirmation_dialog.py +136 -0
- gui4aws-0.0.1/gui4aws/gui/detail_tree.py +66 -0
- gui4aws-0.0.1/gui4aws/gui/diagnostic_panel.py +415 -0
- gui4aws-0.0.1/gui4aws/gui/filter_bar.py +242 -0
- gui4aws-0.0.1/gui4aws/gui/jmespath_designer_dialog.py +658 -0
- gui4aws-0.0.1/gui4aws/gui/json_viewer_dialog.py +216 -0
- gui4aws-0.0.1/gui4aws/gui/main_panel.py +515 -0
- gui4aws-0.0.1/gui4aws/gui/main_window.py +1233 -0
- gui4aws-0.0.1/gui4aws/gui/output_panel.py +189 -0
- gui4aws-0.0.1/gui4aws/gui/resource_table.py +119 -0
- gui4aws-0.0.1/gui4aws/gui/review_dialog.py +196 -0
- gui4aws-0.0.1/gui4aws/gui/script_editor_panel.py +194 -0
- gui4aws-0.0.1/gui4aws/gui/script_viewer.py +57 -0
- gui4aws-0.0.1/gui4aws/gui/server_manager_mixin.py +249 -0
- gui4aws-0.0.1/gui4aws/gui/sidebar.py +76 -0
- gui4aws-0.0.1/gui4aws/gui/sql_runner_dialog.py +396 -0
- gui4aws-0.0.1/gui4aws/gui/status_bar.py +51 -0
- gui4aws-0.0.1/gui4aws/gui/terraform_dialog.py +68 -0
- gui4aws-0.0.1/gui4aws/gui/toolbar.py +214 -0
- gui4aws-0.0.1/gui4aws/gui/window_helpers.py +279 -0
- gui4aws-0.0.1/gui4aws/gui/worker.py +146 -0
- gui4aws-0.0.1/gui4aws/logging_config.py +58 -0
- gui4aws-0.0.1/gui4aws/models.py +300 -0
- gui4aws-0.0.1/gui4aws/moto_server.py +241 -0
- gui4aws-0.0.1/gui4aws/py.typed +0 -0
- gui4aws-0.0.1/gui4aws/robotocore_server.py +345 -0
- gui4aws-0.0.1/gui4aws/services/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/athena/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/athena/actions.py +278 -0
- gui4aws-0.0.1/gui4aws/services/athena/models.py +34 -0
- gui4aws-0.0.1/gui4aws/services/athena/service.py +69 -0
- gui4aws-0.0.1/gui4aws/services/athena/views.py +95 -0
- gui4aws-0.0.1/gui4aws/services/aurora/__init__.py +9 -0
- gui4aws-0.0.1/gui4aws/services/aurora/actions.py +1072 -0
- gui4aws-0.0.1/gui4aws/services/aurora/models.py +95 -0
- gui4aws-0.0.1/gui4aws/services/aurora/service.py +202 -0
- gui4aws-0.0.1/gui4aws/services/aurora/views.py +183 -0
- gui4aws-0.0.1/gui4aws/services/backup/__init__.py +13 -0
- gui4aws-0.0.1/gui4aws/services/backup/actions.py +601 -0
- gui4aws-0.0.1/gui4aws/services/backup/models.py +93 -0
- gui4aws-0.0.1/gui4aws/services/backup/service.py +154 -0
- gui4aws-0.0.1/gui4aws/services/backup/views.py +151 -0
- gui4aws-0.0.1/gui4aws/services/cloudformation/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/cloudformation/actions.py +285 -0
- gui4aws-0.0.1/gui4aws/services/cloudformation/models.py +19 -0
- gui4aws-0.0.1/gui4aws/services/cloudformation/service.py +92 -0
- gui4aws-0.0.1/gui4aws/services/cloudformation/views.py +35 -0
- gui4aws-0.0.1/gui4aws/services/cloudwatch/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/cloudwatch/actions.py +303 -0
- gui4aws-0.0.1/gui4aws/services/cloudwatch/models.py +49 -0
- gui4aws-0.0.1/gui4aws/services/cloudwatch/service.py +81 -0
- gui4aws-0.0.1/gui4aws/services/cloudwatch/views.py +99 -0
- gui4aws-0.0.1/gui4aws/services/ecs/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/ecs/actions.py +760 -0
- gui4aws-0.0.1/gui4aws/services/ecs/models.py +62 -0
- gui4aws-0.0.1/gui4aws/services/ecs/service.py +185 -0
- gui4aws-0.0.1/gui4aws/services/ecs/views.py +180 -0
- gui4aws-0.0.1/gui4aws/services/iam/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/iam/actions.py +368 -0
- gui4aws-0.0.1/gui4aws/services/iam/models.py +55 -0
- gui4aws-0.0.1/gui4aws/services/iam/service.py +129 -0
- gui4aws-0.0.1/gui4aws/services/iam/views.py +81 -0
- gui4aws-0.0.1/gui4aws/services/kms/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/kms/actions.py +388 -0
- gui4aws-0.0.1/gui4aws/services/kms/models.py +49 -0
- gui4aws-0.0.1/gui4aws/services/kms/service.py +87 -0
- gui4aws-0.0.1/gui4aws/services/kms/views.py +103 -0
- gui4aws-0.0.1/gui4aws/services/lambdas/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/lambdas/actions.py +243 -0
- gui4aws-0.0.1/gui4aws/services/lambdas/models.py +22 -0
- gui4aws-0.0.1/gui4aws/services/lambdas/service.py +53 -0
- gui4aws-0.0.1/gui4aws/services/lambdas/views.py +48 -0
- gui4aws-0.0.1/gui4aws/services/networking/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/networking/actions.py +545 -0
- gui4aws-0.0.1/gui4aws/services/networking/models.py +87 -0
- gui4aws-0.0.1/gui4aws/services/networking/service.py +136 -0
- gui4aws-0.0.1/gui4aws/services/networking/views.py +203 -0
- gui4aws-0.0.1/gui4aws/services/s3/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/s3/actions.py +215 -0
- gui4aws-0.0.1/gui4aws/services/s3/models.py +27 -0
- gui4aws-0.0.1/gui4aws/services/s3/service.py +72 -0
- gui4aws-0.0.1/gui4aws/services/s3/views.py +49 -0
- gui4aws-0.0.1/gui4aws/services/secrets/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/secrets/actions.py +264 -0
- gui4aws-0.0.1/gui4aws/services/secrets/models.py +22 -0
- gui4aws-0.0.1/gui4aws/services/secrets/service.py +73 -0
- gui4aws-0.0.1/gui4aws/services/secrets/views.py +47 -0
- gui4aws-0.0.1/gui4aws/services/service_registry.py +144 -0
- gui4aws-0.0.1/gui4aws/services/ses/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/ses/actions.py +128 -0
- gui4aws-0.0.1/gui4aws/services/ses/models.py +25 -0
- gui4aws-0.0.1/gui4aws/services/ses/service.py +46 -0
- gui4aws-0.0.1/gui4aws/services/ses/views.py +44 -0
- gui4aws-0.0.1/gui4aws/services/sns/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/sns/actions.py +183 -0
- gui4aws-0.0.1/gui4aws/services/sns/models.py +27 -0
- gui4aws-0.0.1/gui4aws/services/sns/service.py +66 -0
- gui4aws-0.0.1/gui4aws/services/sns/views.py +41 -0
- gui4aws-0.0.1/gui4aws/services/sqs/__init__.py +0 -0
- gui4aws-0.0.1/gui4aws/services/sqs/actions.py +243 -0
- gui4aws-0.0.1/gui4aws/services/sqs/models.py +18 -0
- gui4aws-0.0.1/gui4aws/services/sqs/service.py +59 -0
- gui4aws-0.0.1/gui4aws/services/sqs/views.py +40 -0
- gui4aws-0.0.1/gui4aws/services/ssm/__init__.py +5 -0
- gui4aws-0.0.1/gui4aws/services/ssm/actions.py +223 -0
- gui4aws-0.0.1/gui4aws/services/ssm/models.py +20 -0
- gui4aws-0.0.1/gui4aws/services/ssm/service.py +93 -0
- gui4aws-0.0.1/gui4aws/services/ssm/views.py +49 -0
- gui4aws-0.0.1/gui4aws/sql_runner/__init__.py +1 -0
- gui4aws-0.0.1/gui4aws/sql_runner/connection.py +243 -0
- gui4aws-0.0.1/gui4aws/testing/__init__.py +7 -0
- gui4aws-0.0.1/gui4aws/testing/moto_support.py +30 -0
- gui4aws-0.0.1/pyproject.toml +246 -0
- gui4aws-0.0.1/tests/__init__.py +0 -0
- gui4aws-0.0.1/tests/conftest.py +24 -0
- gui4aws-0.0.1/tests/test_action_cache.py +169 -0
- gui4aws-0.0.1/tests/test_action_form.py +153 -0
- gui4aws-0.0.1/tests/test_action_history.py +84 -0
- gui4aws-0.0.1/tests/test_app_context.py +58 -0
- gui4aws-0.0.1/tests/test_aurora_actions.py +298 -0
- gui4aws-0.0.1/tests/test_aws_cli_executor.py +138 -0
- gui4aws-0.0.1/tests/test_backup_actions.py +223 -0
- gui4aws-0.0.1/tests/test_boto3_executor_extended.py +83 -0
- gui4aws-0.0.1/tests/test_cli.py +37 -0
- gui4aws-0.0.1/tests/test_cloudformation_actions.py +63 -0
- gui4aws-0.0.1/tests/test_cloudwatch_actions.py +101 -0
- gui4aws-0.0.1/tests/test_config.py +39 -0
- gui4aws-0.0.1/tests/test_demo_resources.py +20 -0
- gui4aws-0.0.1/tests/test_dialogs.py +122 -0
- gui4aws-0.0.1/tests/test_ecs_actions.py +133 -0
- gui4aws-0.0.1/tests/test_endpoint_config.py +29 -0
- gui4aws-0.0.1/tests/test_iac_dialogs.py +57 -0
- gui4aws-0.0.1/tests/test_iam_actions.py +129 -0
- gui4aws-0.0.1/tests/test_kms_actions.py +131 -0
- gui4aws-0.0.1/tests/test_lambda_actions.py +89 -0
- gui4aws-0.0.1/tests/test_main_window_aurora.py +133 -0
- gui4aws-0.0.1/tests/test_main_window_cache.py +353 -0
- gui4aws-0.0.1/tests/test_models_pure.py +297 -0
- gui4aws-0.0.1/tests/test_moto_server_tk.py +213 -0
- gui4aws-0.0.1/tests/test_networking_actions.py +106 -0
- gui4aws-0.0.1/tests/test_phase4_write_flows.py +173 -0
- gui4aws-0.0.1/tests/test_s3_actions.py +102 -0
- gui4aws-0.0.1/tests/test_script_generator.py +84 -0
- gui4aws-0.0.1/tests/test_script_generator_extended.py +108 -0
- gui4aws-0.0.1/tests/test_secrets_actions.py +117 -0
- gui4aws-0.0.1/tests/test_service_registry.py +40 -0
- gui4aws-0.0.1/tests/test_ses_actions.py +51 -0
- gui4aws-0.0.1/tests/test_sns_actions.py +81 -0
- gui4aws-0.0.1/tests/test_sqs_actions.py +107 -0
- gui4aws-0.0.1/tests/test_ssm_actions.py +82 -0
- gui4aws-0.0.1/tests/test_views_pure.py +342 -0
- gui4aws-0.0.1/tests/test_widgets.py +175 -0
gui4aws-0.0.1/.gitignore
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
# Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
# poetry.lock
|
|
109
|
+
# poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
# pdm.lock
|
|
116
|
+
# pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
# pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# Redis
|
|
135
|
+
*.rdb
|
|
136
|
+
*.aof
|
|
137
|
+
*.pid
|
|
138
|
+
|
|
139
|
+
# RabbitMQ
|
|
140
|
+
mnesia/
|
|
141
|
+
rabbitmq/
|
|
142
|
+
rabbitmq-data/
|
|
143
|
+
|
|
144
|
+
# ActiveMQ
|
|
145
|
+
activemq-data/
|
|
146
|
+
|
|
147
|
+
# SageMath parsed files
|
|
148
|
+
*.sage.py
|
|
149
|
+
|
|
150
|
+
# Environments
|
|
151
|
+
.env
|
|
152
|
+
.envrc
|
|
153
|
+
.venv
|
|
154
|
+
env/
|
|
155
|
+
venv/
|
|
156
|
+
ENV/
|
|
157
|
+
env.bak/
|
|
158
|
+
venv.bak/
|
|
159
|
+
|
|
160
|
+
# Spyder project settings
|
|
161
|
+
.spyderproject
|
|
162
|
+
.spyproject
|
|
163
|
+
|
|
164
|
+
# Rope project settings
|
|
165
|
+
.ropeproject
|
|
166
|
+
|
|
167
|
+
# mkdocs documentation
|
|
168
|
+
/site
|
|
169
|
+
|
|
170
|
+
# mypy
|
|
171
|
+
.mypy_cache/
|
|
172
|
+
.dmypy.json
|
|
173
|
+
dmypy.json
|
|
174
|
+
|
|
175
|
+
# Pyre type checker
|
|
176
|
+
.pyre/
|
|
177
|
+
|
|
178
|
+
# pytype static type analyzer
|
|
179
|
+
.pytype/
|
|
180
|
+
|
|
181
|
+
# Cython debug symbols
|
|
182
|
+
cython_debug/
|
|
183
|
+
|
|
184
|
+
# PyCharm
|
|
185
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
186
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
188
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
189
|
+
# .idea/
|
|
190
|
+
|
|
191
|
+
# Abstra
|
|
192
|
+
# Abstra is an AI-powered process automation framework.
|
|
193
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
194
|
+
# Learn more at https://abstra.io/docs
|
|
195
|
+
.abstra/
|
|
196
|
+
|
|
197
|
+
# Visual Studio Code
|
|
198
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
199
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
200
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
201
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
202
|
+
# .vscode/
|
|
203
|
+
# Temporary file for partial code execution
|
|
204
|
+
tempCodeRunnerFile.py
|
|
205
|
+
|
|
206
|
+
# Ruff stuff:
|
|
207
|
+
.ruff_cache/
|
|
208
|
+
|
|
209
|
+
# PyPI configuration file
|
|
210
|
+
.pypirc
|
|
211
|
+
|
|
212
|
+
# Marimo
|
|
213
|
+
marimo/_static/
|
|
214
|
+
marimo/_lsp/
|
|
215
|
+
__marimo__/
|
|
216
|
+
|
|
217
|
+
# Streamlit
|
|
218
|
+
.streamlit/secrets.toml
|
|
219
|
+
.idea
|
gui4aws-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Matthew Martin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
gui4aws-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: gui4aws
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Tkinter GUI for AWS
|
|
5
|
+
Project-URL: Repository, https://github.com/matthewdeanmartin/gui4aws
|
|
6
|
+
Project-URL: Documentation, https://gui4aws.readthedocs.io/en/latest/
|
|
7
|
+
Project-URL: Changelog, https://github.com/matthewdeanmartin/gui4aws/blob/main/CHANGELOG.md
|
|
8
|
+
Project-URL: homepage, https://github.com/matthewdeanmartin/gui4aws
|
|
9
|
+
Project-URL: issues, https://github.com/matthewdeanmartin/gui4aws/issues/
|
|
10
|
+
Author-email: Matthew Martin <matthewdeanmartin@gmail.com>
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: aws,gui,gui4aws,tkinter
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Requires-Python: >=3.10
|
|
25
|
+
Requires-Dist: boto3>=1.35.0
|
|
26
|
+
Requires-Dist: keyring>=25.0.0
|
|
27
|
+
Requires-Dist: tomli>=2.4.1; python_full_version < '3.11'
|
|
28
|
+
Provides-Extra: mysql
|
|
29
|
+
Requires-Dist: pymysql>=1.1.0; extra == 'mysql'
|
|
30
|
+
Provides-Extra: postgresql
|
|
31
|
+
Requires-Dist: pg8000>=1.31.0; extra == 'postgresql'
|
|
32
|
+
Provides-Extra: sql
|
|
33
|
+
Requires-Dist: pg8000>=1.31.0; extra == 'sql'
|
|
34
|
+
Requires-Dist: pymysql>=1.1.0; extra == 'sql'
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# gui4aws
|
|
38
|
+
|
|
39
|
+
Is the web console for AWS slow and annoying? Do you have python? You could have a nice GUI for most services.
|
|
40
|
+
|
|
41
|
+
Design goals
|
|
42
|
+
|
|
43
|
+
- minimal dependencies
|
|
44
|
+
- safety guardrails
|
|
45
|
+
- fast
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
<!-- TODO (generated from template — delete this block once done)
|
|
50
|
+
- [ ] Replace this description with a real one-paragraph summary
|
|
51
|
+
- [ ] Add a PyPI badge: https://badge.fury.io/py/gui4aws
|
|
52
|
+
- [ ] Add a CI badge from your GitHub Actions build.yml
|
|
53
|
+
- [ ] Fill in docs/overview/README.md with a real project overview
|
|
54
|
+
- [ ] Add real AWS service panels to gui4aws/ and update scripts/basic_checks.sh
|
|
55
|
+
- [ ] Register project on Read the Docs and point it at mkdocs.yml
|
|
56
|
+
- [ ] Run `make pre-commit-install` to install git hooks
|
|
57
|
+
- [ ] Run `make gha-upgrade` after first push to pin GHA action SHAs
|
|
58
|
+
- [ ] Add project-specific words to private_dictionary.txt
|
|
59
|
+
- [ ] Update SECURITY.md scope section with what's actually in scope for this project
|
|
60
|
+
- [ ] Update CHANGELOG.md 0.1.0 entry with real release notes
|
|
61
|
+
- [ ] Configure AWS credentials / profile for local development (AWS_PROFILE or ~/.aws/credentials)
|
|
62
|
+
-->
|
|
63
|
+
|
|
64
|
+
Tkinter GUI for AWS
|
|
65
|
+
|
|
66
|
+
## Installation
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pipx install gui4aws
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Or with pip:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pip install gui4aws
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Usage
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
gui4aws --help
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Contributing
|
|
85
|
+
|
|
86
|
+
See [CONTRIBUTING.md](https://github.com/matthewdeanmartin/gui4aws/blob/main/docs/extending/CONTRIBUTING.md).
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
MIT — see [LICENSE](https://github.com/matthewdeanmartin/gui4aws/blob/main/LICENSE).
|
|
91
|
+
|
|
92
|
+
## Changelog
|
|
93
|
+
|
|
94
|
+
See [CHANGELOG.md](https://github.com/matthewdeanmartin/gui4aws/blob/main/CHANGELOG.md).
|
gui4aws-0.0.1/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# gui4aws
|
|
2
|
+
|
|
3
|
+
Is the web console for AWS slow and annoying? Do you have python? You could have a nice GUI for most services.
|
|
4
|
+
|
|
5
|
+
Design goals
|
|
6
|
+
|
|
7
|
+
- minimal dependencies
|
|
8
|
+
- safety guardrails
|
|
9
|
+
- fast
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
<!-- TODO (generated from template — delete this block once done)
|
|
14
|
+
- [ ] Replace this description with a real one-paragraph summary
|
|
15
|
+
- [ ] Add a PyPI badge: https://badge.fury.io/py/gui4aws
|
|
16
|
+
- [ ] Add a CI badge from your GitHub Actions build.yml
|
|
17
|
+
- [ ] Fill in docs/overview/README.md with a real project overview
|
|
18
|
+
- [ ] Add real AWS service panels to gui4aws/ and update scripts/basic_checks.sh
|
|
19
|
+
- [ ] Register project on Read the Docs and point it at mkdocs.yml
|
|
20
|
+
- [ ] Run `make pre-commit-install` to install git hooks
|
|
21
|
+
- [ ] Run `make gha-upgrade` after first push to pin GHA action SHAs
|
|
22
|
+
- [ ] Add project-specific words to private_dictionary.txt
|
|
23
|
+
- [ ] Update SECURITY.md scope section with what's actually in scope for this project
|
|
24
|
+
- [ ] Update CHANGELOG.md 0.1.0 entry with real release notes
|
|
25
|
+
- [ ] Configure AWS credentials / profile for local development (AWS_PROFILE or ~/.aws/credentials)
|
|
26
|
+
-->
|
|
27
|
+
|
|
28
|
+
Tkinter GUI for AWS
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pipx install gui4aws
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Or with pip:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pip install gui4aws
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
gui4aws --help
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Contributing
|
|
49
|
+
|
|
50
|
+
See [CONTRIBUTING.md](https://github.com/matthewdeanmartin/gui4aws/blob/main/docs/extending/CONTRIBUTING.md).
|
|
51
|
+
|
|
52
|
+
## License
|
|
53
|
+
|
|
54
|
+
MIT — see [LICENSE](https://github.com/matthewdeanmartin/gui4aws/blob/main/LICENSE).
|
|
55
|
+
|
|
56
|
+
## Changelog
|
|
57
|
+
|
|
58
|
+
See [CHANGELOG.md](https://github.com/matthewdeanmartin/gui4aws/blob/main/CHANGELOG.md).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""Metadata for gui4aws."""
|
|
2
|
+
|
|
3
|
+
__all__ = [
|
|
4
|
+
"__credits__",
|
|
5
|
+
"__dependencies__",
|
|
6
|
+
"__description__",
|
|
7
|
+
"__keywords__",
|
|
8
|
+
"__license__",
|
|
9
|
+
"__readme__",
|
|
10
|
+
"__requires_python__",
|
|
11
|
+
"__status__",
|
|
12
|
+
"__title__",
|
|
13
|
+
"__version__",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
__title__ = "gui4aws"
|
|
17
|
+
__version__ = "0.0.1"
|
|
18
|
+
__description__ = "Tkinter GUI for AWS"
|
|
19
|
+
__readme__ = "README.md"
|
|
20
|
+
__credits__ = [{"name": "Matthew Martin", "email": "matthewdeanmartin@gmail.com"}]
|
|
21
|
+
__keywords__ = ["gui4aws", "aws", "tkinter", "gui"]
|
|
22
|
+
__license__ = "MIT"
|
|
23
|
+
__requires_python__ = ">=3.10"
|
|
24
|
+
__status__ = "3 - Alpha"
|
|
25
|
+
__dependencies__ = ["boto3>=1.35.0", "keyring>=25.0.0", "tomli>=2.4.1 ; python_full_version < '3.11'"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"""gui4aws: A thoughtful Tkinter GUI for AWS.
|
|
2
|
+
|
|
3
|
+
This package provides a desktop application for browsing and managing AWS resources
|
|
4
|
+
with a focus on safety, transparency, and developer productivity. It supports
|
|
5
|
+
both boto3 and AWS CLI execution modes, and includes built-in support for
|
|
6
|
+
local emulation via Moto and Robotocore.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from gui4aws.__about__ import __version__
|
|
10
|
+
|
|
11
|
+
__all__ = ["__version__"]
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"""AppContext: the single source of truth for runtime selections.
|
|
2
|
+
|
|
3
|
+
The GUI binds widget values to fields on AppContext and asks AppContext for the right executor.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from __future__ import annotations
|
|
7
|
+
|
|
8
|
+
import logging
|
|
9
|
+
from dataclasses import dataclass, field
|
|
10
|
+
from typing import Any
|
|
11
|
+
|
|
12
|
+
from gui4aws.execution.action_cache import ActionCache
|
|
13
|
+
from gui4aws.execution.action_history import ActionHistory
|
|
14
|
+
from gui4aws.execution.aws_cli_executor import AwsCliExecutor
|
|
15
|
+
from gui4aws.execution.boto3_executor import Boto3Executor
|
|
16
|
+
from gui4aws.execution.endpoint_config import EndpointConfig, EndpointMode
|
|
17
|
+
from gui4aws.execution.execution_mode import ExecutionMode
|
|
18
|
+
from gui4aws.services.service_registry import ServiceRegistry, default_registry
|
|
19
|
+
|
|
20
|
+
__all__ = ["AWS_PARTITIONS", "AppContext"]
|
|
21
|
+
|
|
22
|
+
logger = logging.getLogger(__name__)
|
|
23
|
+
|
|
24
|
+
# AWS partitions with their default region for region enumeration.
|
|
25
|
+
# Keys are partition names; values are a (default_region, display_label) tuple.
|
|
26
|
+
AWS_PARTITIONS: dict[str, tuple[str, str]] = {
|
|
27
|
+
"aws": ("us-east-1", "AWS Standard"),
|
|
28
|
+
"aws-us-gov": ("us-gov-west-1", "AWS GovCloud (US)"),
|
|
29
|
+
"aws-cn": ("cn-north-1", "AWS China"),
|
|
30
|
+
"aws-iso": ("us-iso-east-1", "AWS ISO"),
|
|
31
|
+
"aws-iso-b": ("us-isob-east-1", "AWS ISO-B"),
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@dataclass
|
|
36
|
+
class AppContext:
|
|
37
|
+
"""Holds profile/region/mode/endpoint plus the action history and registry."""
|
|
38
|
+
|
|
39
|
+
profile_name: str | None = None
|
|
40
|
+
region_name: str = "us-east-1"
|
|
41
|
+
partition: str = "aws"
|
|
42
|
+
mode: ExecutionMode = ExecutionMode.BOTO3
|
|
43
|
+
endpoint_config: EndpointConfig = field(default_factory=EndpointConfig)
|
|
44
|
+
history: ActionHistory = field(default_factory=ActionHistory)
|
|
45
|
+
registry: ServiceRegistry = field(default_factory=default_registry)
|
|
46
|
+
action_cache: ActionCache = field(default_factory=ActionCache)
|
|
47
|
+
|
|
48
|
+
def set_mode(self, mode: ExecutionMode) -> None:
|
|
49
|
+
"""Change execution mode (AWS CLI vs boto3)."""
|
|
50
|
+
logger.info("execution mode -> %s", mode)
|
|
51
|
+
self.mode = mode
|
|
52
|
+
self.action_cache.clear()
|
|
53
|
+
|
|
54
|
+
def set_region(self, region_name: str) -> None:
|
|
55
|
+
"""Change region; resource lists should refresh after this."""
|
|
56
|
+
logger.info("region -> %s", region_name)
|
|
57
|
+
self.region_name = region_name
|
|
58
|
+
self.action_cache.clear()
|
|
59
|
+
|
|
60
|
+
def set_partition(self, partition: str) -> None:
|
|
61
|
+
"""Change AWS partition (aws, aws-us-gov, aws-cn, aws-iso, aws-iso-b)."""
|
|
62
|
+
logger.info("partition -> %s", partition)
|
|
63
|
+
self.partition = partition
|
|
64
|
+
self.action_cache.clear()
|
|
65
|
+
|
|
66
|
+
def set_profile(self, profile_name: str | None) -> None:
|
|
67
|
+
"""Change AWS profile (None means rely on environment)."""
|
|
68
|
+
logger.info("profile -> %s", profile_name)
|
|
69
|
+
self.profile_name = profile_name
|
|
70
|
+
self.action_cache.clear()
|
|
71
|
+
|
|
72
|
+
def set_endpoint(self, mode: EndpointMode, endpoint_url: str | None = None) -> None:
|
|
73
|
+
"""Change endpoint mode + URL."""
|
|
74
|
+
self.endpoint_config = EndpointConfig.for_mode(mode, endpoint_url)
|
|
75
|
+
logger.info("endpoint -> %s url=%s", mode, endpoint_url)
|
|
76
|
+
self.action_cache.clear()
|
|
77
|
+
|
|
78
|
+
def boto3_executor(self) -> Boto3Executor:
|
|
79
|
+
"""Build a fresh Boto3Executor that reflects current selections."""
|
|
80
|
+
return Boto3Executor(
|
|
81
|
+
profile_name=self.profile_name,
|
|
82
|
+
region_name=self.region_name,
|
|
83
|
+
endpoint_config=self.endpoint_config,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
def aws_cli_executor(self) -> AwsCliExecutor:
|
|
87
|
+
"""Build a fresh AwsCliExecutor that reflects current selections."""
|
|
88
|
+
return AwsCliExecutor(
|
|
89
|
+
profile_name=self.profile_name,
|
|
90
|
+
region_name=self.region_name,
|
|
91
|
+
endpoint_config=self.endpoint_config,
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
def execute(self, action: Any, inputs: dict[str, str]) -> Any:
|
|
95
|
+
"""Dispatch to whichever executor matches the current mode."""
|
|
96
|
+
cache_key = self.action_cache.build_key(
|
|
97
|
+
action,
|
|
98
|
+
inputs,
|
|
99
|
+
mode=self.mode,
|
|
100
|
+
profile_name=self.profile_name,
|
|
101
|
+
region_name=self.region_name,
|
|
102
|
+
endpoint_config=self.endpoint_config,
|
|
103
|
+
)
|
|
104
|
+
cached = self.action_cache.get(cache_key)
|
|
105
|
+
if cached is not None:
|
|
106
|
+
return cached
|
|
107
|
+
result: Any
|
|
108
|
+
if self.mode is ExecutionMode.BOTO3:
|
|
109
|
+
result = self.boto3_executor().execute(action, inputs)
|
|
110
|
+
else:
|
|
111
|
+
result = self.aws_cli_executor().execute(action, inputs)
|
|
112
|
+
if self.action_cache.should_cache(action, result):
|
|
113
|
+
self.action_cache.put(cache_key, result)
|
|
114
|
+
return result
|
|
115
|
+
|
|
116
|
+
def invalidate_read_cache(self, service_id: str | None = None) -> None:
|
|
117
|
+
"""Drop cached read-only results globally or for one service."""
|
|
118
|
+
if service_id is None:
|
|
119
|
+
self.action_cache.clear()
|
|
120
|
+
return
|
|
121
|
+
self.action_cache.invalidate_service(service_id)
|