machineconfig 1.9__py3-none-any.whl → 1.91__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.

Files changed (53) hide show
  1. machineconfig/__init__.py +1 -1
  2. machineconfig/jobs/python/check_installations.py +7 -5
  3. machineconfig/jobs/python/checkout_version.py +27 -32
  4. machineconfig/jobs/python/create_bootable_media.py +1 -1
  5. machineconfig/jobs/python/python_cargo_build_share.py +2 -2
  6. machineconfig/jobs/python/tasks.py +2 -2
  7. machineconfig/jobs/python_custom_installers/{helix.py → hx.py} +17 -5
  8. machineconfig/profile/create.py +23 -21
  9. machineconfig/profile/create_hardlinks.py +101 -0
  10. machineconfig/profile/shell.py +5 -5
  11. machineconfig/scripts/python/cloud_copy.py +19 -16
  12. machineconfig/scripts/python/cloud_repo_sync.py +92 -47
  13. machineconfig/scripts/python/cloud_sync.py +70 -63
  14. machineconfig/scripts/python/croshell.py +6 -6
  15. machineconfig/scripts/python/devops.py +19 -20
  16. machineconfig/scripts/python/devops_backup_retrieve.py +19 -10
  17. machineconfig/scripts/python/devops_devapps_install.py +80 -62
  18. machineconfig/scripts/python/devops_update_repos.py +5 -5
  19. machineconfig/scripts/python/dotfile.py +4 -4
  20. machineconfig/scripts/python/fire_jobs.py +57 -23
  21. machineconfig/scripts/python/gh_models.py +53 -0
  22. machineconfig/scripts/python/mount_nfs.py +1 -1
  23. machineconfig/scripts/python/mount_nw_drive.py +3 -3
  24. machineconfig/scripts/python/mount_ssh.py +2 -3
  25. machineconfig/scripts/python/pomodoro.py +1 -1
  26. machineconfig/scripts/python/repos.py +21 -22
  27. machineconfig/scripts/python/scheduler.py +1 -1
  28. machineconfig/scripts/python/start_slidev.py +10 -4
  29. machineconfig/scripts/python/start_terminals.py +5 -4
  30. machineconfig/scripts/python/wifi_conn.py +34 -42
  31. machineconfig/scripts/python/wsl_windows_transfer.py +1 -1
  32. machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py +1 -1
  33. machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py +3 -2
  34. machineconfig/utils/installer.py +78 -39
  35. machineconfig/utils/procs.py +2 -2
  36. machineconfig/utils/scheduling.py +3 -3
  37. machineconfig/utils/utils.py +131 -52
  38. machineconfig/utils/ve.py +145 -95
  39. {machineconfig-1.9.dist-info → machineconfig-1.91.dist-info}/METADATA +160 -155
  40. machineconfig-1.91.dist-info/RECORD +69 -0
  41. machineconfig/jobs/python_custom_installers/azuredatastudio.py +0 -36
  42. machineconfig/jobs/python_custom_installers/bypass_paywall.py +0 -30
  43. machineconfig/jobs/python_custom_installers/docker_desktop.py +0 -52
  44. machineconfig/jobs/python_custom_installers/goes.py +0 -35
  45. machineconfig/jobs/python_custom_installers/lvim.py +0 -48
  46. machineconfig/jobs/python_custom_installers/ngrok.py +0 -39
  47. machineconfig/jobs/python_custom_installers/nvim.py +0 -48
  48. machineconfig/jobs/python_custom_installers/vscode.py +0 -45
  49. machineconfig/jobs/python_custom_installers/wezterm.py +0 -41
  50. machineconfig-1.9.dist-info/RECORD +0 -76
  51. {machineconfig-1.9.dist-info → machineconfig-1.91.dist-info}/LICENSE +0 -0
  52. {machineconfig-1.9.dist-info → machineconfig-1.91.dist-info}/WHEEL +0 -0
  53. {machineconfig-1.9.dist-info → machineconfig-1.91.dist-info}/top_level.txt +0 -0
@@ -1,48 +0,0 @@
1
-
2
-
3
-
4
- """nvim
5
- """
6
-
7
-
8
- import platform
9
- from typing import Optional
10
-
11
-
12
- config_dict = {
13
- "repo_url": "CUSTOM",
14
- "doc": "Neovim",
15
- "filename_template_windows_amd_64": "nvim-win64.zip",
16
- "filename_template_linux_amd_64": "nvim-linux64.tar.gz",
17
- "strip_v": False,
18
- "exe_name": "nvim"
19
- }
20
-
21
-
22
- def main(version: Optional[str]):
23
- _ = version
24
- if platform.system() == "Windows":
25
- program = """
26
- winget install --no-upgrade --name "Neovim" --Id Neovim.Neovim --source winget --accept-package-agreements --accept-source-agreements
27
- """
28
- elif platform.system() == "Linux":
29
- program = """
30
- # mkdir $HOME/tmp_install -p || true
31
- # mkdir $HOME/.local/share -p || true
32
- # cd $HOME/tmp_install || true
33
- # wget https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz || true
34
- # tar -xvf nvim-linux64.tar.gz -C $HOME/.local/share/ || true
35
- # sudo cp ~/.local/share/nvim-linux64/bin/nvim /usr/local/bin/nvim || true
36
- brew install neovim
37
- # nix-env -iA nixpkgs.neovim
38
- """
39
- _ = program
40
- program = ""
41
- else:
42
- raise NotImplementedError("unsupported platform")
43
- return program
44
-
45
-
46
- if __name__ == "__main__":
47
- print("Executed!")
48
- pass
@@ -1,45 +0,0 @@
1
-
2
- """vs code installer as per https://code.visualstudio.com/docs/setup/linux
3
- """
4
-
5
- from typing import Optional
6
- import platform
7
-
8
-
9
- config_dict = {
10
- "repo_url": "CUSTOM",
11
- "doc": "Visual Studio Code",
12
- "filename_template_windows_amd_64": "VSCodeSetup-{}.exe",
13
- "filename_template_linux_amd_64": "code_{}.deb",
14
- "strip_v": True,
15
- "exe_name": "code"
16
- }
17
-
18
-
19
- def main(version: Optional[str] = None):
20
-
21
- if platform.system() == 'Linux':
22
- code = """
23
-
24
- sudo apt-get install wget gpg
25
- wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
26
- sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
27
- sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
28
- rm -f packages.microsoft.gpg
29
-
30
- sudo apt install apt-transport-https -y
31
- sudo apt update
32
- sudo apt install code -y # or code-insiders
33
-
34
- """
35
-
36
- elif platform.system() == 'Windows':
37
- code = "winget install -e --id Microsoft.VisualStudioCode"
38
- else:
39
- raise NotImplementedError(f"Unsupported platform: {platform.system()}")
40
- _ = version
41
- return code
42
-
43
-
44
- if __name__ == '__main__':
45
- pass
@@ -1,41 +0,0 @@
1
-
2
- """wezterm installer
3
- """
4
-
5
- from machineconfig.utils.installer import Installer
6
- from typing import Optional
7
- import platform
8
-
9
-
10
- config_dict = {
11
- "repo_url": "https://github.com/wez/wezterm",
12
- "doc": "cross-platform terminal emulator",
13
- "filename_template_windows_amd_64": "WezTerm-windows-{}.zip",
14
- "filename_template_linux_amd_64": "wezterm-{}.Ubuntu22.04.deb",
15
- "strip_v": False,
16
- "exe_name": "wezterm"
17
- }
18
-
19
-
20
- def main(version: Optional[str]):
21
- if platform.system() == "Windows":
22
- program = "winget install --Id wez.wezterm --source winget --accept-package-agreements --accept-source-agreements"
23
- elif platform.system() == "Linux":
24
- inst = Installer.from_dict(d=config_dict, name="wezterm")
25
- program = ""
26
- # as per https://wezfurlong.org/wezterm/install/linux.html#installing-on-ubuntu-and-debian-based-systems
27
- downloaded, version_to_be_installed = inst.download(version=version)
28
- _= version_to_be_installed
29
-
30
- program = f"""
31
- sudo apt install -y {downloaded}
32
- rm {downloaded}
33
- """
34
- else:
35
- raise NotImplementedError("unsupported platform")
36
- return program
37
-
38
-
39
- if __name__ == "__main__":
40
- # main(version=None)
41
- pass
@@ -1,76 +0,0 @@
1
- machineconfig/__init__.py,sha256=pqYfEucI3yxmMj4QagEtw-SsPc8rml4VU63cPfSVVy4,78
2
- machineconfig/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- machineconfig/jobs/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- machineconfig/jobs/python/check_installations.py,sha256=8ad08MWaIlGsi6NAJkC6fQzinn2EyQZJHbdHW-auqxc,7772
5
- machineconfig/jobs/python/checkout_version.py,sha256=nrjpz6mK8T7XS1VArFi7slnKKPNlZw0zMr6V2_JeNic,5042
6
- machineconfig/jobs/python/create_bootable_media.py,sha256=De1_DUXt5oE7PvNY5P9oIdqxD51qZLJjOfB-XMayVKg,585
7
- machineconfig/jobs/python/create_zellij_template.py,sha256=tIGieeq2n21B_dpgkXiR_Zh2q4xUPG3QhqCwLKCkhog,1301
8
- machineconfig/jobs/python/python_cargo_build_share.py,sha256=I-xhOKB4Sw0aaPnfk9Ip5Nmu2TOZITsZ_okGrd8deiM,1746
9
- machineconfig/jobs/python/python_ve_symlink.py,sha256=ZdXuTfEBkO1uYc6F-xg_bWF46ScQ9Xaj3b2dDqO1BL4,837
10
- machineconfig/jobs/python/tasks.py,sha256=1px4SuPYbcmCTGARxUaKvTx4Hza3yurVWEOqNevbaaM,119
11
- machineconfig/jobs/python_custom_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- machineconfig/jobs/python_custom_installers/azuredatastudio.py,sha256=6N8ymUYM1q2T5VKckT8zLwxyDSh2gM33yoIvUovhtsU,1111
13
- machineconfig/jobs/python_custom_installers/bypass_paywall.py,sha256=NHt1906iUzRtPheKeBZD1Z6Zj3qj7vG75Q0NV3N9NkQ,825
14
- machineconfig/jobs/python_custom_installers/docker_desktop.py,sha256=IDiAomtf6sjoLMI3meQ_l5cR7kiPGQpfAJl5rYnOyqg,1662
15
- machineconfig/jobs/python_custom_installers/gh.py,sha256=4XRUUuT5b29V5WAPgJMGqxLqQ9-wbBv-mAisIxUNubQ,1433
16
- machineconfig/jobs/python_custom_installers/goes.py,sha256=XbUvVqSHwpF7kg2LU5RT3anzznUZHnGUSs9n-I7WadU,876
17
- machineconfig/jobs/python_custom_installers/helix.py,sha256=OOulJN5k0FTRtQsmaplsT19hFoSeCne24IAb57XOzok,1465
18
- machineconfig/jobs/python_custom_installers/lvim.py,sha256=NdYjEJhI2q45IhnQutb8XYJKHm11JtEly44NMhCm-zg,1339
19
- machineconfig/jobs/python_custom_installers/ngrok.py,sha256=6NgHpnsR1kSoG-BBDt2n5Sea-1_SnIx23pRDS1l09tI,1069
20
- machineconfig/jobs/python_custom_installers/nvim.py,sha256=ZMzzEsql--u0wZYVmP0nGQxOySNTgbbJ9B7kyx__VjQ,1207
21
- machineconfig/jobs/python_custom_installers/vscode.py,sha256=uV15ABRfK-H4ChsHUj-Al3R6_CHMNpaIaFspzV9vc5I,1322
22
- machineconfig/jobs/python_custom_installers/wezterm.py,sha256=2VNNNm7RuMApUK7FDhn-IWTv4MpZp7-5P-kDj2IjZv0,1226
23
- machineconfig/jobs/python_generic_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- machineconfig/jobs/python_linux_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
- machineconfig/jobs/python_linux_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- machineconfig/jobs/python_windows_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- machineconfig/jobs/python_windows_installers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- machineconfig/jobs/python_windows_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- machineconfig/profile/create.py,sha256=aitg44-mDP92p2VnFSJVRJsHW9pjcs7tikVLHoYX84I,5063
31
- machineconfig/profile/shell.py,sha256=oo40fnLvxcS2K6wvjN4ITVefhkvIW_VbP8Tua_9mqm0,6129
32
- machineconfig/scripts/__init__.py,sha256=8aZPVoch_gcI0Ihcr30zQcPjRQMWiWzDnQXnOm7spzo,73
33
- machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
- machineconfig/scripts/python/choose_wezterm_theme.py,sha256=2nQ9ruqYENQXYepFTocjeIS03P3mFdUNN8zJxCMA6r4,2697
35
- machineconfig/scripts/python/cloud_copy.py,sha256=LCbPDuIfvn5tnGlkd4cYABSSgYhu4Kyf2_JcAaoaO8A,4983
36
- machineconfig/scripts/python/cloud_manager.py,sha256=qfmO63t1LQxO6QHhz3qxePQnas4RsNOjLV1cGK8xK8I,1639
37
- machineconfig/scripts/python/cloud_mount.py,sha256=7ygg8tu-L-N0Q4KYcV7X2oxQgj6aEF9uIC8YWzdPioc,4882
38
- machineconfig/scripts/python/cloud_repo_sync.py,sha256=72daMqxkFoplusxkCbgDrR1Il-hBs2BH29QzZi0bJuA,8135
39
- machineconfig/scripts/python/cloud_sync.py,sha256=iHK-XypTmWxUtVmEeJUHI9AIY1XLzqVrGH3FAxPyaQI,11209
40
- machineconfig/scripts/python/croshell.py,sha256=JNxEhq_pMyTja08bkZnWa7dtvgbOo4nWlu6epmndViQ,6450
41
- machineconfig/scripts/python/devops.py,sha256=imvtmo1PRcP-SlGgPK_Eeghd-ZtHWwV30vx6zyG8lps,5363
42
- machineconfig/scripts/python/devops_add_identity.py,sha256=q0DjXowg0dr5nDVrMdyViF_OQdeTN_fDXTVcVPgddfk,1549
43
- machineconfig/scripts/python/devops_add_ssh_key.py,sha256=RoHO_lP1DuyKrPl_wYfAJuliRP7CVKssygy3cK2eJXo,3308
44
- machineconfig/scripts/python/devops_backup_retrieve.py,sha256=sH3a5Uvz5SDhiypP_KIJR1-RiZT-IU8IOJjpvC1UeGk,2443
45
- machineconfig/scripts/python/devops_devapps_install.py,sha256=c-Qr9L7bt9iflB6k-d3QVs_0fHp-b0FvqOptnk5s7qo,5611
46
- machineconfig/scripts/python/devops_update_repos.py,sha256=ZW_jI1oNlus929Y2ErXhDWDr6A4SSbTxrutn-__AdI4,2809
47
- machineconfig/scripts/python/dotfile.py,sha256=1zPwDgCjwsAFNBJ6h9qCTqpPPDpZzjdDkq6rFVlhvdo,1564
48
- machineconfig/scripts/python/fire_jobs.py,sha256=UnprBED1i4KFh72-Igcg5z-Z4JHA9fulmMqRmP8bQis,19761
49
- machineconfig/scripts/python/ftpx.py,sha256=PQ7ktw6O4Y9Mv3rdRy8rBPDQQLoEafojTBr5IpLDXW8,4643
50
- machineconfig/scripts/python/mount_nfs.py,sha256=MLEZ2IjXPLuWqOwzzWhiV8nxcULS32JHzNnrwulmp4I,2485
51
- machineconfig/scripts/python/mount_nw_drive.py,sha256=2AwmOF1IHI_ET9BBjhgMQ9AGn8uj6zoCC7Rg8Iy0G1A,1005
52
- machineconfig/scripts/python/mount_ssh.py,sha256=R557UOF3uChH2Mf_eWgSu7GVyzcfNPSaFudn42n51oM,1406
53
- machineconfig/scripts/python/onetimeshare.py,sha256=tveeuE_PmRuk7hwJy5c53b2eL0lvxR_MACX5X_4syy8,1881
54
- machineconfig/scripts/python/pomodoro.py,sha256=-ag26tR7dre1Zw4xfKkPERDRvn7xSJkWfBpem8VjJzE,1974
55
- machineconfig/scripts/python/repos.py,sha256=BsZ4GHaVVou9XlwGidxIcZwghoXOUHZBCiVAmJgkcdw,10412
56
- machineconfig/scripts/python/scheduler.py,sha256=PN-_GzkcMCAIdxWj_gQQIFR5OKs8pa3aeXn7Bn4YnEM,2305
57
- machineconfig/scripts/python/snapshot.py,sha256=XxnGc8bOb7vgx-TpJVBzgkzQf9Fcz6VyQ3LH7sOsLDI,622
58
- machineconfig/scripts/python/start_slidev.py,sha256=mhcXz6LcogTPU1CEGPRzFj8yC_w6ey1k-FeNEfOEiqk,4359
59
- machineconfig/scripts/python/start_terminals.py,sha256=1BVf6Yrlz3hDZmPS_og4HKfl0Rdcsd-I7JkoNgvpDqs,5442
60
- machineconfig/scripts/python/wifi_conn.py,sha256=XABEqc_TNdKa-I3J2DmDgEtT5Xt95fcqjNJ9W9MsEPA,2916
61
- machineconfig/scripts/python/wsl_windows_transfer.py,sha256=YDmN3bjz-auWktIlhkj4pEFykysXtMnpjZobhXJ69d4,2198
62
- machineconfig/setup_windows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
- machineconfig/setup_windows/wt_and_pwsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
- machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py,sha256=bwOvQ8Lcmxy8Mds3pPR7itZA_8FUMOD5RzGZgrnzDlM,1611
65
- machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=WgJ9JkrjOZZW8JPw5wdkEIlE7Z4VDkDOXuag1qsqLlo,6242
66
- machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
- machineconfig/utils/installer.py,sha256=LHK2AXDfFi0vs9MP-XorL38hFWMeRyIKq4ZvE2IVgyQ,17952
68
- machineconfig/utils/procs.py,sha256=GCdvGvowFm-GZe6PLcRe7yaWiBr6QFnSc_lAVWQDKo8,5146
69
- machineconfig/utils/scheduling.py,sha256=PGSmJPjDN5ZP5pLzzV4aXCRaB71OlMSiEljRkzMWSX8,7341
70
- machineconfig/utils/utils.py,sha256=aKI0WWN637p_r_x_I4JJMyHSRPTkjX9u0Hse8Z3NkL8,18881
71
- machineconfig/utils/ve.py,sha256=RC9RGozHJ8qINvfERIInX4eYHVg-RmYUd-UvjBlMRtc,10025
72
- machineconfig-1.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
73
- machineconfig-1.9.dist-info/METADATA,sha256=fcBtPK9pEK-qDvczTHaeVVW621vtdlMOJ2NsE0M_9Cw,6918
74
- machineconfig-1.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
75
- machineconfig-1.9.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
76
- machineconfig-1.9.dist-info/RECORD,,