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,155 +1,160 @@
1
- Metadata-Version: 2.1
2
- Name: machineconfig
3
- Version: 1.9
4
- Summary: Dotfiles management package
5
- Home-page: https://github.com/thisismygitrepo/machineconfig
6
- Author: Alex Al-Saffar
7
- Author-email: programmer@usa.com
8
- Project-URL: Bug Tracker, https://github.com/thisismygitrepo/machineconfig/issues
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Operating System :: OS Independent
12
- Requires-Python: >=3.9
13
- Description-Content-Type: text/markdown
14
- License-File: LICENSE
15
- Requires-Dist: rich
16
- Requires-Dist: paramiko
17
- Requires-Dist: gitpython
18
- Requires-Dist: pudb
19
- Requires-Dist: pyfzf
20
- Requires-Dist: clipboard
21
- Requires-Dist: psutil
22
- Requires-Dist: pydantic
23
- Requires-Dist: fire
24
-
25
-
26
- <p align="center">
27
-
28
- <a href="https://github.com/thisismygitrepo/machineconfig/commits">
29
- <img src="https://img.shields.io/github/commit-activity/m/thisismygitrepo/machineconfig" />
30
- </a>
31
-
32
- </p>
33
-
34
-
35
- # Welcome to machineconfig
36
-
37
- # Shortcuts
38
- * `bit.ly/cfgroot` is a shortcut to this repo.
39
- * `glow https://bit.ly/cfgread` OR `curl bit.ly/cfgread -L | bat -l md --style="header"` to get the readme file.
40
-
41
- 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.
42
- Dotfiles include, but are not limited to:
43
- * `~/.gitconfig`
44
- * `~/.ssh`
45
- * `~/.aws`
46
- * `~/.bash_profile`
47
- * `~/.bashrc`
48
- * `~/.config`
49
- * `$profile` in Windows Powershell
50
- * etc
51
-
52
-
53
- Additionally, files that contain data, sensitive information that should not be pushed to a repository are contained in a directory `~/dotfiles`. The files therein are encrypted before backedup.
54
-
55
-
56
- ## Windows Setup
57
- With elevated `PowerShell`, run the following: (short `curl bit.ly/cfgallwindows -L | iex`)
58
-
59
- **You have to have `winget` first. If its not available in the your terminal, try those resources:**
60
-
61
- * https://github.com/asheroto/winget-install
62
- * https://github.com/microsoft/winget-cli
63
- * https://github.com/microsoft/winget-cli/discussions/3258
64
-
65
-
66
- ```shell
67
- # apps # short: `(iwr bit.ly/cfgappswindows).Content | iex`
68
- Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/apps.ps1 | Invoke-Expression
69
- # virtual enviornment # short (iwr bit.ly/cfgvewindows).Content | iex OR `curl bit.ly/cfgvewindows -L | iex`
70
- Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/ve.ps1 | Invoke-Expression
71
- # dev repos # short `(iwr bit.ly/cfgreposwindows).Content | iex` OR `curl bit.ly/cfgreposwindows -L | iex`
72
- Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/repos.ps1 | Invoke-Expression
73
- # symlinks # short `(iwr bit.ly/cfgsymlinkswindows).Content | iex` OR `curl bit.ly/cfgsymlinkswindows -L | iex`
74
- . ~/code/machineconfig/src/machineconfig/setup_windows/symlinks.ps1
75
- # devapps:
76
- ~/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
77
- # pwsh and wt settings: (iwr bit.ly/cfgwt).Content | iex
78
- iwr https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/wt_and_pwsh.ps1 | iex
79
-
80
- ```
81
-
82
- ```shell
83
- (iwr bit.ly/cfgappswindows).Content | iex
84
- (iwr bit.ly/cfgvewindows).Content | iex
85
- (iwr bit.ly/cfgreposwindows).Content | iex
86
- . ~/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
87
- (iwr bit.ly/cfgwt).Content | iex
88
- . ~/code/machineconfig/src/machineconfig/setup_windows/symlinks.ps1
89
- ```
90
-
91
- ###### Setup SSH connection:
92
- ```shell
93
- # CHANGE pubkey_string APPROPRIATELY
94
- $pubkey_string=(Invoke-WebRequest 'https://github.com/thisismygitrepo.keys').Content
95
- Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/openssh_all.ps1 | Invoke-Expression
96
- ```
97
- short `(iwr bit.ly/cfgsshwindows).Content | iex` OR `curl bit.ly/cfgsshwindows -L | iex`
98
-
99
- ###### Install Croshell Terminal Directly,
100
- ```shell
101
- Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/web_shortcuts/croshell.ps1 | Invoke-Expression
102
- ```
103
- short: `curl bit.ly/cfgcroshellwindows -L | iex` OR `(iwr bit.ly/cfgcroshellwindows).Content | iex`
104
-
105
-
106
- # Linux Setup
107
- With `sudo` access, run the following: (short `curl bit.ly/cfgalllinux -L | bash`)
108
- ```bash
109
- export package_manager="apt"
110
- export package_manager="nix"
111
-
112
- # apps # short: `curl bit.ly/cfgappslinux -L | bash`
113
- curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/apps.sh | bash
114
- # Optionally: curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/apps_dev.sh | bash
115
-
116
- # virtual enviornment # short `curl bit.ly/cfgvelinux -L | bash`
117
- curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/ve.sh | bash
118
-
119
- # repos # short `curl bit.ly/cfgreposlinux -L | bash`
120
- curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/repos.sh | bash
121
- # symlinks and bash profile: # short `curl bit.ly/cfgsymlinkslinux -L | bash`
122
- source ~/code/machineconfig/src/machineconfig/setup_linux/symlinks.sh # requires sudo since it invloves chmod of dotfiles/.ssh, however sudo doesn't work with source. best to have sudo -s earlier.
123
-
124
- # devapps
125
- source <(sudo cat ~/code/machineconfig/src/machineconfig/setup_linux/devapps.sh)
126
- ```
127
-
128
- ###### Setup SSH connection:
129
- ```bash
130
- pubkey_url='https://github.com/thisismygitrepo.keys' # (CHANGE APPROPRIATELY)
131
- export pubkey_string=$(curl --silent $pubkey_url)
132
- curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/openssh_all.sh | sudo bash
133
- # For WSL only, also run the following:
134
- export port=2223
135
- curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/openssh_wsl.sh | sudo bash
136
- # don't forget to run `wsl_ssh_windows_port_forwarding -p 2223` from Windows using the designated port with
137
- ```
138
- short `curl bit.ly/cfgsshlinux -L | bash`
139
-
140
-
141
- ###### Install Croshell Terminal Directly
142
-
143
- ```bash
144
-
145
- curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/web_shortcuts/croshell.sh | sudo bash
146
-
147
- ```
148
- short `curl bit.ly/cfgcroshelllinux -L | bash`
149
-
150
-
151
- # Author
152
- Alex Al-Saffar. [email](mailto:programmer@usa.com)
153
-
154
- [![Alex's github activity graph](https://github-readme-activity-graph.vercel.app/graph?username=thisismygitrepo)](https://github.com/ashutosh00710/github-readme-activity-graph)
155
-
1
+ Metadata-Version: 2.1
2
+ Name: machineconfig
3
+ Version: 1.91
4
+ Summary: Dotfiles management package
5
+ Home-page: https://github.com/thisismygitrepo/machineconfig
6
+ Author: Alex Al-Saffar
7
+ Author-email: programmer@usa.com
8
+ Project-URL: Bug Tracker, https://github.com/thisismygitrepo/machineconfig/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.9
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Requires-Dist: rich
16
+ Requires-Dist: paramiko
17
+ Requires-Dist: gitpython
18
+ Requires-Dist: pudb
19
+ Requires-Dist: pyfzf
20
+ Requires-Dist: clipboard
21
+ Requires-Dist: psutil
22
+ Requires-Dist: pydantic
23
+ Requires-Dist: fire
24
+ Requires-Dist: call-function-with-timeout
25
+ Requires-Dist: openai
26
+
27
+
28
+ <p align="center">
29
+
30
+ <a href="https://github.com/thisismygitrepo/machineconfig/commits">
31
+ <img src="https://img.shields.io/github/commit-activity/m/thisismygitrepo/machineconfig" />
32
+ </a>
33
+
34
+ </p>
35
+
36
+
37
+ # Welcome to machineconfig
38
+
39
+ # Shortcuts
40
+ * `bit.ly/cfgroot` is a shortcut to this repo.
41
+ * `glow https://bit.ly/cfgread` OR `curl bit.ly/cfgread -L | bat -l md --style="header"` to get the readme file.
42
+
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.
44
+ Dotfiles include, but are not limited to:
45
+ * `~/.gitconfig`
46
+ * `~/.ssh`
47
+ * `~/.aws`
48
+ * `~/.bash_profile`
49
+ * `~/.bashrc`
50
+ * `~/.config`
51
+ * `$profile` in Windows Powershell
52
+ * etc
53
+
54
+
55
+ Additionally, files that contain data, sensitive information that should not be pushed to a repository are contained in a directory `~/dotfiles`. The files therein are encrypted before backedup.
56
+
57
+
58
+ ## Windows Setup
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
+
68
+ ```shell
69
+ # apps # short: `(iwr bit.ly/cfgappswindows).Content | iex`
70
+ Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/apps.ps1 | Invoke-Expression
71
+ # virtual enviornment # short (iwr bit.ly/cfgvewindows).Content | iex OR `curl bit.ly/cfgvewindows -L | iex`
72
+ Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/ve.ps1 | Invoke-Expression
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
75
+ # devapps:
76
+ $HOME/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
77
+ # pwsh and wt settings: (iwr bit.ly/cfgwt).Content | iex
78
+ iwr https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/wt_and_pwsh.ps1 | iex
79
+
80
+ ```
81
+
82
+ ```shell
83
+
84
+ (iwr bit.ly/cfgappswindows).Content | iex
85
+ (iwr bit.ly/cfgvewindows).Content | iex
86
+ . $HOME/code/machineconfig/src/machineconfig/setup_windows/devapps.ps1
87
+ (iwr bit.ly/cfgwt).Content | iex
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
+
94
+ ```
95
+
96
+ ###### Setup SSH connection:
97
+ ```shell
98
+ # CHANGE pubkey_string APPROPRIATELY
99
+ $pubkey_string=(Invoke-WebRequest 'https://github.com/thisismygitrepo.keys').Content
100
+ Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/openssh_all.ps1 | Invoke-Expression
101
+ ```
102
+ short `(iwr bit.ly/cfgsshwindows).Content | iex` OR `curl bit.ly/cfgsshwindows -L | iex`
103
+
104
+ ###### Install Croshell Terminal Directly,
105
+ ```shell
106
+ Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/web_shortcuts/croshell.ps1 | Invoke-Expression
107
+ ```
108
+ short: `curl bit.ly/cfgcroshellwindows -L | iex` OR `(iwr bit.ly/cfgcroshellwindows).Content | iex`
109
+
110
+
111
+ # Linux Setup
112
+ With `sudo` access, run the following: (short `curl bit.ly/cfgalllinux -L | bash`)
113
+ ```bash
114
+ export package_manager="nala"
115
+ export package_manager="nix"
116
+
117
+ # apps # short: `curl bit.ly/cfgappslinux -L | bash`
118
+ curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/apps.sh | bash
119
+ # Optionally: curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/apps_dev.sh | bash
120
+
121
+ # virtual enviornment # short `curl bit.ly/cfgvelinux -L | bash`
122
+ curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/ve.sh | bash
123
+
124
+ # repos # short `curl bit.ly/cfgreposlinux -L | bash`
125
+ curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/repos.sh | bash
126
+ # symlinks and bash profile: # short `curl bit.ly/cfgsymlinkslinux -L | bash`
127
+ source ~/code/machineconfig/src/machineconfig/setup_linux/symlinks.sh # requires sudo since it invloves chmod of dotfiles/.ssh, however sudo doesn't work with source. best to have sudo -s earlier.
128
+
129
+ # devapps
130
+ source <(sudo cat ~/code/machineconfig/src/machineconfig/setup_linux/devapps.sh)
131
+ ```
132
+
133
+ ###### Setup SSH connection:
134
+ ```bash
135
+ pubkey_url='https://github.com/thisismygitrepo.keys' # (CHANGE APPROPRIATELY)
136
+ export pubkey_string=$(curl --silent $pubkey_url)
137
+ curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/openssh_all.sh | sudo bash
138
+ # For WSL only, also run the following:
139
+ export port=2223
140
+ curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/openssh_wsl.sh | sudo bash
141
+ # don't forget to run `wsl_ssh_windows_port_forwarding -p 2223` from Windows using the designated port with
142
+ ```
143
+ short `curl bit.ly/cfgsshlinux -L | bash`
144
+
145
+
146
+ ###### Install Croshell Terminal Directly
147
+
148
+ ```bash
149
+
150
+ curl https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/web_shortcuts/croshell.sh | sudo bash
151
+
152
+ ```
153
+ short `curl bit.ly/cfgcroshelllinux -L | bash`
154
+
155
+
156
+ # Author
157
+ Alex Al-Saffar. [email](mailto:programmer@usa.com)
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,36 +0,0 @@
1
-
2
- """
3
- custom installer for azuredatastudio
4
- """
5
-
6
- from typing import Optional
7
- import platform
8
-
9
- config_dict = {
10
- "repo_url": "CUSTOM",
11
- "doc": "Azure Data Studio is a data management tool that enables working with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.",
12
- "filename_template_windows_amd_64": "AzureDataStudio-{}.exe",
13
- "filename_template_linux_amd_64": "azuredatastudio-{}.deb",
14
- "strip_v": True,
15
- "exe_name": "azuredatastudio"
16
- }
17
-
18
-
19
- def main(version: Optional[str] = None):
20
- _ = version
21
- if platform.system() == "Linux": return f"""
22
-
23
- cd ~/Downloads
24
- curl https://azuredatastudio-update.azurewebsites.net/latest/linux-x64/stable -o ./azuredatastudio-linux-x64.tar.gz
25
- tar -xvf ./azuredatastudio-linux-x64.tar.gz
26
- echo 'export PATH="$PATH:~/azuredatastudio-linux-x64"' >> ~/.bashrc
27
- source ~/.bashrc
28
-
29
- """
30
- elif platform.system() == "Windows": return "winget install -e --id Microsoft.AzureDataStudio"
31
- else:
32
- raise NotImplementedError(f"Your platform {platform.system()} is not supported!")
33
-
34
-
35
- if __name__ == '__main__':
36
- pass
@@ -1,30 +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
- config_dict = {
11
- "repo_url": "CUSTOM",
12
- "doc": """Plugin for chrome to bypass paywalls""",
13
- "filename_template_windows_amd_64": "VSCodeSetup-{}.exe",
14
- "filename_template_linux_amd_64": "code_{}.deb",
15
- "strip_v": True,
16
- "exe_name": "code"
17
- }
18
-
19
-
20
- def main(version: Optional[str] = None):
21
- _ = version
22
- # see remove paywalls and enhance YT experience by Chris Titus
23
- folder = r"C:\\"
24
- P("https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip").download().unzip(folder=folder, content=True)
25
- P(folder).joinpath("bypass-paywalls-chrome-master")
26
- return ""
27
-
28
-
29
- if __name__ == '__main__':
30
- pass
@@ -1,52 +0,0 @@
1
-
2
- """
3
- Installer
4
- """
5
- # from machineconfig.utils.installer import get_latest_release
6
- # from crocodile.meta import Terminal
7
- from typing import Optional
8
-
9
- # https://docs.docker.com/desktop/install/ubuntu/
10
- # https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
11
- # https://stackoverflow.com/questions/41133455/docker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun
12
-
13
-
14
- # url = r"https://github.com/koute/bytehound"
15
- # fname = r"bytehound-x86_64-unknown-linux-gnu.tgz"
16
-
17
-
18
- config_dict = {
19
- "repo_url": "CUSTOM",
20
- "doc": """Docker Desltop for Ubuntu as per https://docs.docker.com/desktop/install/ubuntu/""",
21
- "filename_template_windows_amd_64": "gh_{}_windows_amd64.zip",
22
- "filename_template_linux_amd_64": "gh_{}_linux_amd64.tar.gz",
23
- "strip_v": True,
24
- "exe_name": "gh"
25
- }
26
-
27
-
28
- def main(version: Optional[str]):
29
- _ = version
30
- code = """
31
- # Add Docker's official GPG key:
32
- sudo apt-get update
33
- sudo apt-get install ca-certificates curl gnupg
34
- sudo install -m 0755 -d /etc/apt/keyrings
35
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
36
- sudo chmod a+r /etc/apt/keyrings/docker.gpg
37
-
38
- # Add the repository to Apt sources:
39
- echo \
40
- "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
41
- $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
42
- sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
43
- sudo apt-get update
44
-
45
- sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
46
-
47
- """
48
- return code
49
-
50
-
51
- if __name__ == '__main__':
52
- pass
@@ -1,35 +0,0 @@
1
-
2
- """
3
- natural language to API
4
- https://github.com/ShishirPatil/gorilla
5
- """
6
-
7
- from machineconfig.utils.ve import get_ve_install_script
8
- # import subprocess
9
-
10
- config_dict = {
11
- "repo_url": "CUSTOM",
12
- "doc": "natural language to API",
13
- "filename_template_windows_amd_64": "ngrok-stable-windows-amd64.zip",
14
- "filename_template_linux_amd_64": "ngrok-stable-linux-amd64.zip",
15
- "strip_v": False,
16
- "exe_name": "ngrok"
17
- }
18
-
19
- ve_name = "goex"
20
-
21
-
22
- def main():
23
- install_script = get_ve_install_script(ve_name=ve_name, py_version="3.11", install_crocodile_and_machineconfig=False,
24
- delete_if_exists=True, system=None)
25
-
26
-
27
- install_script += f"""
28
-
29
- . activate_ve {ve_name}
30
- cd ~/code/foreign
31
- git clone https://github.com/ShishirPatil/gorilla --depth 1
32
- cd gorilla/goex
33
- pip install -e .
34
-
35
- """
@@ -1,48 +0,0 @@
1
-
2
- """lvim
3
- """
4
-
5
- from crocodile.meta import Terminal
6
- import subprocess
7
- import platform
8
- from typing import Optional
9
-
10
-
11
- _ = Terminal, subprocess
12
- # as per https://www.lunarvim.org/docs/installation
13
-
14
-
15
- config_dict = {
16
- "repo_url": "CUSTOM",
17
- "doc": "Terminal text editor based on neovim.",
18
- "filename_template_windows_amd_64": "",
19
- "filename_template_linux_amd_64": "",
20
- "strip_v": False,
21
- "exe_name": "lvim"
22
- }
23
-
24
-
25
- def main(version: Optional[str]):
26
- _ = version
27
- if platform.system() == "Windows":
28
- program = """
29
-
30
- pwsh -c "`$LV_BRANCH='release-1.4/neovim-0.9'; iwr https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.4/neovim-0.9/utils/installer/install.ps1 -UseBasicParsing | iex"
31
-
32
- """
33
- elif platform.system() == "Linux":
34
- program = """
35
-
36
- LV_BRANCH='release-1.4/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.4/neovim-0.9/utils/installer/install.sh)
37
-
38
- """
39
- else:
40
- raise NotImplementedError("unsupported platform")
41
- # _res = Terminal(stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE).run_script(script=program, shell="default").print(desc="Running custom installer", capture=True)
42
- # run script here as it requires user input
43
- _ = program
44
- return ""
45
-
46
-
47
- if __name__ == "__main__":
48
- pass
@@ -1,39 +0,0 @@
1
-
2
- """ngrok
3
- """
4
-
5
- import platform
6
- from typing import Optional
7
-
8
-
9
- config_dict = {
10
- "repo_url": "CUSTOM",
11
- "doc": "ngrok secure introspectable tunnels to localhost",
12
- "filename_template_windows_amd_64": "ngrok-stable-windows-amd64.zip",
13
- "filename_template_linux_amd_64": "ngrok-stable-linux-amd64.zip",
14
- "strip_v": False,
15
- "exe_name": "ngrok"
16
- }
17
-
18
-
19
- def main(version: Optional[str]):
20
- _ = version
21
- if platform.system() == "Windows":
22
- program = "winget install ngrok.ngrok --source winget"
23
- elif platform.system() == "Linux":
24
- # as per https://ngrok.com/docs/getting-started/?os=linux
25
- program = """
26
-
27
- curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | \
28
- sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && \
29
- echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | \
30
- sudo tee /etc/apt/sources.list.d/ngrok.list && \
31
- sudo apt update && sudo apt install ngrok
32
- """
33
- else:
34
- raise NotImplementedError("unsupported platform")
35
- return program
36
-
37
-
38
- if __name__ == "__main__":
39
- pass