machineconfig 1.7__py3-none-any.whl → 1.9__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.
- machineconfig/__init__.py +4 -2
- machineconfig/jobs/python/check_installations.py +38 -32
- machineconfig/jobs/python/create_bootable_media.py +4 -4
- machineconfig/jobs/python/create_zellij_template.py +3 -2
- machineconfig/jobs/python/python_cargo_build_share.py +14 -9
- machineconfig/jobs/python/python_ve_symlink.py +6 -6
- machineconfig/jobs/python_custom_installers/azuredatastudio.py +36 -0
- machineconfig/jobs/python_custom_installers/bypass_paywall.py +30 -0
- machineconfig/jobs/{python_linux_installers/dev → python_custom_installers}/docker_desktop.py +15 -4
- machineconfig/jobs/python_custom_installers/gh.py +53 -0
- machineconfig/jobs/python_custom_installers/goes.py +35 -0
- machineconfig/jobs/python_custom_installers/helix.py +43 -0
- machineconfig/jobs/python_custom_installers/lvim.py +48 -0
- machineconfig/jobs/python_custom_installers/ngrok.py +39 -0
- machineconfig/jobs/python_custom_installers/nvim.py +48 -0
- machineconfig/jobs/python_custom_installers/vscode.py +45 -0
- machineconfig/jobs/python_custom_installers/wezterm.py +41 -0
- machineconfig/profile/create.py +12 -7
- machineconfig/profile/shell.py +15 -13
- machineconfig/scripts/python/choose_wezterm_theme.py +96 -0
- machineconfig/scripts/python/cloud_copy.py +18 -13
- machineconfig/scripts/python/cloud_mount.py +41 -15
- machineconfig/scripts/python/cloud_repo_sync.py +57 -31
- machineconfig/scripts/python/cloud_sync.py +13 -15
- machineconfig/scripts/python/croshell.py +19 -10
- machineconfig/scripts/python/devops.py +22 -6
- machineconfig/scripts/python/devops_add_identity.py +7 -6
- machineconfig/scripts/python/devops_add_ssh_key.py +10 -9
- machineconfig/scripts/python/devops_backup_retrieve.py +5 -5
- machineconfig/scripts/python/devops_devapps_install.py +24 -19
- machineconfig/scripts/python/devops_update_repos.py +5 -4
- machineconfig/scripts/python/dotfile.py +8 -4
- machineconfig/scripts/python/fire_jobs.py +165 -55
- machineconfig/scripts/python/ftpx.py +18 -8
- machineconfig/scripts/python/mount_nfs.py +13 -10
- machineconfig/scripts/python/mount_nw_drive.py +4 -3
- machineconfig/scripts/python/mount_ssh.py +8 -5
- machineconfig/scripts/python/repos.py +26 -21
- machineconfig/scripts/python/snapshot.py +2 -2
- machineconfig/scripts/python/start_slidev.py +104 -0
- machineconfig/scripts/python/start_terminals.py +1 -1
- machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py +20 -34
- machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py +11 -12
- machineconfig/utils/installer.py +177 -217
- machineconfig/utils/scheduling.py +1 -1
- machineconfig/utils/utils.py +107 -54
- machineconfig/utils/ve.py +120 -16
- machineconfig-1.9.dist-info/LICENSE +201 -0
- {machineconfig-1.7.dist-info → machineconfig-1.9.dist-info}/METADATA +155 -140
- machineconfig-1.9.dist-info/RECORD +76 -0
- {machineconfig-1.7.dist-info → machineconfig-1.9.dist-info}/WHEEL +1 -1
- machineconfig/jobs/python_generic_installers/archive/gopass.py +0 -18
- machineconfig/jobs/python_generic_installers/archive/nvim.py +0 -20
- machineconfig/jobs/python_generic_installers/archive/opencommit.py +0 -25
- machineconfig/jobs/python_generic_installers/archive/strongbox.py +0 -33
- machineconfig/jobs/python_generic_installers/dev/__init__.py +0 -0
- machineconfig/jobs/python_linux_installers/archive/__init__.py +0 -0
- machineconfig/jobs/python_linux_installers/archive/bandwhich.py +0 -14
- machineconfig/jobs/python_linux_installers/archive/ranger.py +0 -19
- machineconfig/jobs/python_linux_installers/dev/azure_data_studio.py +0 -21
- machineconfig/jobs/python_linux_installers/dev/bytehound.py +0 -20
- machineconfig/jobs/python_linux_installers/dev/nnn.py +0 -22
- machineconfig/jobs/python_windows_installers/archive/ntop.py +0 -21
- machineconfig/jobs/python_windows_installers/dev/bypass_paywall.py +0 -22
- machineconfig/jobs/python_windows_installers/dev/obs_background_removal_plugin.py +0 -22
- machineconfig/scripts/python/choose_ohmybash_theme.py +0 -31
- machineconfig/scripts/python/choose_ohmyposh_theme.py +0 -57
- machineconfig/utils/pandas_type.py +0 -37
- machineconfig/utils/to_exe.py +0 -7
- machineconfig-1.7.dist-info/RECORD +0 -81
- /machineconfig/jobs/{python_generic_installers/archive → python_custom_installers}/__init__.py +0 -0
- {machineconfig-1.7.dist-info → machineconfig-1.9.dist-info}/top_level.txt +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# from machineconfig.utils.utils import write_shell_script
|
|
3
|
-
# import crocodile.toolbox as tb
|
|
4
|
-
from typing import Optional
|
|
5
|
-
|
|
6
|
-
__doc__ = """OpenCommit is a tool for writing better commit messages using GPT-3"""
|
|
7
|
-
repo_url = "https://github.com/di-sukharev/opencommit"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def main(version: Optional[str] = None):
|
|
11
|
-
_ = version
|
|
12
|
-
# token = input("Enter your OpenAI API key: ")
|
|
13
|
-
token = 1
|
|
14
|
-
program = f"""
|
|
15
|
-
# as per: {repo_url}
|
|
16
|
-
npm install -g opencommit
|
|
17
|
-
cd ~
|
|
18
|
-
# echo "OPENAI_API_KEY={token}" > .opencommit
|
|
19
|
-
"""
|
|
20
|
-
# tb.Terminal().run(program, shell="powershell").print()
|
|
21
|
-
return program
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
if __name__ == '__main__':
|
|
25
|
-
pass
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"""
|
|
3
|
-
The executable of this program is suspicious according to virustotal.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from machineconfig.utils.installer import find_move_delete_linux, get_latest_release
|
|
7
|
-
import crocodile.toolbox as tb
|
|
8
|
-
from platform import system
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
url = r'https://github.com/uw-labs/strongbox'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
def main():
|
|
15
|
-
d_url = get_latest_release(url, exe_name="strongbox")
|
|
16
|
-
if isinstance(d_url, tb.P):
|
|
17
|
-
v = d_url.name.replace("v", "")
|
|
18
|
-
if system() == 'Linux':
|
|
19
|
-
f = d_url.joinpath(f"strongbox_{v}_linux_amd64").download().with_name("strongbox", inplace=True)
|
|
20
|
-
find_move_delete_linux(f, 'tldr', delete=True)
|
|
21
|
-
tb.Terminal().run("tldr --update")
|
|
22
|
-
|
|
23
|
-
elif system() == 'Windows':
|
|
24
|
-
f = d_url.joinpath(f"strongbox_{v}_windows_amd64.exe").download().with_name("strongbox.exe", inplace=True)
|
|
25
|
-
f.move(folder=f.get_env().WindowsApps, overwrite=True)
|
|
26
|
-
|
|
27
|
-
else:
|
|
28
|
-
raise NotImplementedError(f"System {system()} not supported")
|
|
29
|
-
tb.Terminal().run("strongbox -git-config", shell="powershell").print()
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
if __name__ == '__main__':
|
|
33
|
-
main()
|
|
File without changes
|
|
File without changes
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# import crocodile.toolbox as tb
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
__doc__ = """CLI displaying current network utilization by process"""
|
|
7
|
-
|
|
8
|
-
def main(version: Optional[str] = None):
|
|
9
|
-
_ = version
|
|
10
|
-
pass
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if __name__ == '__main__':
|
|
14
|
-
main()
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"""
|
|
3
|
-
It has a funny installer that is a library of python scripts, not exe.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from machineconfig.utils.installer import find_move_delete_linux, get_latest_release
|
|
7
|
-
import crocodile.toolbox as tb
|
|
8
|
-
from typing import Optional
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
def main(version: Optional[str] = None):
|
|
12
|
-
_ = get_latest_release(repo_url=r"https://github.com/ranger/ranger", exe_name="ranger", download_n_extract=False, version=version)
|
|
13
|
-
find_move_delete_linux(downloaded=tb.P("https://ranger.github.io/ranger-stable.tar.gz").download().ungz_untar(), tool_name="ranger")
|
|
14
|
-
|
|
15
|
-
return ""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
if __name__ == '__main__':
|
|
19
|
-
main()
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
from typing import Optional
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
__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."""
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def main(version: Optional[str] = None):
|
|
9
|
-
_ = version
|
|
10
|
-
return f"""
|
|
11
|
-
|
|
12
|
-
curl https://azuredatastudio-update.azurewebsites.net/latest/linux-x64/stable -o ~/azuredatastudio-linux-x64.tar.gz
|
|
13
|
-
tar -xvf ~/azuredatastudio-linux-<version string>.tar.gz
|
|
14
|
-
echo 'export PATH="$PATH:~/azuredatastudio-linux-x64"' >> ~/.bashrc
|
|
15
|
-
source ~/.bashrc
|
|
16
|
-
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
if __name__ == '__main__':
|
|
21
|
-
main()
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
from machineconfig.utils.installer import get_latest_release
|
|
2
|
-
import crocodile.toolbox as tb
|
|
3
|
-
from crocodile.meta import Terminal
|
|
4
|
-
from typing import Optional
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
url = r"https://github.com/koute/bytehound"
|
|
8
|
-
fname = r"bytehound-x86_64-unknown-linux-gnu.tgz"
|
|
9
|
-
__doc__ = """Inspecting the memory usage of a running process"""
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def main(version: Optional[str] = None):
|
|
13
|
-
release = get_latest_release(repo_url=url, exe_name="bytehound", version=version)
|
|
14
|
-
if not isinstance(release, tb.P): raise ValueError(f"Failed to get latest release. Expected a Path object, got {release}")
|
|
15
|
-
downloaded = tb.P(release).joinpath(fname).download().ungz_untar(inplace=True)
|
|
16
|
-
Terminal().run(f"sudo mv {downloaded}/* /usr/local/bin/").print_if_unsuccessful(desc="MOVING executable to /usr/local/bin", strict_err=True, strict_returncode=True)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
if __name__ == '__main__':
|
|
20
|
-
main()
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# from machineconfig.utils.utils import get_latest_release, find_move_delete_linux
|
|
4
|
-
# import crocodile.toolbox as tb
|
|
5
|
-
from typing import Optional
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
__doc__ = """A terminal-based file manager"""
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
def main(version: Optional[str] = None):
|
|
12
|
-
_ = version
|
|
13
|
-
# repo_url = tb.P(r"https://github.com/jarun/nnn")
|
|
14
|
-
# release = get_latest_release(repo_url.as_url_str())
|
|
15
|
-
# downloaded = release.joinpath(f"nnn-{release.name}.tar.gz").download().ungz_untar(inplace=True)
|
|
16
|
-
# find_move_delete_linux(downloaded=downloaded, tool_name="nnn")
|
|
17
|
-
#
|
|
18
|
-
return ""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if __name__ == '__main__':
|
|
22
|
-
main()
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Not used because it is not mature enough.
|
|
5
|
-
--version doesn't work
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
from machineconfig.utils.utils import P
|
|
9
|
-
from machineconfig.utils.installer import get_latest_release
|
|
10
|
-
|
|
11
|
-
url = 'https://github.com/gsass1/NTop'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
def main():
|
|
15
|
-
link = get_latest_release(repo_url=url, exe_name="ntop", download_n_extract=False)
|
|
16
|
-
if not isinstance(link, P): raise ValueError(f"Failed to get latest release. Expected a Path object, got {url}")
|
|
17
|
-
link.joinpath('ntop.exe').download().move(folder=P.get_env().WindowsApps, name="htop.exe", overwrite=True)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
if __name__ == '__main__':
|
|
21
|
-
main()
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# import numpy as np
|
|
3
|
-
# import matplotlib.pyplot as plt
|
|
4
|
-
import crocodile.toolbox as tb
|
|
5
|
-
# from platform import system
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
__doc__ = """Plugin for chrome to bypass paywalls"""
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def main(version: Optional[str] = None):
|
|
13
|
-
_ = version
|
|
14
|
-
# see remove paywalls and enhance YT experience by Chris Titus
|
|
15
|
-
folder = r"C:\\"
|
|
16
|
-
tb.P("https://github.com/iamadamdev/bypass-paywalls-chrome/archive/master.zip").download().unzip(folder=folder, content=True)
|
|
17
|
-
tb.P(folder).joinpath("bypass-paywalls-chrome-master")
|
|
18
|
-
return ""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if __name__ == '__main__':
|
|
22
|
-
main()
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# this is a plugin for OBS Studio to remove background from a video
|
|
3
|
-
|
|
4
|
-
from machineconfig.utils.utils import P
|
|
5
|
-
from machineconfig.utils.installer import get_latest_release
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
url = "https://github.com/royshil/obs-backgroundremoval"
|
|
10
|
-
__doc__ = """A plugin for OBS Studio to remove background from a video"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def main(version: Optional[str] = None):
|
|
14
|
-
link = get_latest_release(repo_url=url, exe_name="obs", download_n_extract=False, version=version)
|
|
15
|
-
if not isinstance(link, P): raise ValueError(f"Failed to get latest release. Expected a Path object, got {link}")
|
|
16
|
-
link = link.joinpath(f"obs-backgroundremoval-{link.parts[-1][1:]}-win64.zip").download()
|
|
17
|
-
# link.search(r=True, folders=False).apply(lambda file: file.move(tb.P(fr"C:/Program Files/obs-studio").joinpath(file.relative_to(link)), overwrite=True))
|
|
18
|
-
# Expand-Archive {link} -DestinationPath 'C:\Program Files\obs-studio\' -Force
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if __name__ == '__main__':
|
|
22
|
-
main()
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"""Theme
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
import crocodile.toolbox as tb
|
|
6
|
-
from machineconfig.utils.utils import display_options
|
|
7
|
-
from typing import Optional
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
descriptive_themes = ["cupcake", "doubletime", "zork", "slick", "powerline-multiline", "font"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def main(new_theme: Optional[str] = None):
|
|
14
|
-
profile = tb.P.home().joinpath(".bashrc")
|
|
15
|
-
current_theme = tb.L(profile.read_text().splitlines()).filter(lambda x: "OSH_THEME=" in x).list[0].split("=")[1]
|
|
16
|
-
themes = tb.P.home().joinpath(".oh-my-bash/themes").search("*", not_in=["THEMES.md"]).apply(lambda x: x.trunk)
|
|
17
|
-
themes.list.sort()
|
|
18
|
-
if new_theme is None:
|
|
19
|
-
tail = "Recomm: "
|
|
20
|
-
tmp = display_options(msg=f"Choose a theme number from the list above: ", options=list(themes) + ["slick", "surprise me"], default="surprise me", tail=tail,
|
|
21
|
-
prompt=f"Recommended descriptive ones are {descriptive_themes}", fzf=True)
|
|
22
|
-
if isinstance(tmp, str): new_theme = tmp
|
|
23
|
-
else: raise NotImplementedError(f"new_theme is not a string: {new_theme}")
|
|
24
|
-
if new_theme == "surprise me": new_theme = themes.sample().list[0]
|
|
25
|
-
print("Current Theme:", current_theme)
|
|
26
|
-
print("New theme: ", f'"{new_theme}"') #
|
|
27
|
-
profile.modify_text(txt_search=current_theme, txt_alt=f'"{new_theme}"', replace_line=False)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if __name__ == '__main__':
|
|
31
|
-
pass
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"""Oh my posh theme chooser
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
import crocodile.toolbox as tb
|
|
6
|
-
from machineconfig.utils.utils import display_options
|
|
7
|
-
from rich import progress
|
|
8
|
-
from typing import Optional
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
descriptive_themes = ["markbull", "peru", "mojada", "festivetech", "sorin", "agnosterplus", "blueish",
|
|
12
|
-
"thecyberden", "plague", "kali", "fish", "ys", "slim", "paradox", "aliens", "atomicBit"]
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
print(f"{descriptive_themes=}")
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def main(new_theme: Optional[str] = None):
|
|
19
|
-
"""This is a helper for a powershell script.
|
|
20
|
-
run this function to interactively choose a style. Optionally, inpsect the themes of oh my posh and select one:
|
|
21
|
-
"""
|
|
22
|
-
import os
|
|
23
|
-
themes_path = tb.P(os.environ["POSH_THEMES_PATH"])
|
|
24
|
-
# current_theme = tb.P(os.environ["POSH_THEME"]).trunk
|
|
25
|
-
with progress.Progress() as prog:
|
|
26
|
-
prog.add_task("Asking pwsh about its profile path ... ", total=None)
|
|
27
|
-
profile = tb.Terminal().run("$profile", shell="pwsh").op2path()
|
|
28
|
-
|
|
29
|
-
if not isinstance(profile, tb.P): raise ValueError(f"Could not find profile file. Got {profile}")
|
|
30
|
-
current_theme = tb.P(tb.L(profile.read_text().split(" ")).filter(lambda x: ".omp.json" in x).list[0]).expanduser().absolute().trunk
|
|
31
|
-
|
|
32
|
-
if new_theme == "manual":
|
|
33
|
-
tb.P("https://ohmyposh.dev/docs/themes").start() # replace ~/jan... with full path to theme. use: start $profile
|
|
34
|
-
new_theme = input(f"A chrome tab with styles is opened, choose one and put its name here: [jandedobbeleer] ")
|
|
35
|
-
if new_theme == "show":
|
|
36
|
-
__import__("os").system("Write-Host Get-PoshThemes")
|
|
37
|
-
return ""
|
|
38
|
-
if new_theme is None:
|
|
39
|
-
themes = themes_path.search().apply(lambda x: x.trunk)
|
|
40
|
-
# print(themes)
|
|
41
|
-
themes.list.sort()
|
|
42
|
-
tail = ""
|
|
43
|
-
tmp = display_options(msg=f"Choose a theme number from the list above: ", tail=tail,
|
|
44
|
-
options=themes.list + ["surprise me"], default="surprise me",
|
|
45
|
-
prompt=f"Recommended descriptive ones are {descriptive_themes}",
|
|
46
|
-
# prompt="Choose A theme: ",
|
|
47
|
-
fzf=True)
|
|
48
|
-
if isinstance(tmp, str): new_theme = tmp
|
|
49
|
-
else: raise ValueError(f"Got {tmp} from display_options")
|
|
50
|
-
if new_theme == "suprise me": new_theme = themes.sample().list[0]
|
|
51
|
-
print("Current Theme:", current_theme)
|
|
52
|
-
print("New theme: ", new_theme)
|
|
53
|
-
profile.modify_text(txt_search=current_theme, txt_alt=new_theme, replace_line=False)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
if __name__ == '__main__':
|
|
57
|
-
pass
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# import pandas as pd
|
|
3
|
-
# import pandera as pa
|
|
4
|
-
# from pandera.typing import DataFrame, Series
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
# class InputSchema(pa.DataFrameModel):
|
|
8
|
-
# year: Series[int] = pa.Field(gt=2000, coerce=True)
|
|
9
|
-
# month: Series[int] = pa.Field(ge=1, le=12, coerce=True)
|
|
10
|
-
# day: Series[int] = pa.Field(ge=0, le=365, coerce=True)
|
|
11
|
-
|
|
12
|
-
# class OutputSchema(InputSchema):
|
|
13
|
-
# revenue: Series[float]
|
|
14
|
-
|
|
15
|
-
# def transform(df: DataFrame[InputSchema]) -> DataFrame[OutputSchema]:
|
|
16
|
-
# df['new'] = 1
|
|
17
|
-
# df['year'] = df['year'].astype(str)
|
|
18
|
-
|
|
19
|
-
# return df
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# df2 = pd.DataFrame({
|
|
23
|
-
# "year": [2001, 2002, 2003],
|
|
24
|
-
# "month": [3, 6, 12],
|
|
25
|
-
# "day": [200, 156, 365],
|
|
26
|
-
# })
|
|
27
|
-
|
|
28
|
-
# # df3 = transform(df2)
|
|
29
|
-
|
|
30
|
-
# df2[InputSchema.year]
|
|
31
|
-
|
|
32
|
-
# # invalid_df = pd.DataFrame({
|
|
33
|
-
# # "year": ["2001", "2002", "1999"],
|
|
34
|
-
# # "month": ["3", "6", "12"],
|
|
35
|
-
# # "day": ["200", "156", "365"],
|
|
36
|
-
# # })
|
|
37
|
-
# # transform(invalid_df2)
|
machineconfig/utils/to_exe.py
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
machineconfig/__init__.py,sha256=HqeyZVmnF6WD_HdZJsOZ8CShI-ogFjP0B1c7VbnWv1s,69
|
|
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=XLA8f3f4G9j1aRNxEmInM4h7ExV9xPNidKkTFcWnx1E,7613
|
|
5
|
-
machineconfig/jobs/python/checkout_version.py,sha256=nrjpz6mK8T7XS1VArFi7slnKKPNlZw0zMr6V2_JeNic,5042
|
|
6
|
-
machineconfig/jobs/python/create_bootable_media.py,sha256=ADxxXBABSFgrTj2bpk3mqwxES3W5cdP7X0C1BR48PGA,630
|
|
7
|
-
machineconfig/jobs/python/create_zellij_template.py,sha256=vBh8OXze4chrV8woiCymVmNNfPvivlhfmohxcahC3ds,1294
|
|
8
|
-
machineconfig/jobs/python/python_cargo_build_share.py,sha256=lzw4X_9Zu2D04GRaTr96f8_d9Q0ileDGBN0ptqOaee0,1705
|
|
9
|
-
machineconfig/jobs/python/python_ve_symlink.py,sha256=epRcYHyEvMd42kNP7VZ6twLZ1nNQGo1k8TC_dOXu7rk,879
|
|
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_generic_installers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
machineconfig/jobs/python_generic_installers/archive/gopass.py,sha256=2L7MWdRajZbwZG5i7nv7NGcC3BgFOfOT4cw8yJPRaSM,793
|
|
14
|
-
machineconfig/jobs/python_generic_installers/archive/nvim.py,sha256=hl5idXbN-aYWUZ9AGY7ibsNhXD9W9om1lCeFHYjCgD4,532
|
|
15
|
-
machineconfig/jobs/python_generic_installers/archive/opencommit.py,sha256=Nuw0huRnFT_7DnFC7qYkHNGrJgFLJYAEkFZIIO3ly08,624
|
|
16
|
-
machineconfig/jobs/python_generic_installers/archive/strongbox.py,sha256=05txDp5NtMVF6pkbaydjqwVi4n4mtgOMmrVSllbJVo4,1094
|
|
17
|
-
machineconfig/jobs/python_generic_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
-
machineconfig/jobs/python_linux_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
machineconfig/jobs/python_linux_installers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
-
machineconfig/jobs/python_linux_installers/archive/bandwhich.py,sha256=KRb2mypLeoXztJJzF9yTDmE7HH-Y4ENCaMvOL5FWfGI,241
|
|
21
|
-
machineconfig/jobs/python_linux_installers/archive/ranger.py,sha256=L-aH6IidT-cQhgA4cgpKNlWr1kD-atZDW4vuULu34YA,595
|
|
22
|
-
machineconfig/jobs/python_linux_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
-
machineconfig/jobs/python_linux_installers/dev/azure_data_studio.py,sha256=gpeEcxku2FNgEqe-22UMhOly4GK43J8AzaJynf57W0s,563
|
|
24
|
-
machineconfig/jobs/python_linux_installers/dev/bytehound.py,sha256=8l5NtrXTgDdGnN6Bhgdw24WHd1r-WHGIgBUlfiiZK7c,865
|
|
25
|
-
machineconfig/jobs/python_linux_installers/dev/docker_desktop.py,sha256=eIvFzbX9HJXwyN4biY5DU0-5qjeFxfr5hJFu4FaAJrI,1463
|
|
26
|
-
machineconfig/jobs/python_linux_installers/dev/nnn.py,sha256=UVebImaB6YhHhF7fhRiao6duPlYG-KObrlRR0B_eLTw,597
|
|
27
|
-
machineconfig/jobs/python_windows_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
machineconfig/jobs/python_windows_installers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
-
machineconfig/jobs/python_windows_installers/archive/ntop.py,sha256=0OqmX1GO24reS5tvrbL2jTUFKBXaMhFc-P8wNevdYaM,586
|
|
30
|
-
machineconfig/jobs/python_windows_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
-
machineconfig/jobs/python_windows_installers/dev/bypass_paywall.py,sha256=AfQ3wdwWB7MjGs1dhwehEv8xD3_GslpXOSDS0mI4kk4,590
|
|
32
|
-
machineconfig/jobs/python_windows_installers/dev/obs_background_removal_plugin.py,sha256=Tw9JXSc2hxiKIHrKfYl8d2RaXIgbtrZ8dLYDKA753V0,971
|
|
33
|
-
machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
|
-
machineconfig/profile/create.py,sha256=0lLXpx1KGxa6dtTz-ycu_D3AE8bhPDuAYRq5_rHMg0o,4934
|
|
35
|
-
machineconfig/profile/shell.py,sha256=jqDuF5YVuQPjIkF9hiG0jKxG88vpPf_brd5JcSq1eUo,6085
|
|
36
|
-
machineconfig/scripts/__init__.py,sha256=8aZPVoch_gcI0Ihcr30zQcPjRQMWiWzDnQXnOm7spzo,73
|
|
37
|
-
machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
-
machineconfig/scripts/python/choose_ohmybash_theme.py,sha256=l3I8-DQJpy80XGW__CW2v6cmz5QDyngwBoEqPPq7Qhw,1325
|
|
39
|
-
machineconfig/scripts/python/choose_ohmyposh_theme.py,sha256=oHkATbpBunj_efUBTOOk1O4nUSDciyAr1pmogLFeGec,2507
|
|
40
|
-
machineconfig/scripts/python/cloud_copy.py,sha256=C4yQ5BQQvoBOQFIqpL3QFYk3x91LpGlV2DwoS4R495Q,4699
|
|
41
|
-
machineconfig/scripts/python/cloud_manager.py,sha256=qfmO63t1LQxO6QHhz3qxePQnas4RsNOjLV1cGK8xK8I,1639
|
|
42
|
-
machineconfig/scripts/python/cloud_mount.py,sha256=AV_Zy_0wPiPphV1JhvZIsUHu_mInd7JOoeGImss9CH4,4287
|
|
43
|
-
machineconfig/scripts/python/cloud_repo_sync.py,sha256=Tn5vpEjbvxp0EZFHNZX5tU2l9A2pEfTPPFVcPUr_PxI,7411
|
|
44
|
-
machineconfig/scripts/python/cloud_sync.py,sha256=TjxpytVk2bdt9Ej9GTOICWLa_5qGzLtNRl5AYbiUq14,11206
|
|
45
|
-
machineconfig/scripts/python/croshell.py,sha256=00z5F7xknXV7CE9-kzifulvM_1yYCjztHjw1K_uE7Bw,6080
|
|
46
|
-
machineconfig/scripts/python/devops.py,sha256=Cnd_GOf2fEYqul-ft-dlYu7Pm-IO6B13U3ijSqwUxXY,4462
|
|
47
|
-
machineconfig/scripts/python/devops_add_identity.py,sha256=5GpFv_YX8UgOYFikUzJiq6mqqB8TgOmIB575nfwh22M,1554
|
|
48
|
-
machineconfig/scripts/python/devops_add_ssh_key.py,sha256=-F0R1JXqz9CeMTZG64KkFcFEJ8cqPVqWI9WvMVwFkok,3322
|
|
49
|
-
machineconfig/scripts/python/devops_backup_retrieve.py,sha256=BqGq23lIdgH2Xa1Msuidvpgk3_77SBoTyfU3ePIe0XM,2437
|
|
50
|
-
machineconfig/scripts/python/devops_devapps_install.py,sha256=bWX-IQPWA4AUqRodLaFM42NruVXRBU0OYnWGyiaxmYc,5303
|
|
51
|
-
machineconfig/scripts/python/devops_update_repos.py,sha256=56NxS92T5x4q6oH-6jvxSTfFp1nWSjngBTMuYUonBRM,2759
|
|
52
|
-
machineconfig/scripts/python/dotfile.py,sha256=9hyk31wSbFHnX6g_yS21Y0KhiUvIEuSrCe4izAXlWbg,1530
|
|
53
|
-
machineconfig/scripts/python/fire_jobs.py,sha256=EFrqkhnx3ZN9BX9IUTLy59Z1WPL40QrbKwntcW-UlG8,15370
|
|
54
|
-
machineconfig/scripts/python/ftpx.py,sha256=EgNPdEkIZDm5e6md90t6BxI3mf8SZfJEigc49hSY4o4,4120
|
|
55
|
-
machineconfig/scripts/python/mount_nfs.py,sha256=G7lOynwHVOuBornQ5nhxzgzcBHfwFaQqkxwxlORoLN8,2424
|
|
56
|
-
machineconfig/scripts/python/mount_nw_drive.py,sha256=bt0XD6lUJ4DV22_9YY6nTVYfgTniXai55kIYNjJzpZU,1001
|
|
57
|
-
machineconfig/scripts/python/mount_ssh.py,sha256=6ZWhQkLIGNcEZ_tdyHVTUiKVyXzjmmts6exn_MoJzI0,1366
|
|
58
|
-
machineconfig/scripts/python/onetimeshare.py,sha256=tveeuE_PmRuk7hwJy5c53b2eL0lvxR_MACX5X_4syy8,1881
|
|
59
|
-
machineconfig/scripts/python/pomodoro.py,sha256=-ag26tR7dre1Zw4xfKkPERDRvn7xSJkWfBpem8VjJzE,1974
|
|
60
|
-
machineconfig/scripts/python/repos.py,sha256=aeQ5WUhqFjzEi6cqMaTMRKkCZ9CVX9r9fKCX7edz3wY,10230
|
|
61
|
-
machineconfig/scripts/python/scheduler.py,sha256=PN-_GzkcMCAIdxWj_gQQIFR5OKs8pa3aeXn7Bn4YnEM,2305
|
|
62
|
-
machineconfig/scripts/python/snapshot.py,sha256=dgDr9wl3nlfZnKFnEZnIXkDk-CRTk_yUdb-jGb7CCN0,620
|
|
63
|
-
machineconfig/scripts/python/start_terminals.py,sha256=VwAbhZ4LxHhuWvmWaRxWh2HvlPK02kHG0-W7QekubVY,5441
|
|
64
|
-
machineconfig/scripts/python/wifi_conn.py,sha256=XABEqc_TNdKa-I3J2DmDgEtT5Xt95fcqjNJ9W9MsEPA,2916
|
|
65
|
-
machineconfig/scripts/python/wsl_windows_transfer.py,sha256=YDmN3bjz-auWktIlhkj4pEFykysXtMnpjZobhXJ69d4,2198
|
|
66
|
-
machineconfig/setup_windows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
67
|
-
machineconfig/setup_windows/wt_and_pwsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
-
machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py,sha256=plbAOB8LeIWRmbvNh-L7AFD765e9FDOPpl8Q3nHA6TQ,2743
|
|
69
|
-
machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=K6Jv55W9bP5tkGypsboloibdHTSbezFkVAdtYjkCm7g,6332
|
|
70
|
-
machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
71
|
-
machineconfig/utils/installer.py,sha256=VEKxXICs5Gz8GOdFhLq9GiP54j_X_rJazJbaXX0dJCs,19990
|
|
72
|
-
machineconfig/utils/pandas_type.py,sha256=KnYxCBHSnif4RnslTNb0t7ZTrSK6WpbsI-ls8svs6Y4,886
|
|
73
|
-
machineconfig/utils/procs.py,sha256=GCdvGvowFm-GZe6PLcRe7yaWiBr6QFnSc_lAVWQDKo8,5146
|
|
74
|
-
machineconfig/utils/scheduling.py,sha256=OHy2aMFIZRS7fobblD0h7L4N3-fJL4aWgJ1kipZ283U,7341
|
|
75
|
-
machineconfig/utils/to_exe.py,sha256=ubj_c7OxCdQKr_c0hAdwH2BHyexF-cm0PxoVp_dHf7g,206
|
|
76
|
-
machineconfig/utils/utils.py,sha256=54e60Y_lO4PDIrZaTgqIGphlHhiPaWLjJC0Y9gODPmc,15603
|
|
77
|
-
machineconfig/utils/ve.py,sha256=hip7ymBRLkU2cDGanMTPlmFIyxjcSKKEHWhva_JJEB0,5733
|
|
78
|
-
machineconfig-1.7.dist-info/METADATA,sha256=4uylmUNeSbhMxX4R19GVqOZ-_FKR770Vk1ZIpSl5Ejc,6386
|
|
79
|
-
machineconfig-1.7.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
80
|
-
machineconfig-1.7.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
81
|
-
machineconfig-1.7.dist-info/RECORD,,
|
/machineconfig/jobs/{python_generic_installers/archive → python_custom_installers}/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|