machineconfig 6.55__py3-none-any.whl → 6.56__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 machineconfig might be problematic. Click here for more details.

@@ -8,7 +8,6 @@ import machineconfig.scripts.python.helpers_devops.cli_config as cli_config
8
8
  import machineconfig.scripts.python.helpers_devops.cli_self as cli_self
9
9
  import machineconfig.scripts.python.helpers_devops.cli_data as cli_data
10
10
  import machineconfig.scripts.python.helpers_devops.cli_nw as cli_network
11
- from machineconfig.scripts.python.helpers_devops.cli_utils import get_app as get_app_utils
12
11
 
13
12
 
14
13
  def install(which: Annotated[Optional[str], typer.Argument(..., help="Comma-separated list of program names to install, or group name if --group flag is set.")] = None,
@@ -41,9 +40,6 @@ def get_app():
41
40
  app_nw = cli_network.get_app()
42
41
  app.add_typer(app_nw, name="network")
43
42
  app.add_typer(app_nw, name="n", hidden=True)
44
- app_utils = get_app_utils()
45
- app.add_typer(app_utils, name="utils")
46
- app.add_typer(app_utils, name="u", hidden=True)
47
43
  return app
48
44
 
49
45
 
@@ -115,12 +115,3 @@ def merge_pdfs(
115
115
  from machineconfig.utils.code import run_shell_script, get_uv_command_executing_python_script
116
116
  uv_command, _py_file = get_uv_command_executing_python_script(python_script=code, uv_with=["pypdf"], uv_project_dir=None)
117
117
  run_shell_script(uv_command)
118
-
119
-
120
- def get_app() -> typer.Typer:
121
- app = typer.Typer(help="🛠️ [u] utilities operations", no_args_is_help=True, add_help_option=False, add_completion=False)
122
- app.command(name="download", no_args_is_help=True, help="[d] Download a file from a URL and optionally decompress it.")(download)
123
- app.command(name="d", no_args_is_help=True, hidden=True)(download)
124
- app.command(name="merge-pdfs", no_args_is_help=True, help="[m] Merge two PDF files into one.")(merge_pdfs)
125
- app.command(name="m", no_args_is_help=True, hidden=True)(merge_pdfs)
126
- return app
@@ -0,0 +1,20 @@
1
+
2
+
3
+ from machineconfig.scripts.python.helpers_devops.cli_utils import download, merge_pdfs
4
+ import typer
5
+
6
+
7
+
8
+ def get_app() -> typer.Typer:
9
+ app = typer.Typer(help="🛠️ utilities operations", no_args_is_help=True, add_help_option=False, add_completion=False)
10
+ app.command(name="download", no_args_is_help=True, help="[d] Download a file from a URL and optionally decompress it.")(download)
11
+ app.command(name="d", no_args_is_help=True, hidden=True)(download)
12
+ app.command(name="merge-pdfs", no_args_is_help=True, help="[m] Merge two PDF files into one.")(merge_pdfs)
13
+ app.command(name="m", no_args_is_help=True, hidden=True)(merge_pdfs)
14
+ return app
15
+
16
+
17
+
18
+ def main():
19
+ app = get_app()
20
+ app()
@@ -41,6 +41,7 @@ alias s=sessions
41
41
  alias ff=ftpx
42
42
  alias f=fire
43
43
  alias r=croshell
44
+ alias u=utils
44
45
 
45
46
  # alias gcs='gh copilot suggest -t shell'
46
47
  # alias gcg='gh copilot suggest -t git'
@@ -31,13 +31,15 @@ Add-ToPathIfNotAlready -Directories @(
31
31
 
32
32
  function lsdla { lsd -la }
33
33
  Set-Alias -Name l -Value lsdla -Option AllScope
34
- function d { mcfg devops @args }
35
- function c { mcfg cloud @args }
36
- function a { mcfg agents @args }
37
- function s { mcfg sessions @args }
38
- function ff { mcfg ftpx @args }
39
- function f { mcfg fire @args }
40
- function cs { mcfg croshell @args }
34
+ function d { devops @args }
35
+ function c { cloud @args }
36
+ function a { agents @args }
37
+ function s { sessions @args }
38
+ function ff { ftpx @args }
39
+ function f { fire @args }
40
+ function r { croshell @args }
41
+ function u { utils @args }
42
+
41
43
  try {
42
44
  Set-Alias -Name gcs -Value {gh copilot suggest -t shell}
43
45
  Set-Alias -Name gcg -Value {gh copilot suggest -t git}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: machineconfig
3
- Version: 6.55
3
+ Version: 6.56
4
4
  Summary: Dotfiles management package
5
5
  Author-email: Alex Al-Saffar <programmer@usa.com>
6
6
  License: Apache 2.0
@@ -123,13 +123,14 @@ machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
123
123
  machineconfig/scripts/python/agents.py,sha256=gGeeWCI0AN_DyDJ3G5KR9qSsXv8zkUd5dBRRWqz-dQE,10722
124
124
  machineconfig/scripts/python/cloud.py,sha256=yAD6ciKiEtv2CH3g2NScDK5cpCZQi7Vu8yyeehw_cU8,1263
125
125
  machineconfig/scripts/python/croshell.py,sha256=UvQs3so3FvsC0gK3_3bxACsb4UJcNLdmQ0V0eoQ_cYg,8075
126
- machineconfig/scripts/python/devops.py,sha256=LGra1YiLEQYjaRevNjJB51Bia81IgjrvUQkA6z8wq8I,2440
126
+ machineconfig/scripts/python/devops.py,sha256=Lv4d-UlyOREj4VTcu_pxswYo54Mawe3XGeKjreGQDYg,2222
127
127
  machineconfig/scripts/python/devops_navigator.py,sha256=5Cm384D4S8_GsvMzTwr0C16D0ktf8_5Mk5bEJncwDO8,237
128
128
  machineconfig/scripts/python/entry.py,sha256=a0Zk_3RnIFTQ55zSQrvOOiKom_SaoxElPMmWQgGy4V0,2221
129
129
  machineconfig/scripts/python/fire_jobs.py,sha256=My7sFn1R2vh21uIHGfNppgX99WTEitCFgJ1MSasBUOQ,13597
130
130
  machineconfig/scripts/python/ftpx.py,sha256=vm4QNJA0z1Vu-85wFliGNoDHMZZ-Yy8zQACL6x7Wo6U,9760
131
131
  machineconfig/scripts/python/interactive.py,sha256=zt3g6nGKR_Y5A57UnR4Y5-JpLzrpnCOSaqU1bnaikK0,11666
132
132
  machineconfig/scripts/python/sessions.py,sha256=UERxO472EDtN7nKHEULbn6G3S5PJIpsDG9Gq3TlByqI,9823
133
+ machineconfig/scripts/python/utils.py,sha256=rlrTomPlvhzaMf2UWzVeyO_kTwNWFj1iASXIF2g9cx8,710
133
134
  machineconfig/scripts/python/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
134
135
  machineconfig/scripts/python/ai/generate_files.py,sha256=VfjKdwgF8O6E4oiRtfWNliibLmmwGe7f9ld6wpOsXTw,14498
135
136
  machineconfig/scripts/python/ai/initai.py,sha256=9SZtWOcRuwk8ZU3wHOfPzjInERD79ZTYFY8tVACgza4,2260
@@ -186,7 +187,7 @@ machineconfig/scripts/python/helpers_devops/cli_repos.py,sha256=Xwkv1adqHZvTfRSP
186
187
  machineconfig/scripts/python/helpers_devops/cli_self.py,sha256=-IyJpuw8Wnttls8y2vcNNkxtI9jUveROMPT-eudOoC4,6171
187
188
  machineconfig/scripts/python/helpers_devops/cli_share_server.py,sha256=q9pFJ6AxPuygMr3onMNOKEuuQHbVE_6Qoyo7xRT5FX0,4196
188
189
  machineconfig/scripts/python/helpers_devops/cli_terminal.py,sha256=k_PzXaiGyE0vXr0Ii1XcJz2A7UvyPJrR31TRWt4RKRI,6019
189
- machineconfig/scripts/python/helpers_devops/cli_utils.py,sha256=518qiKRorTWDcOJkN0LFLAKNBZSzOXczTAD9ljc7oS8,5633
190
+ machineconfig/scripts/python/helpers_devops/cli_utils.py,sha256=sCYKR6bXzr6DgVnQrCa_pjKdc7tOOY3T8h1A41UURBU,5066
190
191
  machineconfig/scripts/python/helpers_devops/devops_backup_retrieve.py,sha256=Dn8luB6QJzxKiiFSC-NMqiYddWZoca3A8eOjMYZDzTc,5598
191
192
  machineconfig/scripts/python/helpers_devops/devops_status.py,sha256=PJVPhfhXq8der6Xd-_fjZfnizfM-RGfJApkRGhGBmNo,20525
192
193
  machineconfig/scripts/python/helpers_devops/devops_update_repos.py,sha256=kSln8_-Wn7Qu0NaKdt-QTN_bBVyTIAWHH8xVYKK-vCM,10133
@@ -326,7 +327,7 @@ machineconfig/settings/rofi/config.rasi,sha256=nDX5B8wdXQYF1fwiOTBRJUI4l_gQbYaLa
326
327
  machineconfig/settings/rofi/config_default.rasi,sha256=rTfKnC-bZuWX1l-lWQACCUOE1ShhkfykAxtXX9PlQHE,4694
327
328
  machineconfig/settings/shells/alacritty/alacritty.toml,sha256=EbL-2Y4QunW1pvRWB2yuLCw8MMPONheJr5LFoWRieUQ,871
328
329
  machineconfig/settings/shells/alacritty/alacritty.yml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
- machineconfig/settings/shells/bash/init.sh,sha256=CNGdll7P4uaF1ascaMYOwLad2EdUNaHJTMFuMSilsmQ,2265
330
+ machineconfig/settings/shells/bash/init.sh,sha256=c7hB6l72q6ousq5YMoTHfyURtCHRsis7o95vi0_dK4Q,2279
330
331
  machineconfig/settings/shells/hyper/.hyper.js,sha256=h-HqeYlvPvPD4Ee7828Cxo87uVkzbMGJFqXTZIWoegw,8884
331
332
  machineconfig/settings/shells/ipy/profiles/default/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
333
  machineconfig/settings/shells/ipy/profiles/default/startup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -334,7 +335,7 @@ machineconfig/settings/shells/ipy/profiles/default/startup/playext.py,sha256=OJ3
334
335
  machineconfig/settings/shells/kitty/kitty.conf,sha256=lDdx-dUX3jbKGb3BkS2f2TOpmgGiS-CI-_-lFvhD5A4,52870
335
336
  machineconfig/settings/shells/nushell/config.nu,sha256=ug0E0NXNlCzgStScFN6VTsAkUaOTPJZB69P-LS5L2VE,1047
336
337
  machineconfig/settings/shells/nushell/env.nu,sha256=4VmaXb-qP6qnMD5TPzkXMLFNlB5QC4l9HEzCvXZE2GQ,315
337
- machineconfig/settings/shells/pwsh/init.ps1,sha256=NKTMy-8jhlnSi5kZQ9EkGAQqGmjQ1c8vQyb2YBah0NE,1833
338
+ machineconfig/settings/shells/pwsh/init.ps1,sha256=l1m0yhBqgD695P6sycooNIsHYl9uVir7iCQo7sYa7Sw,1825
338
339
  machineconfig/settings/shells/pwsh/profile.ps1,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
339
340
  machineconfig/settings/shells/starship/starship.toml,sha256=5rQTY7ZpKnrnhgu2Y9OJKUYMz5lPLIftO1p1VRuVZwQ,1150
340
341
  machineconfig/settings/shells/vtm/settings.xml,sha256=5TNXd-i0eUGo2w3tuhY9aOkwoJdqih8_HO_U6uL2Dts,18262
@@ -432,8 +433,8 @@ machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoS
432
433
  machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
433
434
  machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
434
435
  machineconfig/utils/ssh_utils/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
435
- machineconfig-6.55.dist-info/METADATA,sha256=ui_ZRrAkleozbHc5trAWu-1szNaUecJkMJbg1f0fzhc,2928
436
- machineconfig-6.55.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
437
- machineconfig-6.55.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
438
- machineconfig-6.55.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
439
- machineconfig-6.55.dist-info/RECORD,,
436
+ machineconfig-6.56.dist-info/METADATA,sha256=iQfs2KXFpT6O0376JfCDrsj4EBq0jFrjxQ1Z-lOO2a8,2928
437
+ machineconfig-6.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
438
+ machineconfig-6.56.dist-info/entry_points.txt,sha256=NTW7hbUlpt5Vx9DdQrONLkYMCuBXpvYh1dt0AtlGxeI,466
439
+ machineconfig-6.56.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
440
+ machineconfig-6.56.dist-info/RECORD,,
@@ -7,3 +7,4 @@ fire = machineconfig.scripts.python.fire_jobs:main
7
7
  ftpx = machineconfig.scripts.python.ftpx:main
8
8
  mcfg = machineconfig.scripts.python.entry:main
9
9
  sessions = machineconfig.scripts.python.sessions:main
10
+ utils = machineconfig.scripts.python.utils:main