paramsx 2.4.0__tar.gz → 2.4.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.
Files changed (32) hide show
  1. {paramsx-2.4.0 → paramsx-2.4.1}/CHANGELOG.md +6 -0
  2. {paramsx-2.4.0/paramsx.egg-info → paramsx-2.4.1}/PKG-INFO +3 -4
  3. {paramsx-2.4.0 → paramsx-2.4.1}/README.md +1 -2
  4. paramsx-2.4.1/paramsx/__init__.py +1 -0
  5. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/main.py +4 -4
  6. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/__init__.py +1 -1
  7. {paramsx-2.4.0 → paramsx-2.4.1/paramsx.egg-info}/PKG-INFO +3 -4
  8. {paramsx-2.4.0 → paramsx-2.4.1}/setup.py +3 -2
  9. paramsx-2.4.0/paramsx/__init__.py +0 -1
  10. {paramsx-2.4.0 → paramsx-2.4.1}/LICENSE +0 -0
  11. {paramsx-2.4.0 → paramsx-2.4.1}/MANIFEST.in +0 -0
  12. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/core/__init__.py +0 -0
  13. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/core/config.py +0 -0
  14. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/core/rutas.py +0 -0
  15. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/funcions.py +0 -0
  16. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/paramsx_config.py +0 -0
  17. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/text.py +0 -0
  18. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/app.py +0 -0
  19. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/ssm.py +0 -0
  20. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/static/ajustes.js +0 -0
  21. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/static/app.css +0 -0
  22. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/static/comun.js +0 -0
  23. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/static/paramsx.js +0 -0
  24. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx/web/templates/index.html +0 -0
  25. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx.egg-info/SOURCES.txt +0 -0
  26. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx.egg-info/dependency_links.txt +0 -0
  27. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx.egg-info/entry_points.txt +0 -0
  28. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx.egg-info/requires.txt +1 -1
  29. {paramsx-2.4.0 → paramsx-2.4.1}/paramsx.egg-info/top_level.txt +0 -0
  30. {paramsx-2.4.0 → paramsx-2.4.1}/setup.cfg +0 -0
  31. {paramsx-2.4.0 → paramsx-2.4.1}/tests/test_core.py +0 -0
  32. {paramsx-2.4.0 → paramsx-2.4.1}/tests/test_web.py +0 -0
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.4.1
4
+
5
+ ### Cambiado
6
+
7
+ - **La versión web viene incluida**: Flask pasa a ser una dependencia normal, así que basta con `pip install paramsx` (o `pipx install paramsx`) para tener las dos versiones. `paramsx[web]` se sigue aceptando, pero ya no añade nada.
8
+
3
9
  ## 2.4.0
4
10
 
5
11
  ### Añadido
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: paramsx
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: Librería para gestionar y respaldar parámetros de AWS SSM de manera sencilla y eficiente.
5
5
  Home-page: https://github.com/pistatxos/paramsx
6
6
  Author: Mariox
@@ -9,8 +9,8 @@ Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: boto3
11
11
  Requires-Dist: windows-curses; platform_system == "Windows"
12
+ Requires-Dist: flask>=2.2
12
13
  Provides-Extra: web
13
- Requires-Dist: flask>=2.2; extra == "web"
14
14
  Dynamic: author
15
15
  Dynamic: author-email
16
16
  Dynamic: description
@@ -68,7 +68,6 @@ Al arrancar pregunta **1. Web** o **2. Terminal** (o directo: `paramsx --web` /
68
68
  ## Versión web
69
69
 
70
70
  ```bash
71
- pip install 'paramsx[web]' # añade Flask
72
71
  paramsx --web
73
72
  ```
74
73
 
@@ -973,7 +972,7 @@ paramsx --version
973
972
  | Comando | Descripción |
974
973
  |---|---|
975
974
  | `paramsx` | Pregunta: web o terminal. |
976
- | `paramsx --web` | Abre la versión web (necesita `paramsx[web]`). |
975
+ | `paramsx --web` | Abre la versión web en el navegador. |
977
976
  | `paramsx --tui` | Abre el menú de terminal. |
978
977
  | `paramsx configure` | Crea o comprueba la configuración. |
979
978
  | `paramsx configure --ejemplo` | Genera la plantilla completa de configuración. |
@@ -45,7 +45,6 @@ Al arrancar pregunta **1. Web** o **2. Terminal** (o directo: `paramsx --web` /
45
45
  ## Versión web
46
46
 
47
47
  ```bash
48
- pip install 'paramsx[web]' # añade Flask
49
48
  paramsx --web
50
49
  ```
51
50
 
@@ -950,7 +949,7 @@ paramsx --version
950
949
  | Comando | Descripción |
951
950
  |---|---|
952
951
  | `paramsx` | Pregunta: web o terminal. |
953
- | `paramsx --web` | Abre la versión web (necesita `paramsx[web]`). |
952
+ | `paramsx --web` | Abre la versión web en el navegador. |
954
953
  | `paramsx --tui` | Abre el menú de terminal. |
955
954
  | `paramsx configure` | Crea o comprueba la configuración. |
956
955
  | `paramsx configure --ejemplo` | Genera la plantilla completa de configuración. |
@@ -0,0 +1 @@
1
+ __version__ = "2.4.1"
@@ -783,7 +783,7 @@ ParamsX __VERSION__ - Gestión de Parámetros de AWS SSM
783
783
 
784
784
  Comandos disponibles:
785
785
  paramsx Pregunta si quieres la versión web o la de terminal.
786
- paramsx --web Abre la versión web (necesita: pip install 'paramsx[web]').
786
+ paramsx --web Abre la versión web en el navegador.
787
787
  paramsx --tui Abre la versión de terminal (requiere configuración previa).
788
788
  paramsx configure Crea ~/.xsoft/paramsx_config.py la primera vez. Si ya lo tienes,
789
789
  NO lo toca: revisa qué opciones nuevas te faltan y si es válido.
@@ -832,7 +832,7 @@ Si necesitas más ayuda puedes leer el readme en GitHub o en Pypi:
832
832
  """
833
833
  print(help_text.replace("__VERSION__", version_actual()))
834
834
 
835
- MENSAJE_SIN_FLASK = "La versión web necesita Flask: pip install 'paramsx[web]'"
835
+ MENSAJE_SIN_FLASK = "La versión web necesita Flask y no está instalado: reinstala paramsx o haz pip install flask"
836
836
 
837
837
 
838
838
  # Menú de arranque: web o terminal. Devuelve "web", "tui" o None (salir).
@@ -959,7 +959,7 @@ def _tarjetas(hay_web, defecto):
959
959
  "│ ▤▤▤▤ ▤▤▤▤▤▤ ▤▤▤ │",
960
960
  "│ ▤▤▤▤▤▤▤ ▤▤▤▤ ▤▤ │",
961
961
  "└──────────────────────┘",
962
- "En el navegador" if hay_web else "pip install 'paramsx[web]'",
962
+ "En el navegador" if hay_web else "Falta Flask: pip install flask",
963
963
  ]
964
964
  tui = [
965
965
  "2 · TERMINAL",
@@ -996,7 +996,7 @@ def portada(hay_web, defecto):
996
996
  columnas = shutil.get_terminal_size((80, 24)).columns
997
997
  if columnas < 70:
998
998
  lineas = [f"ParamsX {__version__} · {FOOTER_TEXT}",
999
- " 1. Web " + ("(en el navegador)" if hay_web else "(pip install 'paramsx[web]')"),
999
+ " 1. Web " + ("(en el navegador)" if hay_web else "(falta Flask: pip install flask)"),
1000
1000
  " 2. Terminal (el menú de siempre)"]
1001
1001
  return "\n".join(lineas)
1002
1002
 
@@ -1,5 +1,5 @@
1
1
  """Versión web de paramsx: un Flask local en 127.0.0.1 que se abre en el navegador.
2
- Necesita el extra [web]: pip install 'paramsx[web]'."""
2
+ Flask viene con paramsx desde la 2.4.1."""
3
3
 
4
4
 
5
5
  def flask_disponible():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: paramsx
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: Librería para gestionar y respaldar parámetros de AWS SSM de manera sencilla y eficiente.
5
5
  Home-page: https://github.com/pistatxos/paramsx
6
6
  Author: Mariox
@@ -9,8 +9,8 @@ Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: boto3
11
11
  Requires-Dist: windows-curses; platform_system == "Windows"
12
+ Requires-Dist: flask>=2.2
12
13
  Provides-Extra: web
13
- Requires-Dist: flask>=2.2; extra == "web"
14
14
  Dynamic: author
15
15
  Dynamic: author-email
16
16
  Dynamic: description
@@ -68,7 +68,6 @@ Al arrancar pregunta **1. Web** o **2. Terminal** (o directo: `paramsx --web` /
68
68
  ## Versión web
69
69
 
70
70
  ```bash
71
- pip install 'paramsx[web]' # añade Flask
72
71
  paramsx --web
73
72
  ```
74
73
 
@@ -973,7 +972,7 @@ paramsx --version
973
972
  | Comando | Descripción |
974
973
  |---|---|
975
974
  | `paramsx` | Pregunta: web o terminal. |
976
- | `paramsx --web` | Abre la versión web (necesita `paramsx[web]`). |
975
+ | `paramsx --web` | Abre la versión web en el navegador. |
977
976
  | `paramsx --tui` | Abre el menú de terminal. |
978
977
  | `paramsx configure` | Crea o comprueba la configuración. |
979
978
  | `paramsx configure --ejemplo` | Genera la plantilla completa de configuración. |
@@ -92,10 +92,11 @@ setup(
92
92
  install_requires= [
93
93
  "boto3",
94
94
  "windows-curses; platform_system == 'Windows'",
95
+ "flask>=2.2", # la versión web
95
96
  ],
96
- # La versión web es opcional: pip install 'paramsx[web]'
97
+ # 'paramsx[web]' se mantiene para quien lo instaló así en la 2.4.0; ya no añade nada
97
98
  extras_require={
98
- "web": ["flask>=2.2"],
99
+ "web": [],
99
100
  },
100
101
  entry_points={
101
102
  "console_scripts": [
@@ -1 +0,0 @@
1
- __version__ = "2.4.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  boto3
2
+ flask>=2.2
2
3
 
3
4
  [:platform_system == "Windows"]
4
5
  windows-curses
5
6
 
6
7
  [web]
7
- flask>=2.2
File without changes
File without changes
File without changes