machineconfig 1.94__py3-none-any.whl → 1.96__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/cluster/cloud_manager.py +445 -343
- machineconfig/cluster/data_transfer.py +63 -56
- machineconfig/cluster/distribute.py +284 -280
- machineconfig/cluster/file_manager.py +234 -237
- machineconfig/cluster/job_params.py +133 -133
- machineconfig/cluster/loader_runner.py +183 -149
- machineconfig/cluster/remote_machine.py +269 -252
- machineconfig/cluster/script_execution.py +215 -209
- machineconfig/cluster/script_notify_upon_completion.py +50 -43
- machineconfig/cluster/self_ssh.py +52 -54
- machineconfig/cluster/sessions_managers/__init__.py +0 -0
- machineconfig/cluster/sessions_managers/archive/__init__.py +0 -0
- machineconfig/{jobs/python → cluster/sessions_managers/archive}/create_zellij_template.py +5 -3
- machineconfig/cluster/sessions_managers/archive/session_managers.py +184 -0
- machineconfig/cluster/sessions_managers/demo_rich_zellij.py +0 -0
- machineconfig/cluster/sessions_managers/enhanced_command_runner.py +160 -0
- machineconfig/cluster/sessions_managers/wt_local.py +494 -0
- machineconfig/cluster/sessions_managers/wt_local_manager.py +577 -0
- machineconfig/cluster/sessions_managers/wt_remote.py +288 -0
- machineconfig/cluster/sessions_managers/wt_remote_manager.py +483 -0
- machineconfig/cluster/sessions_managers/wt_utils/layout_generator.py +196 -0
- machineconfig/cluster/sessions_managers/wt_utils/process_monitor.py +418 -0
- machineconfig/cluster/sessions_managers/wt_utils/remote_executor.py +175 -0
- machineconfig/cluster/sessions_managers/wt_utils/session_manager.py +300 -0
- machineconfig/cluster/sessions_managers/wt_utils/status_reporter.py +228 -0
- machineconfig/cluster/sessions_managers/zellij_local.py +418 -0
- machineconfig/cluster/sessions_managers/zellij_local_manager.py +533 -0
- machineconfig/cluster/sessions_managers/zellij_remote.py +229 -0
- machineconfig/cluster/sessions_managers/zellij_remote_manager.py +188 -0
- machineconfig/cluster/sessions_managers/zellij_utils/example_usage.py +64 -0
- machineconfig/cluster/sessions_managers/zellij_utils/layout_generator.py +126 -0
- machineconfig/cluster/sessions_managers/zellij_utils/process_monitor.py +334 -0
- machineconfig/cluster/sessions_managers/zellij_utils/remote_executor.py +68 -0
- machineconfig/cluster/sessions_managers/zellij_utils/session_manager.py +119 -0
- machineconfig/cluster/sessions_managers/zellij_utils/status_reporter.py +85 -0
- machineconfig/cluster/templates/cli_click.py +0 -1
- machineconfig/cluster/templates/cli_gooey.py +102 -104
- machineconfig/cluster/templates/run_cloud.py +51 -51
- machineconfig/cluster/templates/run_cluster.py +103 -59
- machineconfig/cluster/templates/run_remote.py +57 -58
- machineconfig/cluster/templates/utils.py +69 -36
- machineconfig/jobs/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/linux/msc/lid.sh +2 -4
- machineconfig/jobs/linux/msc/network.sh +3 -6
- machineconfig/jobs/python/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python/check_installations.py +258 -190
- machineconfig/jobs/python/create_bootable_media.py +7 -3
- machineconfig/jobs/python/python_cargo_build_share.py +50 -50
- machineconfig/jobs/python/python_ve_symlink.py +10 -10
- machineconfig/jobs/python/vscode/__pycache__/select_interpreter.cpython-311.pyc +0 -0
- machineconfig/jobs/python/vscode/api.py +3 -3
- machineconfig/jobs/python/vscode/link_ve.py +6 -6
- machineconfig/jobs/python/vscode/select_interpreter.py +13 -9
- machineconfig/jobs/python/vscode/sync_code.py +14 -11
- machineconfig/jobs/python_custom_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_custom_installers/archive/ngrok.py +5 -5
- machineconfig/jobs/python_custom_installers/dev/aider.py +4 -4
- machineconfig/jobs/python_custom_installers/dev/alacritty.py +7 -6
- machineconfig/jobs/python_custom_installers/dev/brave.py +11 -7
- machineconfig/jobs/python_custom_installers/dev/bypass_paywall.py +7 -8
- machineconfig/jobs/python_custom_installers/dev/code.py +7 -5
- machineconfig/jobs/python_custom_installers/dev/cursor.py +66 -5
- machineconfig/jobs/python_custom_installers/dev/docker_desktop.py +4 -5
- machineconfig/jobs/python_custom_installers/dev/espanso.py +21 -17
- machineconfig/jobs/python_custom_installers/dev/goes.py +6 -12
- machineconfig/jobs/python_custom_installers/dev/lvim.py +7 -6
- machineconfig/jobs/python_custom_installers/dev/nerdfont.py +5 -5
- machineconfig/jobs/python_custom_installers/dev/redis.py +11 -7
- machineconfig/jobs/python_custom_installers/dev/wezterm.py +12 -8
- machineconfig/jobs/python_custom_installers/dev/winget.py +194 -0
- machineconfig/jobs/python_custom_installers/{dev/docker.py → docker.py} +12 -7
- machineconfig/jobs/python_custom_installers/gh.py +10 -9
- machineconfig/jobs/python_custom_installers/hx.py +36 -65
- machineconfig/jobs/python_custom_installers/scripts/linux/brave.sh +4 -8
- machineconfig/jobs/python_custom_installers/scripts/linux/docker.sh +5 -10
- machineconfig/jobs/python_custom_installers/scripts/linux/docker_start.sh +3 -6
- machineconfig/jobs/python_custom_installers/scripts/linux/edge.sh +3 -6
- machineconfig/jobs/python_custom_installers/scripts/linux/nerdfont.sh +5 -10
- machineconfig/jobs/python_custom_installers/scripts/linux/pgsql.sh +4 -8
- machineconfig/jobs/python_custom_installers/scripts/linux/redis.sh +5 -10
- machineconfig/jobs/python_custom_installers/scripts/linux/timescaledb.sh +6 -12
- machineconfig/jobs/python_custom_installers/scripts/linux/vscode.sh +101 -33
- machineconfig/jobs/python_custom_installers/scripts/linux/warp-cli.sh +5 -10
- machineconfig/jobs/python_custom_installers/scripts/linux/wezterm.sh +3 -6
- machineconfig/jobs/python_custom_installers/{dev/warp-cli.py → warp-cli.py} +5 -5
- machineconfig/jobs/python_generic_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_generic_installers/config.json +133 -9
- machineconfig/jobs/python_generic_installers/dev/config.json +208 -37
- machineconfig/jobs/python_generic_installers/update.py +3 -0
- machineconfig/jobs/python_linux_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_linux_installers/config.json +42 -6
- machineconfig/jobs/python_linux_installers/dev/config.json +79 -11
- machineconfig/jobs/python_windows_installers/config.json +6 -0
- machineconfig/profile/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/profile/__pycache__/create.cpython-311.pyc +0 -0
- machineconfig/profile/__pycache__/shell.cpython-311.pyc +0 -0
- machineconfig/profile/create.py +5 -5
- machineconfig/profile/create_hardlinks.py +5 -5
- machineconfig/profile/shell.py +69 -63
- machineconfig/scripts/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/__pycache__/__init__.cpython-313.pyc +0 -0
- machineconfig/scripts/cloud/init.sh +9 -18
- machineconfig/scripts/linux/fire +5 -24
- machineconfig/scripts/linux/fire_agents +27 -0
- machineconfig/scripts/linux/share_cloud.sh +6 -12
- machineconfig/scripts/linux/wifi_conn +24 -0
- machineconfig/scripts/python/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/__init__.cpython-313.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_copy.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_mount.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_sync.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/croshell.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops_backup_retrieve.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops_devapps_install.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops_update_repos.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/fire_agents.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/fire_jobs.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/fire_jobs.cpython-313.pyc +0 -0
- machineconfig/scripts/python/__pycache__/get_zellij_cmd.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/repos.cpython-311.pyc +0 -0
- machineconfig/scripts/python/archive/im2text.py +28 -30
- machineconfig/scripts/python/archive/tmate_conn.py +10 -13
- machineconfig/scripts/python/archive/tmate_start.py +12 -16
- machineconfig/scripts/python/choose_wezterm_theme.py +12 -21
- machineconfig/scripts/python/cloud_copy.py +49 -104
- machineconfig/scripts/python/cloud_manager.py +77 -91
- machineconfig/scripts/python/cloud_mount.py +36 -46
- machineconfig/scripts/python/cloud_repo_sync.py +33 -79
- machineconfig/scripts/python/cloud_sync.py +35 -45
- machineconfig/scripts/python/croshell.py +70 -92
- machineconfig/scripts/python/devops.py +54 -113
- machineconfig/scripts/python/devops_add_identity.py +71 -109
- machineconfig/scripts/python/devops_add_ssh_key.py +42 -149
- machineconfig/scripts/python/devops_backup_retrieve.py +31 -119
- machineconfig/scripts/python/devops_devapps_install.py +6 -10
- machineconfig/scripts/python/devops_update_repos.py +5 -4
- machineconfig/scripts/python/dotfile.py +10 -7
- machineconfig/scripts/python/fire_agents.py +69 -0
- machineconfig/scripts/python/fire_jobs.py +117 -78
- machineconfig/scripts/python/ftpx.py +8 -8
- machineconfig/scripts/python/get_zellij_cmd.py +3 -3
- machineconfig/scripts/python/gh_models.py +6 -4
- machineconfig/scripts/python/helpers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/__init__.cpython-313.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/cloud_helpers.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/helpers2.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/helpers4.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/helpers4.cpython-313.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/repo_sync_helpers.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/cloud_helpers.py +49 -46
- machineconfig/scripts/python/helpers/helpers2.py +26 -39
- machineconfig/scripts/python/helpers/helpers4.py +23 -35
- machineconfig/scripts/python/helpers/repo_sync_helpers.py +33 -67
- machineconfig/scripts/python/mount_nfs.py +8 -11
- machineconfig/scripts/python/mount_nw_drive.py +4 -4
- machineconfig/scripts/python/mount_ssh.py +2 -2
- machineconfig/scripts/python/onetimeshare.py +56 -57
- machineconfig/scripts/python/pomodoro.py +55 -55
- machineconfig/scripts/python/repos.py +72 -49
- machineconfig/scripts/python/scheduler.py +70 -53
- machineconfig/scripts/python/snapshot.py +21 -24
- machineconfig/scripts/python/start_slidev.py +6 -5
- machineconfig/scripts/python/start_terminals.py +3 -1
- machineconfig/scripts/python/viewer.py +5 -4
- machineconfig/scripts/python/viewer_template.py +138 -140
- machineconfig/scripts/python/wifi_conn.py +416 -62
- machineconfig/scripts/python/wsl_windows_transfer.py +18 -3
- machineconfig/scripts/windows/fire.ps1 +27 -15
- machineconfig/settings/linters/.pylintrc +6 -7
- machineconfig/settings/lvim/windows/config.lua +0 -0
- machineconfig/settings/shells/bash/init.sh +6 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/playext.py +7 -6
- machineconfig/settings/shells/pwsh/init.ps1 +6 -6
- machineconfig/settings/shells/wt/settings.json +51 -266
- machineconfig/setup_linux/nix/cli_installation.sh +9 -18
- machineconfig/setup_linux/others/openssh-server_add_pub_key.sh +3 -6
- machineconfig/setup_linux/web_shortcuts/all.sh +5 -10
- machineconfig/setup_linux/web_shortcuts/ascii_art.sh +7 -14
- machineconfig/setup_linux/web_shortcuts/croshell.sh +6 -12
- machineconfig/setup_linux/web_shortcuts/interactive.sh +39 -70
- machineconfig/setup_linux/web_shortcuts/ssh.sh +8 -16
- machineconfig/setup_linux/web_shortcuts/update_system.sh +7 -14
- machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py +3 -6
- machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py +27 -21
- machineconfig/utils/ai/browser_user_wrapper.py +60 -45
- machineconfig/utils/ai/generate_file_checklist.py +4 -7
- machineconfig/utils/ai/url2md.py +15 -7
- machineconfig/utils/cloud/onedrive/setup_oauth.py +59 -0
- machineconfig/utils/cloud/onedrive/transaction.py +796 -0
- machineconfig/utils/{utils_code.py → code.py} +25 -22
- machineconfig/utils/installer.py +81 -44
- machineconfig/utils/installer_utils/installer_abc.py +7 -6
- machineconfig/utils/installer_utils/installer_class.py +44 -25
- machineconfig/utils/io_save.py +107 -0
- machineconfig/utils/{utils_links.py → links.py} +28 -35
- machineconfig/utils/{utils_options.py → options.py} +14 -28
- machineconfig/utils/path.py +112 -0
- machineconfig/utils/path_reduced.py +608 -0
- machineconfig/utils/procs.py +134 -73
- machineconfig/utils/scheduling.py +312 -222
- machineconfig/utils/utils.py +19 -26
- machineconfig/utils/utils2.py +42 -0
- machineconfig/utils/utils5.py +84 -0
- machineconfig/utils/ve.py +49 -103
- {machineconfig-1.94.dist-info → machineconfig-1.96.dist-info}/METADATA +5 -3
- machineconfig-1.96.dist-info/RECORD +437 -0
- {machineconfig-1.94.dist-info → machineconfig-1.96.dist-info}/WHEEL +1 -1
- machineconfig/cluster/session_managers.py +0 -183
- machineconfig/cluster/templates/f.py +0 -4
- machineconfig/jobs/python/__pycache__/check_installations.cpython-311.pyc +0 -0
- machineconfig/jobs/python/__pycache__/checkout_version.cpython-311.pyc +0 -0
- machineconfig/jobs/python/__pycache__/python_ve_symlink.cpython-311.pyc +0 -0
- machineconfig/jobs/python/checkout_version.py +0 -123
- machineconfig/jobs/python/vscode/__pycache__/api.cpython-311.pyc +0 -0
- machineconfig/jobs/python/vscode/__pycache__/link_ve.cpython-311.pyc +0 -0
- machineconfig/jobs/python_custom_installers/__pycache__/hx.cpython-311.pyc +0 -0
- machineconfig/jobs/python_windows_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/python/.mypy_cache/.gitignore +0 -2
- machineconfig/scripts/python/.mypy_cache/3.11/@plugins_snapshot.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/__future__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/__future__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_ast.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_ast.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_bz2.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_bz2.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_codecs.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_codecs.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_collections_abc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_collections_abc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_compression.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_compression.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_decimal.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_decimal.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib_external.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib_external.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_io.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_io.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_locale.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_locale.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_stat.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_stat.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_struct.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_struct.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_thread.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_thread.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/importlib.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/importlib.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_warnings.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_warnings.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_weakref.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_weakref.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_weakrefset.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/_weakrefset.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/abc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/abc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/argparse.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/argparse.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/ast.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/ast.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/binascii.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/binascii.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/builtins.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/builtins.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/bz2.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/bz2.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/calendar.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/calendar.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/codecs.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/codecs.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/collections/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/collections/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/collections/abc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/collections/abc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/configparser.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/configparser.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/contextlib.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/contextlib.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/dataclasses.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/dataclasses.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/datetime.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/datetime.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/decimal.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/decimal.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/dis.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/dis.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/_policybase.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/_policybase.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/charset.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/charset.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/contentmanager.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/contentmanager.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/errors.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/errors.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/header.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/header.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/message.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/message.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/policy.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/email/policy.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/enum.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/enum.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/fnmatch.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/fnmatch.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/functools.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/functools.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/gc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/gc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/genericpath.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/genericpath.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/getpass.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/getpass.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/cmd.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/cmd.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/compat.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/compat.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/config.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/config.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/db.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/db.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/diff.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/diff.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/exc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/exc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/base.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/base.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/fun.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/fun.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/typ.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/typ.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/util.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/util.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/base.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/base.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/blob.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/blob.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/commit.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/commit.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/fun.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/fun.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/base.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/base.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/root.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/root.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/util.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/util.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tag.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tag.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tree.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tree.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/util.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/util.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/head.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/head.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/log.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/log.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/reference.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/reference.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/remote.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/remote.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/symbolic.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/symbolic.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/tag.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/tag.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/remote.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/remote.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/base.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/base.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/fun.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/fun.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/types.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/types.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/util.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/git/util.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/glob.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/glob.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/gzip.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/gzip.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_abc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_abc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap_external.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap_external.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/abc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/abc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/machinery.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/machinery.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/_meta.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/_meta.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/readers.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/readers.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/_common.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/_common.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/abc.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/abc.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/inspect.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/inspect.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/io.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/io.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/itertools.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/itertools.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/locale.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/locale.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/logging/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/logging/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/mimetypes.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/mimetypes.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/mmap.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/mmap.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/numbers.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/numbers.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/opcode.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/opcode.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/os/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/os/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/os/path.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/os/path.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/pathlib.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/pathlib.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/platform.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/platform.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/posixpath.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/posixpath.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/re.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/re.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/resource.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/resource.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/shlex.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/shlex.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/shutil.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/shutil.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/signal.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/signal.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/python/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/python/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sre_compile.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sre_compile.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sre_constants.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sre_constants.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sre_parse.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sre_parse.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/stat.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/stat.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/string.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/string.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/struct.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/struct.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/subprocess.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/subprocess.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sys/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/sys/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/tarfile.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/tarfile.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/tempfile.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/tempfile.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/textwrap.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/textwrap.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/threading.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/threading.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/time.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/time.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/types.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/types.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/typing.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/typing.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/typing_extensions.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/typing_extensions.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/parse.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/parse.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/uuid.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/uuid.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/warnings.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/warnings.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/weakref.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/weakref.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/zipfile/__init__.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/zipfile/__init__.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/zlib.data.json +0 -1
- machineconfig/scripts/python/.mypy_cache/3.11/zlib.meta.json +0 -1
- machineconfig/scripts/python/.mypy_cache/CACHEDIR.TAG +0 -3
- machineconfig/scripts/python/__pycache__/cloud_repo_sync.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/gh_models.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/url2md.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/viewer.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/vscode_api.cpython-311.pyc +0 -0
- machineconfig/settings/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/settings/linters/.ruff_cache/.gitignore +0 -2
- machineconfig/settings/linters/.ruff_cache/CACHEDIR.TAG +0 -1
- machineconfig/settings/shells/ipy/profiles/default/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/__pycache__/playext.cpython-311.pyc +0 -0
- machineconfig/utils/utils_path.py +0 -151
- machineconfig/utils/ve_utils/ve1.py +0 -111
- machineconfig/utils/ve_utils/ve2.py +0 -142
- machineconfig-1.94.dist-info/RECORD +0 -710
- {machineconfig-1.94.dist-info → machineconfig-1.96.dist-info}/top_level.txt +0 -0
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"""
|
|
3
|
-
Session Manager
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from machineconfig.cluster.self_ssh import SelfSSH
|
|
7
|
-
from crocodile.core import List as L
|
|
8
|
-
from crocodile.file_management import P, Save
|
|
9
|
-
from crocodile.meta import SSH, Response, Terminal
|
|
10
|
-
import time
|
|
11
|
-
import subprocess
|
|
12
|
-
from typing import Union
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class Zellij:
|
|
16
|
-
@staticmethod
|
|
17
|
-
def get_current_zellij_session() -> str:
|
|
18
|
-
try:
|
|
19
|
-
return L(Terminal().run("zellij ls --no-formatting").op.split("\n")).filter(lambda x: "(current)" in x).list[0].split(" [Created")[0]
|
|
20
|
-
except IndexError as ie:
|
|
21
|
-
print("""Fails if there is no zellij session running, fails if there is no (current) suffix against the session name.""")
|
|
22
|
-
raise ie
|
|
23
|
-
@staticmethod
|
|
24
|
-
def get_new_session_command(sess_name: str) -> str: return f"zellij attach {sess_name} -c " # -c means create if not exists.
|
|
25
|
-
@staticmethod
|
|
26
|
-
def get_new_session_ssh_command(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
27
|
-
if isinstance(ssh, SelfSSH): return Zellij.get_new_session_command(sess_name=sess_name)
|
|
28
|
-
return f"{ssh.get_ssh_conn_str()} -t {Zellij.get_new_session_command(sess_name=sess_name)}"
|
|
29
|
-
@staticmethod
|
|
30
|
-
def open_console(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
31
|
-
if isinstance(ssh, SelfSSH):
|
|
32
|
-
# return Terminal().run_async(Zellij.get_new_session_command(sess_name=sess_name), shell="powershell")
|
|
33
|
-
# currently, there is a limitation in zellij on creating a detached sessions, there is no way to fix this now.
|
|
34
|
-
# this will get stuck in the new session and won't run parallel.
|
|
35
|
-
return subprocess.Popen(["zellij", "--session", sess_name], shell=True, stdin=None, stdout=None, stderr=None)
|
|
36
|
-
return Terminal().run_async(Zellij.get_new_session_ssh_command(ssh=ssh, sess_name=sess_name))
|
|
37
|
-
@staticmethod
|
|
38
|
-
def asssert_session_started(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
39
|
-
while True:
|
|
40
|
-
raw_resp = ssh.run("zellij ls --no-formatting", verbose=False).op.split("\n")
|
|
41
|
-
current_sessions = [item.split(" [Created")[0] for item in raw_resp if "EXITED" not in item]
|
|
42
|
-
if sess_name in current_sessions:
|
|
43
|
-
print(f"--> Session {sess_name} has started at the remote.")
|
|
44
|
-
time.sleep(6)
|
|
45
|
-
break
|
|
46
|
-
time.sleep(2)
|
|
47
|
-
print(f"--> Waiting for zellij session {sess_name} to start before sending fire commands ...")
|
|
48
|
-
|
|
49
|
-
@staticmethod
|
|
50
|
-
def close_tab(sess_name: str, tab_name: str):
|
|
51
|
-
cmd = f"""
|
|
52
|
-
zellij --session {sess_name} action close-tab --tab-name '{tab_name}'
|
|
53
|
-
zellij --session {sess_name} action new-tab --name '🖥️{tab_name}'
|
|
54
|
-
zellij --session {sess_name} action new-tab --name '🔍{tab_name}'
|
|
55
|
-
zellij --session {sess_name} action new-tab --name '🪪{tab_name}'
|
|
56
|
-
zellij --session {sess_name} action new-tab --name '🧑💻{tab_name}'
|
|
57
|
-
"""
|
|
58
|
-
print(f"Closing tab `{tab_name}` in zellij session `{sess_name}` with command \n{cmd}")
|
|
59
|
-
return Terminal().run_script(cmd)
|
|
60
|
-
|
|
61
|
-
@staticmethod
|
|
62
|
-
def setup_layout(ssh: Union[SSH, SelfSSH], sess_name: str, cmd: str = "", run: bool = False, job_wd: str = "$HOME/tmp_results/remote_machines", tab_name: str = "", compact: bool = False):
|
|
63
|
-
sleep = 0.9
|
|
64
|
-
if run:
|
|
65
|
-
if cmd.startswith(". "): cmd = cmd[2:]
|
|
66
|
-
elif cmd.startswith("source "): cmd = cmd[7:]
|
|
67
|
-
else: pass
|
|
68
|
-
exe = f"""
|
|
69
|
-
zellij --session {sess_name} action new-tab --name '{tab_name}'; sleep {sleep}
|
|
70
|
-
zellij --session {sess_name} run -d down -- /bin/bash {cmd}; sleep {sleep}
|
|
71
|
-
zellij --session {sess_name} action move-focus up; sleep {sleep}
|
|
72
|
-
zellij --session {sess_name} action close-pane; sleep {sleep}
|
|
73
|
-
"""
|
|
74
|
-
else: exe = f"""
|
|
75
|
-
zellij --session {sess_name} action write-chars "{cmd}"
|
|
76
|
-
"""
|
|
77
|
-
if not compact: cmd = f"""
|
|
78
|
-
zellij --session {sess_name} action new-tab --name '{tab_name}'; sleep {sleep}
|
|
79
|
-
zellij --session {sess_name} action rename-tab '🖥️{tab_name}'; sleep {sleep} # rename the focused first tab
|
|
80
|
-
zellij --session {sess_name} action new-tab --name '🔍{tab_name}'; sleep {sleep}
|
|
81
|
-
zellij --session {sess_name} action write-chars htop; sleep {sleep}
|
|
82
|
-
|
|
83
|
-
zellij --session {sess_name} action new-tab --name '📁{tab_name}'; sleep {sleep}
|
|
84
|
-
zellij --session {sess_name} run --direction down --cwd {job_wd} -- lf; sleep {sleep}
|
|
85
|
-
zellij --session {sess_name} action move-focus up; sleep {sleep}
|
|
86
|
-
zellij --session {sess_name} action close-pane; sleep {sleep}
|
|
87
|
-
|
|
88
|
-
zellij --session {sess_name} action new-tab --name '🪪{tab_name}'; sleep {sleep}
|
|
89
|
-
zellij --session {sess_name} run --direction down -- neofetch;cpufetch; sleep {sleep}
|
|
90
|
-
zellij --session {sess_name} action move-focus up; sleep {sleep}
|
|
91
|
-
zellij --session {sess_name} action close-pane; sleep {sleep}
|
|
92
|
-
|
|
93
|
-
zellij --session {sess_name} action new-tab --name '🧑💻{tab_name}'; sleep {sleep}
|
|
94
|
-
zellij --session {sess_name} action write-chars "cd {job_wd}"; sleep {sleep}
|
|
95
|
-
zellij --session {sess_name} action go-to-tab 1; sleep {sleep}
|
|
96
|
-
{exe}
|
|
97
|
-
|
|
98
|
-
"""
|
|
99
|
-
else: cmd = exe
|
|
100
|
-
if isinstance(ssh, SelfSSH):
|
|
101
|
-
# print(1)
|
|
102
|
-
print(f"Setting up zellij layout `{sess_name}` on `{ssh.get_remote_repr()}` to run `{P(job_wd).name}`")
|
|
103
|
-
# return Terminal().run_script(cmd) # Zellij not happy with launching scripts of zellij commands.
|
|
104
|
-
return Response.from_completed_process(subprocess.run(cmd, shell=True, check=True, capture_output=True, text=True))
|
|
105
|
-
# print(2)
|
|
106
|
-
return ssh.run(cmd, desc=f"Setting up zellij layout on `{ssh.get_remote_repr()}`", verbose=False)
|
|
107
|
-
@staticmethod
|
|
108
|
-
def kill_session(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
109
|
-
cmd = f'zellij kill-session {sess_name}'
|
|
110
|
-
return ssh.run(cmd, desc=f"Killing zellij session `{sess_name}` on `{ssh.get_remote_repr()}`", verbose=False)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
class WindowsTerminal:
|
|
114
|
-
@staticmethod
|
|
115
|
-
def kill_session(sess_name: str):
|
|
116
|
-
from machineconfig.utils.procs import ProcessManager
|
|
117
|
-
pm = ProcessManager()
|
|
118
|
-
pm.kill(commands=[sess_name])
|
|
119
|
-
@staticmethod
|
|
120
|
-
def open_reference(): P(r"https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows")()
|
|
121
|
-
@staticmethod
|
|
122
|
-
def get_new_session_command(sess_name: str): return f"wt -w {sess_name} -d ."
|
|
123
|
-
@staticmethod
|
|
124
|
-
def get_new_session_ssh_command(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
125
|
-
if isinstance(ssh, SelfSSH): return WindowsTerminal.get_new_session_command(sess_name=sess_name)
|
|
126
|
-
return f"{ssh.get_ssh_conn_str()} -t {WindowsTerminal.get_new_session_command(sess_name=sess_name)}"
|
|
127
|
-
@staticmethod
|
|
128
|
-
def open_console(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
129
|
-
if isinstance(ssh, SelfSSH):
|
|
130
|
-
# return Terminal().run_async(WindowsTerminal.get_new_session_command(sess_name=sess_name), shell="powershell")
|
|
131
|
-
return subprocess.Popen(["wt", "--window", sess_name], shell=True, stdin=None, stdout=None, stderr=None)
|
|
132
|
-
return Terminal().run_async(WindowsTerminal.get_new_session_ssh_command(ssh=ssh, sess_name=sess_name), shell="pwsh")
|
|
133
|
-
@staticmethod
|
|
134
|
-
def asssert_session_started(ssh: Union[SSH, SelfSSH], sess_name: str):
|
|
135
|
-
_ = sess_name, ssh
|
|
136
|
-
time.sleep(6)
|
|
137
|
-
return True
|
|
138
|
-
@staticmethod
|
|
139
|
-
def setup_layout(ssh: Union[SSH, SelfSSH], sess_name: str, tab_name: str = "", cmd: str = "", run: bool = True, job_wd: str = "$HOME/tmp_results/remote_machines", compact: bool = True):
|
|
140
|
-
if run:
|
|
141
|
-
if cmd.startswith(". "): cmd = cmd[2:]
|
|
142
|
-
elif cmd.startswith("source "): cmd = cmd[7:]
|
|
143
|
-
else: pass
|
|
144
|
-
exe: str = f"""
|
|
145
|
-
wt --window {sess_name} new-tab --title '{tab_name}' pwsh -noExit -Command {cmd}
|
|
146
|
-
"""
|
|
147
|
-
else: raise NotImplementedError("I don't know how to write-chars in Windows Terminal") # exe = f""" wt --window {sess_name} action write-chars "{cmd}" """
|
|
148
|
-
sleep = 0.9
|
|
149
|
-
if compact: cmd = f"""
|
|
150
|
-
wt --window {sess_name} new-tab --title '💻{tab_name}' htop `; split-pane --horizontal --title '📁{tab_name}' --startingDirectory {job_wd} --profile pwsh lf `; split-pane --vertical --title '🪪{tab_name}' powershell -noExit "$HOME/scripts/neofetch.ps1" `; move-focus up `; split-pane --vertical --startingDirectory {job_wd} --title '🧑💻{tab_name}' --profile pwsh
|
|
151
|
-
""" # when pane-splitting, the tab title goes to the last pane declared.
|
|
152
|
-
else: cmd = f"""'
|
|
153
|
-
wt --window {sess_name} new-tab --title '💻{tab_name}' htop; sleep {sleep}
|
|
154
|
-
wt --window {sess_name} new-tab --title '📁{tab_name}' --startingDirectory {job_wd} lf; sleep {sleep}
|
|
155
|
-
wt --window {sess_name} new-tab --title '🪪{tab_name}' powershell -noExit "$HOME/scripts/neofetch.ps1"; sleep {sleep}
|
|
156
|
-
wt --window {sess_name} new-tab --title '🧑💻{tab_name}' --startingDirectory {job_wd} --profile pwsh; sleep {sleep}
|
|
157
|
-
"""
|
|
158
|
-
cmd = cmd + f"\nsleep {sleep};" + exe
|
|
159
|
-
# print(cmd)
|
|
160
|
-
if isinstance(ssh, SelfSSH):
|
|
161
|
-
print(f"Firing WindowsTerminal Session `{sess_name}` on `{ssh.get_remote_repr()}` to run `{P(job_wd).name}`")
|
|
162
|
-
return Terminal().run_script(cmd, shell="pwsh")
|
|
163
|
-
return ssh.run(cmd, desc=f"Setting up WindowsTerminal layout on `{ssh.get_remote_repr()}`", verbose=False)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
class Mprocs:
|
|
167
|
-
@staticmethod
|
|
168
|
-
def get_template():
|
|
169
|
-
import machineconfig
|
|
170
|
-
return P(machineconfig.__file__).parent.joinpath(r"settings/mprocs/windows/mprocs.yaml").readit()
|
|
171
|
-
# def get_new_session_name(self): return f"mprocs{self.id}"
|
|
172
|
-
@staticmethod
|
|
173
|
-
def get_ssh_command(): return ""
|
|
174
|
-
def open_console(self, cmd: str, shell: str = "powershell"):
|
|
175
|
-
_ = cmd, shell
|
|
176
|
-
return "wt -w 0 -d ."
|
|
177
|
-
def get_layout(self):
|
|
178
|
-
temp = self.get_template()
|
|
179
|
-
temp.procs['main']['shell']['windows'] = "croshell"
|
|
180
|
-
_template_file = Save.yaml(obj=temp, path=P.tmpfile(suffix=".yaml"))
|
|
181
|
-
def asssert_session_started(self):
|
|
182
|
-
time.sleep(3)
|
|
183
|
-
return True
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
"""checkout_version.py
|
|
2
|
-
"""
|
|
3
|
-
|
|
4
|
-
from crocodile.file_management import P, Save, randstr
|
|
5
|
-
from crocodile.meta import Terminal
|
|
6
|
-
from machineconfig.utils.ve_utils.ve1 import get_ve_specs
|
|
7
|
-
from machineconfig.scripts.python.repos import record_a_repo, install_repos
|
|
8
|
-
import platform
|
|
9
|
-
|
|
10
|
-
from machineconfig.utils.ve_utils.ve1 import get_ve_name_and_ipython_profile
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def checkout_version(version: str, repo_root: P, exclude_editable: bool=False):
|
|
14
|
-
"""Checkout a version of the repo and install its requirements."""
|
|
15
|
-
ve_name, _ipyprofile = get_ve_name_and_ipython_profile(init_path=repo_root)
|
|
16
|
-
if ve_name is None: raise ValueError("❌ No virtual environment found.")
|
|
17
|
-
ve_path = P.home().joinpath("venvs", ve_name or "ve")
|
|
18
|
-
ve_specs = get_ve_specs(ve_path)
|
|
19
|
-
try:
|
|
20
|
-
py_version = ve_specs['version']
|
|
21
|
-
except KeyError as err:
|
|
22
|
-
# print(f"❌ No python version found in {ve_specs}.")
|
|
23
|
-
# raise err
|
|
24
|
-
_ = err
|
|
25
|
-
py_version = ve_specs['version_info']
|
|
26
|
-
sys = platform.system().lower()
|
|
27
|
-
|
|
28
|
-
target_dir = repo_root.expanduser().absolute().joinpath(f"versions/{version}").as_posix()
|
|
29
|
-
if exclude_editable:
|
|
30
|
-
editable_json = get_editable_packages(ve_name=ve_name)
|
|
31
|
-
specs_path = P(target_dir).expanduser().joinpath("editable_packages.json")
|
|
32
|
-
Save.json(obj=editable_json, path=specs_path, indent=4)
|
|
33
|
-
install_editable_packages = install_repos(specs_path=str(specs_path), editable_install=True)
|
|
34
|
-
else: install_editable_packages = ""
|
|
35
|
-
|
|
36
|
-
version_root = repo_root.collapseuser().joinpath(f"versions/{version}").as_posix()
|
|
37
|
-
version_root_obj = P(version_root).expanduser().create()
|
|
38
|
-
checkout_ve = f"{repo_root.name}-{version}-prod" if not exclude_editable else ve_name
|
|
39
|
-
checkout_ve = input(f"📝 Name of the ve to create (default: {checkout_ve}): ") or checkout_ve
|
|
40
|
-
|
|
41
|
-
install_env = f"""
|
|
42
|
-
|
|
43
|
-
uv venv $HOME/venvs/{checkout_ve} --python {py_version} --python-preference only-managed
|
|
44
|
-
. $HOME/scripts/activate_ve {ve_name}
|
|
45
|
-
|
|
46
|
-
uv pip install pip
|
|
47
|
-
|
|
48
|
-
{install_editable_packages}
|
|
49
|
-
|
|
50
|
-
cd {version_root}
|
|
51
|
-
uv pip install -r requirements_{sys}.txt
|
|
52
|
-
|
|
53
|
-
"""
|
|
54
|
-
if sys == "windows":
|
|
55
|
-
version_root_obj.joinpath("install_env.ps1").write_text(install_env)
|
|
56
|
-
if not version_root_obj.joinpath("install_env.sh").exists():
|
|
57
|
-
version_root_obj.joinpath("install_env.sh").write_text(install_env)
|
|
58
|
-
elif sys == "linux":
|
|
59
|
-
version_root_obj.joinpath("install_env.sh").write_text(install_env)
|
|
60
|
-
if not version_root_obj.joinpath("install_env.ps1").exists():
|
|
61
|
-
version_root_obj.joinpath("install_env.ps1").write_text(install_env)
|
|
62
|
-
else:
|
|
63
|
-
raise NotImplementedError(f"🚫 System {sys} not supported.")
|
|
64
|
-
|
|
65
|
-
pip_freeze_script = f"""
|
|
66
|
-
cd '{target_dir}'
|
|
67
|
-
. "$HOME/scripts/activate_ve" {ve_name}
|
|
68
|
-
python -m pip freeze {'--exclude-editable' if exclude_editable else ''} > requirements_{sys}.txt
|
|
69
|
-
"""
|
|
70
|
-
Terminal().run_script(pip_freeze_script, verbose=True, shell="default").print()
|
|
71
|
-
print(f"""
|
|
72
|
-
{'=' * 70}
|
|
73
|
-
✅ SUCCESS | Requirements for version {version} installed successfully
|
|
74
|
-
{'=' * 70}
|
|
75
|
-
""")
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
def main():
|
|
79
|
-
from git.repo import Repo
|
|
80
|
-
from git.exc import InvalidGitRepositoryError
|
|
81
|
-
try:
|
|
82
|
-
repo = Repo(P.cwd(), search_parent_directories=True)
|
|
83
|
-
print(f"""
|
|
84
|
-
{'=' * 70}
|
|
85
|
-
🔍 GIT REPO | Found repository at {repo.working_dir}
|
|
86
|
-
{'=' * 70}
|
|
87
|
-
""")
|
|
88
|
-
except InvalidGitRepositoryError as err:
|
|
89
|
-
print(f"""
|
|
90
|
-
{'🔥' * 20}
|
|
91
|
-
❌ ERROR | No Git repository found at {P.cwd()} or its parent directories
|
|
92
|
-
{'🔥' * 20}
|
|
93
|
-
""")
|
|
94
|
-
raise err
|
|
95
|
-
version = input("📝 Enter version name: ")
|
|
96
|
-
from rich.prompt import Confirm
|
|
97
|
-
exclude_editable = Confirm.ask("🔄 Exclude editable packages?", default=False)
|
|
98
|
-
|
|
99
|
-
repo_root = P(repo.working_dir)
|
|
100
|
-
checkout_version(version, repo_root, exclude_editable=exclude_editable)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
def get_editable_packages(ve_name: str):
|
|
104
|
-
file = P.tmp().joinpath(f"tmp_files/editable_requirements_{randstr()}.txt")
|
|
105
|
-
file.parent.mkdir(parents=True, exist_ok=True)
|
|
106
|
-
editable_packages_script = f"""
|
|
107
|
-
. $HOME/scripts/activate_ve {ve_name}
|
|
108
|
-
pip list --editable > {file}
|
|
109
|
-
"""
|
|
110
|
-
Terminal().run_script(editable_packages_script, verbose=True, shell="default").print()
|
|
111
|
-
try: tmp3 = file.read_text(encoding='utf-16').splitlines()[2:]
|
|
112
|
-
except UnicodeError: tmp3 = file.read_text().splitlines()[2:]
|
|
113
|
-
|
|
114
|
-
res = []
|
|
115
|
-
for a_pkg in tmp3:
|
|
116
|
-
tmp = P(a_pkg.split(" ")[-1].rstrip())
|
|
117
|
-
tmp1 = record_a_repo(tmp, search_parent_directories=True) # pip list --editable returns path to package or repo in a way not yet understood.
|
|
118
|
-
res.append(tmp1)
|
|
119
|
-
return res
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if __name__ == "__main__":
|
|
123
|
-
pass
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"pandera.mypy":"none:f9b8ec76ca2033e7b72308b871dd9bf12a94a2e2"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{".class":"MypyFile","_fullname":"__future__","future_import_flags":[],"is_partial_stub_package":false,"is_stub":true,"names":{".class":"SymbolTable","TypeAlias":{".class":"SymbolTableNode","cross_ref":"typing.TypeAlias","kind":"Gdef","module_hidden":true,"module_public":false},"_Feature":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"__future__._Feature","name":"_Feature","type_vars":[]},"deletable_attributes":[],"deprecated":null,"flags":[],"fullname":"__future__._Feature","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"__future__","mro":["__future__._Feature","builtins.object"],"names":{".class":"SymbolTable","__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0,0],"arg_names":["self","optionalRelease","mandatoryRelease","compiler_flag"],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"__future__._Feature.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,0,0,0],"arg_names":["self","optionalRelease","mandatoryRelease","compiler_flag"],"arg_types":["__future__._Feature",{".class":"TypeAliasType","args":[],"type_ref":"__future__._VersionInfo"},{".class":"UnionType","items":[{".class":"TypeAliasType","args":[],"type_ref":"__future__._VersionInfo"},{".class":"NoneType"}],"uses_pep604_syntax":true},"builtins.int"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"__init__ of _Feature","ret_type":{".class":"NoneType"},"type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}},"compiler_flag":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Var","flags":["is_initialized_in_class","is_ready"],"fullname":"__future__._Feature.compiler_flag","name":"compiler_flag","type":"builtins.int"}},"getMandatoryRelease":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"__future__._Feature.getMandatoryRelease","name":"getMandatoryRelease","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["__future__._Feature"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"getMandatoryRelease of _Feature","ret_type":{".class":"UnionType","items":[{".class":"TypeAliasType","args":[],"type_ref":"__future__._VersionInfo"},{".class":"NoneType"}],"uses_pep604_syntax":true},"type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}},"getOptionalRelease":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"__future__._Feature.getOptionalRelease","name":"getOptionalRelease","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["__future__._Feature"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"getOptionalRelease of _Feature","ret_type":{".class":"TypeAliasType","args":[],"type_ref":"__future__._VersionInfo"},"type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}}},"self_type":{".class":"TypeVarType","default":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":4},"fullname":"__future__._Feature.Self","id":0,"name":"Self","namespace":"","upper_bound":"__future__._Feature","values":[],"variance":0},"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"_VersionInfo":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"TypeAlias","alias_tvars":[],"column":0,"fullname":"__future__._VersionInfo","line":3,"no_args":false,"normalized":false,"python_3_12_type_alias":false,"target":{".class":"TupleType","implicit":false,"items":["builtins.int","builtins.int","builtins.int","builtins.str","builtins.int"],"partial_fallback":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"extra_attrs":null,"type_ref":"builtins.tuple"}}}},"__all__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_inferred","has_explicit_value"],"fullname":"__future__.__all__","name":"__all__","type":{".class":"Instance","args":["builtins.str"],"extra_attrs":null,"type_ref":"builtins.list"}}},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.__annotations__","name":"__annotations__","type":{".class":"Instance","args":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"extra_attrs":null,"type_ref":"builtins.dict"}}},"__doc__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.__package__","name":"__package__","type":"builtins.str"}},"__spec__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.__spec__","name":"__spec__","type":"_frozen_importlib.ModuleSpec"}},"absolute_import":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.absolute_import","name":"absolute_import","type":"__future__._Feature"}},"all_feature_names":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.all_feature_names","name":"all_feature_names","type":{".class":"Instance","args":["builtins.str"],"extra_attrs":null,"type_ref":"builtins.list"}}},"annotations":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.annotations","name":"annotations","type":"__future__._Feature"}},"barry_as_FLUFL":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.barry_as_FLUFL","name":"barry_as_FLUFL","type":"__future__._Feature"}},"division":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.division","name":"division","type":"__future__._Feature"}},"generator_stop":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.generator_stop","name":"generator_stop","type":"__future__._Feature"}},"generators":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.generators","name":"generators","type":"__future__._Feature"}},"nested_scopes":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.nested_scopes","name":"nested_scopes","type":"__future__._Feature"}},"print_function":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.print_function","name":"print_function","type":"__future__._Feature"}},"unicode_literals":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.unicode_literals","name":"unicode_literals","type":"__future__._Feature"}},"with_statement":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"__future__.with_statement","name":"with_statement","type":"__future__._Feature"}}},"path":"/home/alex/.vscode-insiders/extensions/ms-python.mypy-type-checker-2024.2.0/bundled/libs/mypy/typeshed/stdlib/__future__.pyi"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"data_mtime":1740294770,"dep_lines":[1,1,1,1,1,1],"dep_prios":[5,5,30,30,30,30],"dependencies":["typing_extensions","builtins","_frozen_importlib","abc","types","typing"],"hash":"8da8f50dac0209ecf1254aa54bebb93f2ca11823","id":"__future__","ignore_all":true,"interface_hash":"c12fd8e1024a61f29f09d534fa4c35e3c13fbcfa","mtime":1738923359,"options":{"allow_redefinition":false,"allow_untyped_globals":false,"always_false":[],"always_true":[],"bazel":false,"check_untyped_defs":true,"disable_bytearray_promotion":false,"disable_error_code":[],"disable_memoryview_promotion":false,"disabled_error_codes":[],"disallow_any_decorated":false,"disallow_any_explicit":false,"disallow_any_expr":false,"disallow_any_generics":false,"disallow_any_unimported":false,"disallow_incomplete_defs":false,"disallow_subclassing_any":false,"disallow_untyped_calls":false,"disallow_untyped_decorators":false,"disallow_untyped_defs":false,"enable_error_code":[],"enabled_error_codes":[],"extra_checks":false,"follow_imports":"normal","follow_imports_for_stubs":false,"follow_untyped_imports":false,"ignore_errors":false,"ignore_missing_imports":false,"implicit_optional":false,"implicit_reexport":true,"local_partial_types":false,"mypyc":false,"old_type_inference":false,"platform":"linux","plugins":["pandera.mypy"],"strict_concatenate":false,"strict_equality":false,"strict_optional":true,"warn_no_return":true,"warn_return_any":false,"warn_unreachable":false,"warn_unused_ignores":false},"path":"/home/alex/.vscode-insiders/extensions/ms-python.mypy-type-checker-2024.2.0/bundled/libs/mypy/typeshed/stdlib/__future__.pyi","plugin_data":null,"size":915,"suppressed":[],"version_id":"1.14.1"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{".class":"MypyFile","_fullname":"_ast","future_import_flags":[],"is_partial_stub_package":false,"is_stub":true,"names":{".class":"SymbolTable","AST":{".class":"SymbolTableNode","cross_ref":"ast.AST","kind":"Gdef"},"Add":{".class":"SymbolTableNode","cross_ref":"ast.Add","kind":"Gdef"},"And":{".class":"SymbolTableNode","cross_ref":"ast.And","kind":"Gdef"},"AnnAssign":{".class":"SymbolTableNode","cross_ref":"ast.AnnAssign","kind":"Gdef"},"Assert":{".class":"SymbolTableNode","cross_ref":"ast.Assert","kind":"Gdef"},"Assign":{".class":"SymbolTableNode","cross_ref":"ast.Assign","kind":"Gdef"},"AsyncFor":{".class":"SymbolTableNode","cross_ref":"ast.AsyncFor","kind":"Gdef"},"AsyncFunctionDef":{".class":"SymbolTableNode","cross_ref":"ast.AsyncFunctionDef","kind":"Gdef"},"AsyncWith":{".class":"SymbolTableNode","cross_ref":"ast.AsyncWith","kind":"Gdef"},"Attribute":{".class":"SymbolTableNode","cross_ref":"ast.Attribute","kind":"Gdef"},"AugAssign":{".class":"SymbolTableNode","cross_ref":"ast.AugAssign","kind":"Gdef"},"Await":{".class":"SymbolTableNode","cross_ref":"ast.Await","kind":"Gdef"},"BinOp":{".class":"SymbolTableNode","cross_ref":"ast.BinOp","kind":"Gdef"},"BitAnd":{".class":"SymbolTableNode","cross_ref":"ast.BitAnd","kind":"Gdef"},"BitOr":{".class":"SymbolTableNode","cross_ref":"ast.BitOr","kind":"Gdef"},"BitXor":{".class":"SymbolTableNode","cross_ref":"ast.BitXor","kind":"Gdef"},"BoolOp":{".class":"SymbolTableNode","cross_ref":"ast.BoolOp","kind":"Gdef"},"Break":{".class":"SymbolTableNode","cross_ref":"ast.Break","kind":"Gdef"},"Call":{".class":"SymbolTableNode","cross_ref":"ast.Call","kind":"Gdef"},"ClassDef":{".class":"SymbolTableNode","cross_ref":"ast.ClassDef","kind":"Gdef"},"Compare":{".class":"SymbolTableNode","cross_ref":"ast.Compare","kind":"Gdef"},"Constant":{".class":"SymbolTableNode","cross_ref":"ast.Constant","kind":"Gdef"},"Continue":{".class":"SymbolTableNode","cross_ref":"ast.Continue","kind":"Gdef"},"Del":{".class":"SymbolTableNode","cross_ref":"ast.Del","kind":"Gdef"},"Delete":{".class":"SymbolTableNode","cross_ref":"ast.Delete","kind":"Gdef"},"Dict":{".class":"SymbolTableNode","cross_ref":"ast.Dict","kind":"Gdef"},"DictComp":{".class":"SymbolTableNode","cross_ref":"ast.DictComp","kind":"Gdef"},"Div":{".class":"SymbolTableNode","cross_ref":"ast.Div","kind":"Gdef"},"Eq":{".class":"SymbolTableNode","cross_ref":"ast.Eq","kind":"Gdef"},"ExceptHandler":{".class":"SymbolTableNode","cross_ref":"ast.ExceptHandler","kind":"Gdef"},"Expr":{".class":"SymbolTableNode","cross_ref":"ast.Expr","kind":"Gdef"},"Expression":{".class":"SymbolTableNode","cross_ref":"ast.Expression","kind":"Gdef"},"FloorDiv":{".class":"SymbolTableNode","cross_ref":"ast.FloorDiv","kind":"Gdef"},"For":{".class":"SymbolTableNode","cross_ref":"ast.For","kind":"Gdef"},"FormattedValue":{".class":"SymbolTableNode","cross_ref":"ast.FormattedValue","kind":"Gdef"},"FunctionDef":{".class":"SymbolTableNode","cross_ref":"ast.FunctionDef","kind":"Gdef"},"FunctionType":{".class":"SymbolTableNode","cross_ref":"ast.FunctionType","kind":"Gdef"},"GeneratorExp":{".class":"SymbolTableNode","cross_ref":"ast.GeneratorExp","kind":"Gdef"},"Global":{".class":"SymbolTableNode","cross_ref":"ast.Global","kind":"Gdef"},"Gt":{".class":"SymbolTableNode","cross_ref":"ast.Gt","kind":"Gdef"},"GtE":{".class":"SymbolTableNode","cross_ref":"ast.GtE","kind":"Gdef"},"If":{".class":"SymbolTableNode","cross_ref":"ast.If","kind":"Gdef"},"IfExp":{".class":"SymbolTableNode","cross_ref":"ast.IfExp","kind":"Gdef"},"Import":{".class":"SymbolTableNode","cross_ref":"ast.Import","kind":"Gdef"},"ImportFrom":{".class":"SymbolTableNode","cross_ref":"ast.ImportFrom","kind":"Gdef"},"In":{".class":"SymbolTableNode","cross_ref":"ast.In","kind":"Gdef"},"Interactive":{".class":"SymbolTableNode","cross_ref":"ast.Interactive","kind":"Gdef"},"Invert":{".class":"SymbolTableNode","cross_ref":"ast.Invert","kind":"Gdef"},"Is":{".class":"SymbolTableNode","cross_ref":"ast.Is","kind":"Gdef"},"IsNot":{".class":"SymbolTableNode","cross_ref":"ast.IsNot","kind":"Gdef"},"JoinedStr":{".class":"SymbolTableNode","cross_ref":"ast.JoinedStr","kind":"Gdef"},"LShift":{".class":"SymbolTableNode","cross_ref":"ast.LShift","kind":"Gdef"},"Lambda":{".class":"SymbolTableNode","cross_ref":"ast.Lambda","kind":"Gdef"},"List":{".class":"SymbolTableNode","cross_ref":"ast.List","kind":"Gdef"},"ListComp":{".class":"SymbolTableNode","cross_ref":"ast.ListComp","kind":"Gdef"},"Literal":{".class":"SymbolTableNode","cross_ref":"typing.Literal","kind":"Gdef","module_hidden":true,"module_public":false},"Load":{".class":"SymbolTableNode","cross_ref":"ast.Load","kind":"Gdef"},"Lt":{".class":"SymbolTableNode","cross_ref":"ast.Lt","kind":"Gdef"},"LtE":{".class":"SymbolTableNode","cross_ref":"ast.LtE","kind":"Gdef"},"MatMult":{".class":"SymbolTableNode","cross_ref":"ast.MatMult","kind":"Gdef"},"MatchAs":{".class":"SymbolTableNode","cross_ref":"ast.MatchAs","kind":"Gdef"},"MatchClass":{".class":"SymbolTableNode","cross_ref":"ast.MatchClass","kind":"Gdef"},"MatchMapping":{".class":"SymbolTableNode","cross_ref":"ast.MatchMapping","kind":"Gdef"},"MatchOr":{".class":"SymbolTableNode","cross_ref":"ast.MatchOr","kind":"Gdef"},"MatchSequence":{".class":"SymbolTableNode","cross_ref":"ast.MatchSequence","kind":"Gdef"},"MatchSingleton":{".class":"SymbolTableNode","cross_ref":"ast.MatchSingleton","kind":"Gdef"},"MatchStar":{".class":"SymbolTableNode","cross_ref":"ast.MatchStar","kind":"Gdef"},"MatchValue":{".class":"SymbolTableNode","cross_ref":"ast.MatchValue","kind":"Gdef"},"Mod":{".class":"SymbolTableNode","cross_ref":"ast.Mod","kind":"Gdef"},"Module":{".class":"SymbolTableNode","cross_ref":"ast.Module","kind":"Gdef"},"Mult":{".class":"SymbolTableNode","cross_ref":"ast.Mult","kind":"Gdef"},"Name":{".class":"SymbolTableNode","cross_ref":"ast.Name","kind":"Gdef"},"NamedExpr":{".class":"SymbolTableNode","cross_ref":"ast.NamedExpr","kind":"Gdef"},"Nonlocal":{".class":"SymbolTableNode","cross_ref":"ast.Nonlocal","kind":"Gdef"},"Not":{".class":"SymbolTableNode","cross_ref":"ast.Not","kind":"Gdef"},"NotEq":{".class":"SymbolTableNode","cross_ref":"ast.NotEq","kind":"Gdef"},"NotIn":{".class":"SymbolTableNode","cross_ref":"ast.NotIn","kind":"Gdef"},"Or":{".class":"SymbolTableNode","cross_ref":"ast.Or","kind":"Gdef"},"Pass":{".class":"SymbolTableNode","cross_ref":"ast.Pass","kind":"Gdef"},"Pow":{".class":"SymbolTableNode","cross_ref":"ast.Pow","kind":"Gdef"},"PyCF_ALLOW_TOP_LEVEL_AWAIT":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.PyCF_ALLOW_TOP_LEVEL_AWAIT","name":"PyCF_ALLOW_TOP_LEVEL_AWAIT","type":{".class":"LiteralType","fallback":"builtins.int","value":8192}}},"PyCF_ONLY_AST":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.PyCF_ONLY_AST","name":"PyCF_ONLY_AST","type":{".class":"LiteralType","fallback":"builtins.int","value":1024}}},"PyCF_TYPE_COMMENTS":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.PyCF_TYPE_COMMENTS","name":"PyCF_TYPE_COMMENTS","type":{".class":"LiteralType","fallback":"builtins.int","value":4096}}},"RShift":{".class":"SymbolTableNode","cross_ref":"ast.RShift","kind":"Gdef"},"Raise":{".class":"SymbolTableNode","cross_ref":"ast.Raise","kind":"Gdef"},"Return":{".class":"SymbolTableNode","cross_ref":"ast.Return","kind":"Gdef"},"Set":{".class":"SymbolTableNode","cross_ref":"ast.Set","kind":"Gdef"},"SetComp":{".class":"SymbolTableNode","cross_ref":"ast.SetComp","kind":"Gdef"},"Slice":{".class":"SymbolTableNode","cross_ref":"ast.Slice","kind":"Gdef"},"Starred":{".class":"SymbolTableNode","cross_ref":"ast.Starred","kind":"Gdef"},"Store":{".class":"SymbolTableNode","cross_ref":"ast.Store","kind":"Gdef"},"Sub":{".class":"SymbolTableNode","cross_ref":"ast.Sub","kind":"Gdef"},"Subscript":{".class":"SymbolTableNode","cross_ref":"ast.Subscript","kind":"Gdef"},"Try":{".class":"SymbolTableNode","cross_ref":"ast.Try","kind":"Gdef"},"TryStar":{".class":"SymbolTableNode","cross_ref":"ast.TryStar","kind":"Gdef"},"Tuple":{".class":"SymbolTableNode","cross_ref":"ast.Tuple","kind":"Gdef"},"TypeIgnore":{".class":"SymbolTableNode","cross_ref":"ast.TypeIgnore","kind":"Gdef"},"UAdd":{".class":"SymbolTableNode","cross_ref":"ast.UAdd","kind":"Gdef"},"USub":{".class":"SymbolTableNode","cross_ref":"ast.USub","kind":"Gdef"},"UnaryOp":{".class":"SymbolTableNode","cross_ref":"ast.UnaryOp","kind":"Gdef"},"While":{".class":"SymbolTableNode","cross_ref":"ast.While","kind":"Gdef"},"With":{".class":"SymbolTableNode","cross_ref":"ast.With","kind":"Gdef"},"Yield":{".class":"SymbolTableNode","cross_ref":"ast.Yield","kind":"Gdef"},"YieldFrom":{".class":"SymbolTableNode","cross_ref":"ast.YieldFrom","kind":"Gdef"},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.__annotations__","name":"__annotations__","type":{".class":"Instance","args":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"extra_attrs":null,"type_ref":"builtins.dict"}}},"__doc__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.__package__","name":"__package__","type":"builtins.str"}},"__spec__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_ast.__spec__","name":"__spec__","type":"_frozen_importlib.ModuleSpec"}},"alias":{".class":"SymbolTableNode","cross_ref":"ast.alias","kind":"Gdef"},"arg":{".class":"SymbolTableNode","cross_ref":"ast.arg","kind":"Gdef"},"arguments":{".class":"SymbolTableNode","cross_ref":"ast.arguments","kind":"Gdef"},"boolop":{".class":"SymbolTableNode","cross_ref":"ast.boolop","kind":"Gdef"},"cmpop":{".class":"SymbolTableNode","cross_ref":"ast.cmpop","kind":"Gdef"},"comprehension":{".class":"SymbolTableNode","cross_ref":"ast.comprehension","kind":"Gdef"},"excepthandler":{".class":"SymbolTableNode","cross_ref":"ast.excepthandler","kind":"Gdef"},"expr":{".class":"SymbolTableNode","cross_ref":"ast.expr","kind":"Gdef"},"expr_context":{".class":"SymbolTableNode","cross_ref":"ast.expr_context","kind":"Gdef"},"keyword":{".class":"SymbolTableNode","cross_ref":"ast.keyword","kind":"Gdef"},"match_case":{".class":"SymbolTableNode","cross_ref":"ast.match_case","kind":"Gdef"},"mod":{".class":"SymbolTableNode","cross_ref":"ast.mod","kind":"Gdef"},"operator":{".class":"SymbolTableNode","cross_ref":"ast.operator","kind":"Gdef"},"pattern":{".class":"SymbolTableNode","cross_ref":"ast.pattern","kind":"Gdef"},"stmt":{".class":"SymbolTableNode","cross_ref":"ast.stmt","kind":"Gdef"},"sys":{".class":"SymbolTableNode","cross_ref":"sys","kind":"Gdef","module_hidden":true,"module_public":false},"type_ignore":{".class":"SymbolTableNode","cross_ref":"ast.type_ignore","kind":"Gdef"},"unaryop":{".class":"SymbolTableNode","cross_ref":"ast.unaryop","kind":"Gdef"},"withitem":{".class":"SymbolTableNode","cross_ref":"ast.withitem","kind":"Gdef"}},"path":"/home/alex/.vscode-insiders/extensions/ms-python.mypy-type-checker-2024.2.0/bundled/libs/mypy/typeshed/stdlib/_ast.pyi"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"data_mtime":1740294770,"dep_lines":[1,2,111,1,1,1,1],"dep_prios":[10,5,5,5,30,30,30],"dependencies":["sys","ast","typing","builtins","_frozen_importlib","_typeshed","abc"],"hash":"506bc583306f4b94d727fb61708c1873cb3b3fdf","id":"_ast","ignore_all":true,"interface_hash":"87b640ab9ab2aae3201f7c685eddfc25a53555f5","mtime":1738923359,"options":{"allow_redefinition":false,"allow_untyped_globals":false,"always_false":[],"always_true":[],"bazel":false,"check_untyped_defs":true,"disable_bytearray_promotion":false,"disable_error_code":[],"disable_memoryview_promotion":false,"disabled_error_codes":[],"disallow_any_decorated":false,"disallow_any_explicit":false,"disallow_any_expr":false,"disallow_any_generics":false,"disallow_any_unimported":false,"disallow_incomplete_defs":false,"disallow_subclassing_any":false,"disallow_untyped_calls":false,"disallow_untyped_decorators":false,"disallow_untyped_defs":false,"enable_error_code":[],"enabled_error_codes":[],"extra_checks":false,"follow_imports":"normal","follow_imports_for_stubs":false,"follow_untyped_imports":false,"ignore_errors":false,"ignore_missing_imports":false,"implicit_optional":false,"implicit_reexport":true,"local_partial_types":false,"mypyc":false,"old_type_inference":false,"platform":"linux","plugins":["pandera.mypy"],"strict_concatenate":false,"strict_equality":false,"strict_optional":true,"warn_no_return":true,"warn_return_any":false,"warn_unreachable":false,"warn_unused_ignores":false},"path":"/home/alex/.vscode-insiders/extensions/ms-python.mypy-type-checker-2024.2.0/bundled/libs/mypy/typeshed/stdlib/_ast.pyi","plugin_data":null,"size":3496,"suppressed":[],"version_id":"1.14.1"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{".class":"MypyFile","_fullname":"_bz2","future_import_flags":[],"is_partial_stub_package":false,"is_stub":true,"names":{".class":"SymbolTable","BZ2Compressor":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"_bz2.BZ2Compressor","name":"BZ2Compressor","type_vars":[]},"deletable_attributes":[],"deprecated":null,"flags":["is_final"],"fullname":"_bz2.BZ2Compressor","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"_bz2","mro":["_bz2.BZ2Compressor","builtins.object"],"names":{".class":"SymbolTable","__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,1],"arg_names":["self","compresslevel"],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"_bz2.BZ2Compressor.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,1],"arg_names":["self","compresslevel"],"arg_types":["_bz2.BZ2Compressor","builtins.int"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"__init__ of BZ2Compressor","ret_type":{".class":"NoneType"},"type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}},"compress":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"_bz2.BZ2Compressor.compress","name":"compress","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["_bz2.BZ2Compressor","typing_extensions.Buffer"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"compress of BZ2Compressor","ret_type":"builtins.bytes","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}},"flush":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"_bz2.BZ2Compressor.flush","name":"flush","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Compressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"flush of BZ2Compressor","ret_type":"builtins.bytes","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}}},"self_type":{".class":"TypeVarType","default":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":4},"fullname":"_bz2.BZ2Compressor.Self","id":0,"name":"Self","namespace":"","upper_bound":"_bz2.BZ2Compressor","values":[],"variance":0},"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"BZ2Decompressor":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"_bz2.BZ2Decompressor","name":"BZ2Decompressor","type_vars":[]},"deletable_attributes":[],"deprecated":null,"flags":["is_final"],"fullname":"_bz2.BZ2Decompressor","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"_bz2","mro":["_bz2.BZ2Decompressor","builtins.object"],"names":{".class":"SymbolTable","decompress":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,1],"arg_names":["self","data","max_length"],"dataclass_transform_spec":null,"deprecated":null,"flags":[],"fullname":"_bz2.BZ2Decompressor.decompress","name":"decompress","type":{".class":"CallableType","arg_kinds":[0,0,1],"arg_names":["self","data","max_length"],"arg_types":["_bz2.BZ2Decompressor","typing_extensions.Buffer","builtins.int"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"decompress of BZ2Decompressor","ret_type":"builtins.bytes","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}},"eof":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"deprecated":null,"flags":["is_property","is_decorated"],"fullname":"_bz2.BZ2Decompressor.eof","name":"eof","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Decompressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"eof of BZ2Decompressor","ret_type":"builtins.bool","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"_bz2.BZ2Decompressor.eof","name":"eof","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Decompressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"eof of BZ2Decompressor","ret_type":"builtins.bool","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}}},"needs_input":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"deprecated":null,"flags":["is_property","is_decorated"],"fullname":"_bz2.BZ2Decompressor.needs_input","name":"needs_input","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Decompressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"needs_input of BZ2Decompressor","ret_type":"builtins.bool","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"_bz2.BZ2Decompressor.needs_input","name":"needs_input","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Decompressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"needs_input of BZ2Decompressor","ret_type":"builtins.bool","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}}},"unused_data":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"deprecated":null,"flags":["is_property","is_decorated"],"fullname":"_bz2.BZ2Decompressor.unused_data","name":"unused_data","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Decompressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"unused_data of BZ2Decompressor","ret_type":"builtins.bytes","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"_bz2.BZ2Decompressor.unused_data","name":"unused_data","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["_bz2.BZ2Decompressor"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"imprecise_arg_kinds":false,"is_ellipsis_args":false,"name":"unused_data of BZ2Decompressor","ret_type":"builtins.bytes","type_guard":null,"type_is":null,"unpack_kwargs":false,"variables":[]}}}}},"self_type":{".class":"TypeVarType","default":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":4},"fullname":"_bz2.BZ2Decompressor.Self","id":0,"name":"Self","namespace":"","upper_bound":"_bz2.BZ2Decompressor","values":[],"variance":0},"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"ReadableBuffer":{".class":"SymbolTableNode","cross_ref":"_typeshed.ReadableBuffer","kind":"Gdef","module_hidden":true,"module_public":false},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_bz2.__annotations__","name":"__annotations__","type":{".class":"Instance","args":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"extra_attrs":null,"type_ref":"builtins.dict"}}},"__doc__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_bz2.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_bz2.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_bz2.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_bz2.__package__","name":"__package__","type":"builtins.str"}},"__spec__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"_bz2.__spec__","name":"__spec__","type":"_frozen_importlib.ModuleSpec"}},"final":{".class":"SymbolTableNode","cross_ref":"typing.final","kind":"Gdef","module_hidden":true,"module_public":false}},"path":"/home/alex/.vscode-insiders/extensions/ms-python.mypy-type-checker-2024.2.0/bundled/libs/mypy/typeshed/stdlib/_bz2.pyi"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"data_mtime":1740294770,"dep_lines":[1,2,1,1,1,1,1],"dep_prios":[5,5,5,30,30,30,30],"dependencies":["_typeshed","typing","builtins","_frozen_importlib","abc","types","typing_extensions"],"hash":"b0ab5f723cefd42e4dbfe54bbe76a17cb5f21332","id":"_bz2","ignore_all":true,"interface_hash":"b48e878127dd7c64225d954e85ef8b8093d8618e","mtime":1738923359,"options":{"allow_redefinition":false,"allow_untyped_globals":false,"always_false":[],"always_true":[],"bazel":false,"check_untyped_defs":true,"disable_bytearray_promotion":false,"disable_error_code":[],"disable_memoryview_promotion":false,"disabled_error_codes":[],"disallow_any_decorated":false,"disallow_any_explicit":false,"disallow_any_expr":false,"disallow_any_generics":false,"disallow_any_unimported":false,"disallow_incomplete_defs":false,"disallow_subclassing_any":false,"disallow_untyped_calls":false,"disallow_untyped_decorators":false,"disallow_untyped_defs":false,"enable_error_code":[],"enabled_error_codes":[],"extra_checks":false,"follow_imports":"normal","follow_imports_for_stubs":false,"follow_untyped_imports":false,"ignore_errors":false,"ignore_missing_imports":false,"implicit_optional":false,"implicit_reexport":true,"local_partial_types":false,"mypyc":false,"old_type_inference":false,"platform":"linux","plugins":["pandera.mypy"],"strict_concatenate":false,"strict_equality":false,"strict_optional":true,"warn_no_return":true,"warn_return_any":false,"warn_unreachable":false,"warn_unused_ignores":false},"path":"/home/alex/.vscode-insiders/extensions/ms-python.mypy-type-checker-2024.2.0/bundled/libs/mypy/typeshed/stdlib/_bz2.pyi","plugin_data":null,"size":513,"suppressed":[],"version_id":"1.14.1"}
|