machineconfig 1.8__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 (56) hide show
  1. machineconfig/__init__.py +4 -2
  2. machineconfig/jobs/python/check_installations.py +8 -6
  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/gh.py +53 -0
  8. machineconfig/jobs/python_custom_installers/hx.py +55 -0
  9. machineconfig/profile/create.py +26 -21
  10. machineconfig/profile/create_hardlinks.py +101 -0
  11. machineconfig/profile/shell.py +5 -5
  12. machineconfig/scripts/python/choose_wezterm_theme.py +96 -0
  13. machineconfig/scripts/python/cloud_copy.py +24 -17
  14. machineconfig/scripts/python/cloud_mount.py +20 -10
  15. machineconfig/scripts/python/cloud_repo_sync.py +109 -56
  16. machineconfig/scripts/python/cloud_sync.py +73 -68
  17. machineconfig/scripts/python/croshell.py +23 -14
  18. machineconfig/scripts/python/devops.py +19 -20
  19. machineconfig/scripts/python/devops_backup_retrieve.py +19 -10
  20. machineconfig/scripts/python/devops_devapps_install.py +81 -57
  21. machineconfig/scripts/python/devops_update_repos.py +5 -5
  22. machineconfig/scripts/python/dotfile.py +4 -4
  23. machineconfig/scripts/python/fire_jobs.py +139 -66
  24. machineconfig/scripts/python/ftpx.py +17 -7
  25. machineconfig/scripts/python/gh_models.py +53 -0
  26. machineconfig/scripts/python/mount_nfs.py +1 -1
  27. machineconfig/scripts/python/mount_nw_drive.py +3 -3
  28. machineconfig/scripts/python/mount_ssh.py +2 -3
  29. machineconfig/scripts/python/pomodoro.py +1 -1
  30. machineconfig/scripts/python/repos.py +26 -23
  31. machineconfig/scripts/python/scheduler.py +1 -1
  32. machineconfig/scripts/python/start_slidev.py +10 -4
  33. machineconfig/scripts/python/start_terminals.py +6 -5
  34. machineconfig/scripts/python/wifi_conn.py +34 -42
  35. machineconfig/scripts/python/wsl_windows_transfer.py +1 -1
  36. machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py +1 -1
  37. machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py +3 -2
  38. machineconfig/utils/installer.py +167 -60
  39. machineconfig/utils/procs.py +2 -2
  40. machineconfig/utils/scheduling.py +3 -3
  41. machineconfig/utils/utils.py +137 -56
  42. machineconfig/utils/ve.py +171 -100
  43. machineconfig-1.91.dist-info/LICENSE +201 -0
  44. {machineconfig-1.8.dist-info → machineconfig-1.91.dist-info}/METADATA +31 -11
  45. machineconfig-1.91.dist-info/RECORD +69 -0
  46. {machineconfig-1.8.dist-info → machineconfig-1.91.dist-info}/WHEEL +1 -1
  47. machineconfig/jobs/script_installer/azure_data_studio.py +0 -22
  48. machineconfig/jobs/script_installer/bypass_paywall.py +0 -23
  49. machineconfig/jobs/script_installer/code.py +0 -34
  50. machineconfig/jobs/script_installer/docker_desktop.py +0 -41
  51. machineconfig/jobs/script_installer/ngrok.py +0 -29
  52. machineconfig/jobs/script_installer/skim.py +0 -21
  53. machineconfig/jobs/script_installer/wezterm.py +0 -34
  54. machineconfig-1.8.dist-info/RECORD +0 -70
  55. /machineconfig/jobs/{script_installer → python_custom_installers}/__init__.py +0 -0
  56. {machineconfig-1.8.dist-info → machineconfig-1.91.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: machineconfig
3
- Version: 1.8
3
+ Version: 1.91
4
4
  Summary: Dotfiles management package
5
5
  Home-page: https://github.com/thisismygitrepo/machineconfig
6
6
  Author: Alex Al-Saffar
@@ -11,6 +11,7 @@ Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.9
13
13
  Description-Content-Type: text/markdown
14
+ License-File: LICENSE
14
15
  Requires-Dist: rich
15
16
  Requires-Dist: paramiko
16
17
  Requires-Dist: gitpython
@@ -19,6 +20,9 @@ Requires-Dist: pyfzf
19
20
  Requires-Dist: clipboard
20
21
  Requires-Dist: psutil
21
22
  Requires-Dist: pydantic
23
+ Requires-Dist: fire
24
+ Requires-Dist: call-function-with-timeout
25
+ Requires-Dist: openai
22
26
 
23
27
 
24
28
  <p align="center">
@@ -34,7 +38,7 @@ Requires-Dist: pydantic
34
38
 
35
39
  # Shortcuts
36
40
  * `bit.ly/cfgroot` is a shortcut to this repo.
37
- * `curl bit.ly/cfgread -L | bat -l md --style="header"` to get the readme file.
41
+ * `glow https://bit.ly/cfgread` OR `curl bit.ly/cfgread -L | bat -l md --style="header"` to get the readme file.
38
42
 
39
43
  Machineconfig is a package for managing configuration files (aka dotfiles). The idea is to collect those critical, time-consuming-files-to-setup in one directory and reference them via symbolic links from their original locations. Thus, when a new machine is to be setup, all that is required is to clone the repo in that machine and create the symbolic links.
40
44
  Dotfiles include, but are not limited to:
@@ -53,29 +57,40 @@ Additionally, files that contain data, sensitive information that should not be
53
57
 
54
58
  ## Windows Setup
55
59
  With elevated `PowerShell`, run the following: (short `curl bit.ly/cfgallwindows -L | iex`)
60
+
61
+ **You have to have `winget` first. If its not available in the your terminal, try those resources:**
62
+
63
+ * https://github.com/asheroto/winget-install
64
+ * https://github.com/microsoft/winget-cli
65
+ * https://github.com/microsoft/winget-cli/discussions/3258
66
+
67
+
56
68
  ```shell
57
69
  # apps # short: `(iwr bit.ly/cfgappswindows).Content | iex`
58
70
  Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/apps.ps1 | Invoke-Expression
59
71
  # virtual enviornment # short (iwr bit.ly/cfgvewindows).Content | iex OR `curl bit.ly/cfgvewindows -L | iex`
60
72
  Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/ve.ps1 | Invoke-Expression
61
- # dev repos # short `(iwr bit.ly/cfgreposwindows).Content | iex` OR `curl bit.ly/cfgreposwindows -L | iex`
62
- Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/repos.ps1 | Invoke-Expression
63
- # symlinks # short `curl bit.ly/cfgsymlinkswindows -L | iex` OR `(iwr bit.ly/cfgsymlinkswindows).Content | iex`
64
- . ~/code/machineconfig/src/machineconfig/setup_windows/symlinks.ps1
73
+ # symlinks # short `(iwr bit.ly/cfgsymlinkswindows).Content | iex` OR `curl bit.ly/cfgsymlinkswindows -L | iex`
74
+ . $HOME/code/machineconfig/src/machineconfig/setup_windows/symlinks.ps1
65
75
  # devapps:
66
- ~/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
76
+ $HOME/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
67
77
  # pwsh and wt settings: (iwr bit.ly/cfgwt).Content | iex
68
78
  iwr https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/wt_and_pwsh.ps1 | iex
69
79
 
70
80
  ```
71
81
 
72
82
  ```shell
83
+
73
84
  (iwr bit.ly/cfgappswindows).Content | iex
74
85
  (iwr bit.ly/cfgvewindows).Content | iex
75
- (iwr bit.ly/cfgreposwindows).Content | iex
76
- . ~/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
86
+ . $HOME/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
77
87
  (iwr bit.ly/cfgwt).Content | iex
78
- . ~/code/machineconfig/src/machineconfig/setup_windows/symlinks.ps1
88
+ . $HOME/code/machineconfig/src/machineconfig/setup_windows/symlinks.ps1
89
+
90
+ & "$HOME\venvs\ve\Scripts\activate.ps1"
91
+ python -m fire machineconfig.profile.create main2 --choice=all
92
+ deactivate
93
+
79
94
  ```
80
95
 
81
96
  ###### Setup SSH connection:
@@ -96,7 +111,7 @@ short: `curl bit.ly/cfgcroshellwindows -L | iex` OR `(iwr bit.ly/cfgcroshellwind
96
111
  # Linux Setup
97
112
  With `sudo` access, run the following: (short `curl bit.ly/cfgalllinux -L | bash`)
98
113
  ```bash
99
- export package_manager="apt"
114
+ export package_manager="nala"
100
115
  export package_manager="nix"
101
116
 
102
117
  # apps # short: `curl bit.ly/cfgappslinux -L | bash`
@@ -129,8 +144,11 @@ short `curl bit.ly/cfgsshlinux -L | bash`
129
144
 
130
145
 
131
146
  ###### Install Croshell Terminal Directly
147
+
132
148
  ```bash
149
+
133
150
  curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/web_shortcuts/croshell.sh | sudo bash
151
+
134
152
  ```
135
153
  short `curl bit.ly/cfgcroshelllinux -L | bash`
136
154
 
@@ -138,3 +156,5 @@ short `curl bit.ly/cfgcroshelllinux -L | bash`
138
156
  # Author
139
157
  Alex Al-Saffar. [email](mailto:programmer@usa.com)
140
158
 
159
+ [![Alex's github activity graph](https://github-readme-activity-graph.vercel.app/graph?username=thisismygitrepo)](https://github.com/ashutosh00710/github-readme-activity-graph)
160
+
@@ -0,0 +1,69 @@
1
+ machineconfig/__init__.py,sha256=zFmBYpknJZWoUoOu6Zh1tiiGKu_rEvtMhSjRqhGNb1Q,79
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=VCWm1gusV126HFS-LxW8_ALejMzvYKohTQ3zheYfLsk,7785
5
+ machineconfig/jobs/python/checkout_version.py,sha256=CynwqWoFD8yddKw4bfJWmU9BWx2ORN0Pl6igLo50hK8,4318
6
+ machineconfig/jobs/python/create_bootable_media.py,sha256=OGZB_hiGVVlKVXE-7mGCdNhntOiLvXsno8cyRzB0EGI,611
7
+ machineconfig/jobs/python/create_zellij_template.py,sha256=tIGieeq2n21B_dpgkXiR_Zh2q4xUPG3QhqCwLKCkhog,1301
8
+ machineconfig/jobs/python/python_cargo_build_share.py,sha256=mu5TAJse-e5R12mcMr4b9cGBYPjbHVA5eKrgRngd9jM,1759
9
+ machineconfig/jobs/python/python_ve_symlink.py,sha256=ZdXuTfEBkO1uYc6F-xg_bWF46ScQ9Xaj3b2dDqO1BL4,837
10
+ machineconfig/jobs/python/tasks.py,sha256=palEhxnzY0roWg16-LS6mZM9pjOiUe8g9Ye7UKxe8kw,151
11
+ machineconfig/jobs/python_custom_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ machineconfig/jobs/python_custom_installers/gh.py,sha256=4XRUUuT5b29V5WAPgJMGqxLqQ9-wbBv-mAisIxUNubQ,1433
13
+ machineconfig/jobs/python_custom_installers/hx.py,sha256=AdrLrk8kH-Fa1Is4ZJkpxiellvYxnWof8yaGKGnU2i4,1967
14
+ machineconfig/jobs/python_generic_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ machineconfig/jobs/python_linux_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ machineconfig/jobs/python_linux_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
+ machineconfig/jobs/python_windows_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
+ machineconfig/jobs/python_windows_installers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ machineconfig/jobs/python_windows_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ machineconfig/profile/create.py,sha256=k2PKsdOdJ_Jpe9gJ2xkDh60mWlA2FS1TQpmRQUXeWvQ,5162
22
+ machineconfig/profile/create_hardlinks.py,sha256=5y3IqCGf8qE34W40IQTLXkzig5dipUre9C9DTEhHMo4,4581
23
+ machineconfig/profile/shell.py,sha256=FsmZhNoVmzD_Fn22jwFtstVm6fTbkcdI5qY3K8o-0cg,6136
24
+ machineconfig/scripts/__init__.py,sha256=8aZPVoch_gcI0Ihcr30zQcPjRQMWiWzDnQXnOm7spzo,73
25
+ machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ machineconfig/scripts/python/choose_wezterm_theme.py,sha256=2nQ9ruqYENQXYepFTocjeIS03P3mFdUNN8zJxCMA6r4,2697
27
+ machineconfig/scripts/python/cloud_copy.py,sha256=2oX58QlyhQs6SKNcAEbYhvNhIBSJyie_zKM0i2D206o,5049
28
+ machineconfig/scripts/python/cloud_manager.py,sha256=qfmO63t1LQxO6QHhz3qxePQnas4RsNOjLV1cGK8xK8I,1639
29
+ machineconfig/scripts/python/cloud_mount.py,sha256=7ygg8tu-L-N0Q4KYcV7X2oxQgj6aEF9uIC8YWzdPioc,4882
30
+ machineconfig/scripts/python/cloud_repo_sync.py,sha256=RiP23IR1hpLD5bKxyahfZYPA2cbkP577DYa6g7ks86E,10178
31
+ machineconfig/scripts/python/cloud_sync.py,sha256=4vh8AwL6OL1fMZe5278oezRVNIaLFPedjVw5pvbCD5w,11103
32
+ machineconfig/scripts/python/croshell.py,sha256=qWdIAQF3rsDaVVoU9Iq855zKnS9vYGsEPRL6EvWwFEk,6457
33
+ machineconfig/scripts/python/devops.py,sha256=jYOUsdBy9zsrxibklBVE9_vVR_oo09m20ccSWoCKQlc,5384
34
+ machineconfig/scripts/python/devops_add_identity.py,sha256=q0DjXowg0dr5nDVrMdyViF_OQdeTN_fDXTVcVPgddfk,1549
35
+ machineconfig/scripts/python/devops_add_ssh_key.py,sha256=RoHO_lP1DuyKrPl_wYfAJuliRP7CVKssygy3cK2eJXo,3308
36
+ machineconfig/scripts/python/devops_backup_retrieve.py,sha256=jAdnWZPj0wWKCZdKOrbh_ocP_mq4Qe9Go9MSsne_2MM,2825
37
+ machineconfig/scripts/python/devops_devapps_install.py,sha256=cMCkZPiqgAhp8eopw6Ig5-zE7e2Vq0EJ3jP8EahwqYM,6461
38
+ machineconfig/scripts/python/devops_update_repos.py,sha256=tT20CEGT7419BLYJGLF_tzMig49roBC8n2H8Pv3S6TU,2756
39
+ machineconfig/scripts/python/dotfile.py,sha256=_-YhGv1aX2BvePfMS0NKuKVc62I6e8FnJWcoJgxGT-k,1572
40
+ machineconfig/scripts/python/fire_jobs.py,sha256=LEJAFejj7uz5E38GWKQi1ih7JWkltgZQmUwD4PuTHfc,21090
41
+ machineconfig/scripts/python/ftpx.py,sha256=PQ7ktw6O4Y9Mv3rdRy8rBPDQQLoEafojTBr5IpLDXW8,4643
42
+ machineconfig/scripts/python/gh_models.py,sha256=IZ9fxb4PevUAsG3zclLGBXABda67R3mmVnUPc8Bp_wU,1841
43
+ machineconfig/scripts/python/mount_nfs.py,sha256=WR75U_WVYHibiC2DNxEncy7x273zH8EoUjhikcVERoM,2484
44
+ machineconfig/scripts/python/mount_nw_drive.py,sha256=YggJOZayVfj2lthQOw68Sq9pgLltXdJ83o8KCRIRjcY,1002
45
+ machineconfig/scripts/python/mount_ssh.py,sha256=zXGHnNPN-PKD364lWN9ucOilVH3eW2WDqjwX0wXBzOY,1402
46
+ machineconfig/scripts/python/onetimeshare.py,sha256=tveeuE_PmRuk7hwJy5c53b2eL0lvxR_MACX5X_4syy8,1881
47
+ machineconfig/scripts/python/pomodoro.py,sha256=lb-JqrFrcuIlnWNAJGlcBYRVnaT5OyDLmNWJllz5b7M,1979
48
+ machineconfig/scripts/python/repos.py,sha256=6X6BmOMZnK8L5v4GYLv8uQdymDxE3s6xjkpFi1SYmdQ,10333
49
+ machineconfig/scripts/python/scheduler.py,sha256=z2xEQc_XkWy3viLoyVh5Eqz7SS0U0EI7MSCxa3Zsyv8,2310
50
+ machineconfig/scripts/python/snapshot.py,sha256=XxnGc8bOb7vgx-TpJVBzgkzQf9Fcz6VyQ3LH7sOsLDI,622
51
+ machineconfig/scripts/python/start_slidev.py,sha256=9pw7YsSkHXsjscPP3W-IjqzdEHDifWVeU3wwaZwoz6E,4693
52
+ machineconfig/scripts/python/start_terminals.py,sha256=_iKn_L9FeAxiDr_srmwJm0Slq4LxTYHV7LP5eF-m5T8,5446
53
+ machineconfig/scripts/python/wifi_conn.py,sha256=Zst2qB5AZ0q2BsO4xl_8kiBDrQDiHn_QkSqEPVAoi_Q,2930
54
+ machineconfig/scripts/python/wsl_windows_transfer.py,sha256=f-rHdoC2aN-CfVEJogKfhni_N1lL68P4roeFeghWlgU,2197
55
+ machineconfig/setup_windows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
+ machineconfig/setup_windows/wt_and_pwsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
+ machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py,sha256=7bgzIKxjeBptvR_MAabkPaGvM-RtwjkCQl5fXiO8Jks,1616
58
+ machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=Vot104GT-skjx294XcYjgk-rvCf6ibqtJBFcRDtgA18,6251
59
+ machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
+ machineconfig/utils/installer.py,sha256=dbAi-z1RNZ5s2_Pnw_DHr0NdNpggJ7AfToC3IDu-67s,19627
61
+ machineconfig/utils/procs.py,sha256=2l2nR86RqtUUrHzrj3YzyVD2TPwwaDAMgSweljU5fuY,5176
62
+ machineconfig/utils/scheduling.py,sha256=EetPS2TKlb_3J3LPZSsGzMaPykEycNczCqukYwEP_NE,7342
63
+ machineconfig/utils/utils.py,sha256=R4Q4IAAhGOT0FAVQ9GoY7hCHUlUWNSXkZDfDV0SHr6A,22841
64
+ machineconfig/utils/ve.py,sha256=zjXsWM7_ijty8Iz9SnUG3dPydr3sFtwakghQY-8oRlI,12655
65
+ machineconfig-1.91.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
66
+ machineconfig-1.91.dist-info/METADATA,sha256=y_rnijmr8n1wptiAb_LZLsMge3_aWN9usF15DYJmYOM,6662
67
+ machineconfig-1.91.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
68
+ machineconfig-1.91.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
69
+ machineconfig-1.91.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.3)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,22 +0,0 @@
1
-
2
- from typing import Optional
3
- import platform
4
-
5
-
6
- def main(version: Optional[str] = None):
7
- _ = version
8
- if platform.system() == "Linux": return f"""
9
-
10
- curl https://azuredatastudio-update.azurewebsites.net/latest/linux-x64/stable -o ~/azuredatastudio-linux-x64.tar.gz
11
- tar -xvf ~/azuredatastudio-linux-<version string>.tar.gz
12
- echo 'export PATH="$PATH:~/azuredatastudio-linux-x64"' >> ~/.bashrc
13
- source ~/.bashrc
14
-
15
- """
16
- elif platform.system() == "Windows": return "winget install -e --id Microsoft.AzureDataStudio"
17
- else:
18
- raise NotImplementedError(f"Your platform {platform.system()} is not supported!")
19
-
20
-
21
- if __name__ == '__main__':
22
- pass
@@ -1,23 +0,0 @@
1
-
2
- # import numpy as np
3
- # import matplotlib.pyplot as plt
4
-
5
- # from platform import system
6
- from typing import Optional
7
- from crocodile.file_management import P
8
-
9
-
10
- __doc__ = """Plugin for chrome to bypass paywalls"""
11
-
12
-
13
- def main(version: Optional[str] = None):
14
- _ = version
15
- # see remove paywalls and enhance YT experience by Chris Titus
16
- folder = r"C:\\"
17
- P("https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip").download().unzip(folder=folder, content=True)
18
- P(folder).joinpath("bypass-paywalls-chrome-master")
19
- return ""
20
-
21
-
22
- if __name__ == '__main__':
23
- pass
@@ -1,34 +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
- def main(version: Optional[str] = None):
9
-
10
- if platform.system() == 'Linux':
11
- code = """
12
-
13
- sudo apt-get install wget gpg
14
- wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
15
- sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
16
- 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'
17
- rm -f packages.microsoft.gpg
18
-
19
- sudo apt install apt-transport-https -y
20
- sudo apt update
21
- sudo apt install code -y # or code-insiders
22
-
23
- """
24
-
25
- elif platform.system() == 'Windows':
26
- code = "winget install -e --id Microsoft.VisualStudioCode"
27
- else:
28
- raise NotImplementedError(f"Unsupported platform: {platform.system()}")
29
- _ = version
30
- return code
31
-
32
-
33
- if __name__ == '__main__':
34
- pass
@@ -1,41 +0,0 @@
1
-
2
- # from machineconfig.utils.installer import get_latest_release
3
- #
4
- # from crocodile.meta import Terminal
5
- from typing import Optional
6
-
7
- # https://docs.docker.com/desktop/install/ubuntu/
8
- # https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
9
- # https://stackoverflow.com/questions/41133455/docker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun
10
-
11
-
12
- # url = r"https://github.com/koute/bytehound"
13
- # fname = r"bytehound-x86_64-unknown-linux-gnu.tgz"
14
- __doc__ = """Docker Desltop for Ubuntu as per https://docs.docker.com/desktop/install/ubuntu/"""
15
-
16
-
17
- def main(version: Optional[str] = None):
18
- _ = version
19
- code = """
20
- # Add Docker's official GPG key:
21
- sudo apt-get update
22
- sudo apt-get install ca-certificates curl gnupg
23
- sudo install -m 0755 -d /etc/apt/keyrings
24
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
25
- sudo chmod a+r /etc/apt/keyrings/docker.gpg
26
-
27
- # Add the repository to Apt sources:
28
- echo \
29
- "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
30
- $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
31
- sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
32
- sudo apt-get update
33
-
34
- sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
35
-
36
- """
37
- return code
38
-
39
-
40
- if __name__ == '__main__':
41
- pass
@@ -1,29 +0,0 @@
1
-
2
- """ngrok
3
- """
4
-
5
- import platform
6
- from typing import Optional
7
-
8
-
9
- def main(version: Optional[str]):
10
- _ = version
11
- if platform.system() == "Windows":
12
- program = "winget install ngrok.ngrok"
13
- elif platform.system() == "Linux":
14
- # as per https://ngrok.com/docs/getting-started/?os=linux
15
- program = """
16
-
17
- curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | \
18
- sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && \
19
- echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | \
20
- sudo tee /etc/apt/sources.list.d/ngrok.list && \
21
- sudo apt update && sudo apt install ngrok
22
- """
23
- else:
24
- raise NotImplementedError("unsupported platform")
25
- return program
26
-
27
-
28
- if __name__ == "__main__":
29
- pass
@@ -1,21 +0,0 @@
1
-
2
- """
3
- Rust version of FZF (GO)
4
- """
5
-
6
- # from machineconfig.utils.utils import get_latest_release
7
- #
8
- from typing import Optional
9
-
10
- __doc__ = """skim is a fuzzy finder in rust!"""
11
- repo_url = r"https://github.com/lotabout/skim"
12
-
13
-
14
- def main(version: Optional[str] = None):
15
- _ = version
16
- # release = get_latest_release(repo_url.as_url_str(), suffix='x86_64-unknown-linux-musl', compression='tar.gz', linux=True, strip_v=True, download_n_extract=True)
17
- pass
18
-
19
-
20
- if __name__ == '__main__':
21
- pass
@@ -1,34 +0,0 @@
1
-
2
- """wezterm installer
3
- """
4
-
5
- from machineconfig.utils.installer import get_installers
6
- from typing import Optional
7
- import platform
8
-
9
-
10
- def main(version: Optional[str]):
11
- if platform.system() == "Windows":
12
- program = "winget install wez.wezterm"
13
- elif platform.system() == "Linux":
14
- insts = get_installers(system=platform.system(), dev=False)
15
- program = ""
16
- for inst in insts:
17
- if "wezterm" in inst.name:
18
- # as per https://wezfurlong.org/wezterm/install/linux.html#installing-on-ubuntu-and-debian-based-systems
19
- downloaded, version_to_be_installed = inst.download(version=version)
20
- _= version_to_be_installed
21
-
22
- program = f"""
23
- sudo apt install -y {downloaded}
24
- rm {downloaded}
25
- """
26
- break
27
- else:
28
- raise NotImplementedError("unsupported platform")
29
- return program
30
-
31
-
32
- if __name__ == "__main__":
33
- # main(version=None)
34
- pass
@@ -1,70 +0,0 @@
1
- machineconfig/__init__.py,sha256=bsBSmmsUO8rqdzHk2wibjueFpDc0Q97faQnM6vKUNOU,79
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=CKAfdl7-KafGMSGcSTMs-CpmB4zEP7KKNNnp-nWKI6M,7767
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_generic_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- machineconfig/jobs/python_linux_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- machineconfig/jobs/python_linux_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- machineconfig/jobs/python_windows_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- machineconfig/jobs/python_windows_installers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- machineconfig/jobs/python_windows_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- machineconfig/jobs/script_installer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- machineconfig/jobs/script_installer/azure_data_studio.py,sha256=iDPiKbEmkjnV_aPVvrnbSVMPw4USTAV1yoT2KuyUgRU,654
19
- machineconfig/jobs/script_installer/bypass_paywall.py,sha256=c2_4UD2hIgs2v3gt_tWz7m5861Vsbt99KDk7kbIQdIY,592
20
- machineconfig/jobs/script_installer/code.py,sha256=F9BPw6ErslGttrJ9M6EDIaF6TXchw8XmHUHAXUIa-mQ,1055
21
- machineconfig/jobs/script_installer/docker_desktop.py,sha256=oPiUUEI5VXhHvnx8xD0IEtpWGg8g3ZoX0PQcYn8Ssk0,1431
22
- machineconfig/jobs/script_installer/ngrok.py,sha256=r9w7VcErKOTLxpbxRIpjMkOjmJ1vJE03-Mf8P8kh2-c,726
23
- machineconfig/jobs/script_installer/skim.py,sha256=O2EE5eT-W7cKiohfOrKj7OM7-3nVVJnjb1ifdWA2H9M,494
24
- machineconfig/jobs/script_installer/wezterm.py,sha256=OcNYPUc2Dx9QCz-im0ryqPEdEAStgB-J0MSKq9n4c1U,950
25
- machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- machineconfig/profile/create.py,sha256=9QJGkyHDIG6ArA8RMqiZJrD79eZ0HXOy4qAfd269lV8,4962
27
- machineconfig/profile/shell.py,sha256=oo40fnLvxcS2K6wvjN4ITVefhkvIW_VbP8Tua_9mqm0,6129
28
- machineconfig/scripts/__init__.py,sha256=8aZPVoch_gcI0Ihcr30zQcPjRQMWiWzDnQXnOm7spzo,73
29
- machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- machineconfig/scripts/python/cloud_copy.py,sha256=fWy2D-oJpguj_VPIHRa-A6RNV2YiD10tk51FTvoJIMg,4619
31
- machineconfig/scripts/python/cloud_manager.py,sha256=qfmO63t1LQxO6QHhz3qxePQnas4RsNOjLV1cGK8xK8I,1639
32
- machineconfig/scripts/python/cloud_mount.py,sha256=DsOV_Pt6B_9IwCyf2W6qHlxx41W0f_WqDKcUCWQJPmo,4634
33
- machineconfig/scripts/python/cloud_repo_sync.py,sha256=yZLqOSrCYLNV3mZaLl0wZSu1nE8z5BtAu6OU9Iwtx-8,7805
34
- machineconfig/scripts/python/cloud_sync.py,sha256=oMaemB0DruVPQyHey-C0KvqJQY9ZPxOgTQAq09-7G9M,11240
35
- machineconfig/scripts/python/croshell.py,sha256=Gk4jKJCAsZkCUceKdZdnIRsDbJl74z2xfQwB9dY3ODw,6073
36
- machineconfig/scripts/python/devops.py,sha256=imvtmo1PRcP-SlGgPK_Eeghd-ZtHWwV30vx6zyG8lps,5363
37
- machineconfig/scripts/python/devops_add_identity.py,sha256=q0DjXowg0dr5nDVrMdyViF_OQdeTN_fDXTVcVPgddfk,1549
38
- machineconfig/scripts/python/devops_add_ssh_key.py,sha256=RoHO_lP1DuyKrPl_wYfAJuliRP7CVKssygy3cK2eJXo,3308
39
- machineconfig/scripts/python/devops_backup_retrieve.py,sha256=sH3a5Uvz5SDhiypP_KIJR1-RiZT-IU8IOJjpvC1UeGk,2443
40
- machineconfig/scripts/python/devops_devapps_install.py,sha256=64XFl6A1UyDFdUSvy-12wH4DxRAtMZ1MLlwnCR3Vaok,5220
41
- machineconfig/scripts/python/devops_update_repos.py,sha256=ZW_jI1oNlus929Y2ErXhDWDr6A4SSbTxrutn-__AdI4,2809
42
- machineconfig/scripts/python/dotfile.py,sha256=1zPwDgCjwsAFNBJ6h9qCTqpPPDpZzjdDkq6rFVlhvdo,1564
43
- machineconfig/scripts/python/fire_jobs.py,sha256=42ynJDoRPaGKLAC2hpbuWAcjHIIRtBQalRe3N7w5TrU,17217
44
- machineconfig/scripts/python/ftpx.py,sha256=_PDH8QghwTkeNsPXuKXXdRWyEvvSpUW41hMsiui2x_E,4141
45
- machineconfig/scripts/python/mount_nfs.py,sha256=MLEZ2IjXPLuWqOwzzWhiV8nxcULS32JHzNnrwulmp4I,2485
46
- machineconfig/scripts/python/mount_nw_drive.py,sha256=2AwmOF1IHI_ET9BBjhgMQ9AGn8uj6zoCC7Rg8Iy0G1A,1005
47
- machineconfig/scripts/python/mount_ssh.py,sha256=R557UOF3uChH2Mf_eWgSu7GVyzcfNPSaFudn42n51oM,1406
48
- machineconfig/scripts/python/onetimeshare.py,sha256=tveeuE_PmRuk7hwJy5c53b2eL0lvxR_MACX5X_4syy8,1881
49
- machineconfig/scripts/python/pomodoro.py,sha256=-ag26tR7dre1Zw4xfKkPERDRvn7xSJkWfBpem8VjJzE,1974
50
- machineconfig/scripts/python/repos.py,sha256=0dxJcQm8lzxzxn3aArT_UzwEHFtsjDWOP0LGcvaB3oM,10253
51
- machineconfig/scripts/python/scheduler.py,sha256=PN-_GzkcMCAIdxWj_gQQIFR5OKs8pa3aeXn7Bn4YnEM,2305
52
- machineconfig/scripts/python/snapshot.py,sha256=XxnGc8bOb7vgx-TpJVBzgkzQf9Fcz6VyQ3LH7sOsLDI,622
53
- machineconfig/scripts/python/start_slidev.py,sha256=mhcXz6LcogTPU1CEGPRzFj8yC_w6ey1k-FeNEfOEiqk,4359
54
- machineconfig/scripts/python/start_terminals.py,sha256=VwAbhZ4LxHhuWvmWaRxWh2HvlPK02kHG0-W7QekubVY,5441
55
- machineconfig/scripts/python/wifi_conn.py,sha256=XABEqc_TNdKa-I3J2DmDgEtT5Xt95fcqjNJ9W9MsEPA,2916
56
- machineconfig/scripts/python/wsl_windows_transfer.py,sha256=YDmN3bjz-auWktIlhkj4pEFykysXtMnpjZobhXJ69d4,2198
57
- machineconfig/setup_windows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
- machineconfig/setup_windows/wt_and_pwsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
- machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py,sha256=bwOvQ8Lcmxy8Mds3pPR7itZA_8FUMOD5RzGZgrnzDlM,1611
60
- machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=WgJ9JkrjOZZW8JPw5wdkEIlE7Z4VDkDOXuag1qsqLlo,6242
61
- machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
- machineconfig/utils/installer.py,sha256=uvXk3w1tjTBBnsoFzWHwv2Z38FLaafEjGB7rOL8pLIs,14393
63
- machineconfig/utils/procs.py,sha256=GCdvGvowFm-GZe6PLcRe7yaWiBr6QFnSc_lAVWQDKo8,5146
64
- machineconfig/utils/scheduling.py,sha256=PGSmJPjDN5ZP5pLzzV4aXCRaB71OlMSiEljRkzMWSX8,7341
65
- machineconfig/utils/utils.py,sha256=izwiIvw_eLtbxvX7zhK7YZkrE6Xd8nw3u1O-r23AZ10,18780
66
- machineconfig/utils/ve.py,sha256=rtweDN9Xs9xh8a0QNsKIhH6eZmC0H-RBLrIN_f68l6s,9113
67
- machineconfig-1.8.dist-info/METADATA,sha256=ECcBQ2_UcFmk_ClfRF7vk9tq0uDYV77RAW-x1yCEw_o,6256
68
- machineconfig-1.8.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
69
- machineconfig-1.8.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
70
- machineconfig-1.8.dist-info/RECORD,,