machineconfig 6.39__py3-none-any.whl → 6.41__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/profile/mapper.toml +3 -0
- machineconfig/scripts/python/croshell.py +8 -3
- machineconfig/scripts/python/devops_helpers/cli_repos.py +9 -10
- machineconfig/scripts/python/devops_helpers/cli_utils.py +1 -1
- machineconfig/settings/marimo/marimo.toml +80 -0
- {machineconfig-6.39.dist-info → machineconfig-6.41.dist-info}/METADATA +1 -1
- {machineconfig-6.39.dist-info → machineconfig-6.41.dist-info}/RECORD +10 -9
- {machineconfig-6.39.dist-info → machineconfig-6.41.dist-info}/WHEEL +0 -0
- {machineconfig-6.39.dist-info → machineconfig-6.41.dist-info}/entry_points.txt +0 -0
- {machineconfig-6.39.dist-info → machineconfig-6.41.dist-info}/top_level.txt +0 -0
|
@@ -76,6 +76,9 @@ config = {this = '~/.docker/config.json', to_this = '~/dotfiles/creds/docker/con
|
|
|
76
76
|
|
|
77
77
|
# =========================== PUBLIC ======================================
|
|
78
78
|
|
|
79
|
+
[marimo]
|
|
80
|
+
config = {this = '~/.config/marimo/marimo.toml', to_this = 'CONFIG_ROOT/settings/marimo/marimo.toml'}
|
|
81
|
+
|
|
79
82
|
[presenterm]
|
|
80
83
|
config = {this = '~/.config/presenterm/config.yaml', to_this = 'CONFIG_ROOT/settings/presenterm/config.yaml'}
|
|
81
84
|
|
|
@@ -9,7 +9,7 @@ import typer
|
|
|
9
9
|
from machineconfig.utils.path_extended import PathExtended
|
|
10
10
|
from machineconfig.utils.accessories import randstr
|
|
11
11
|
import json
|
|
12
|
-
import shutil
|
|
12
|
+
# import shutil
|
|
13
13
|
|
|
14
14
|
from machineconfig.utils.options import choose_from_options
|
|
15
15
|
from rich.console import Console
|
|
@@ -166,8 +166,8 @@ from pathlib import Path
|
|
|
166
166
|
elif marimo:
|
|
167
167
|
fire_line = f"""
|
|
168
168
|
cd {str(pyfile.parent)}
|
|
169
|
-
uv run --with marimo marimo convert {pyfile.name} -o marimo_nb.py
|
|
170
|
-
uv run --with "marimo,machineconfig[plot]>=6.36" marimo edit marimo_nb.py
|
|
169
|
+
uv run --with marimo marimo convert {pyfile.name} -o marimo_nb.py
|
|
170
|
+
uv run --with "marimo,machineconfig[plot]>=6.36" marimo edit --host 0.0.0.0 marimo_nb.py
|
|
171
171
|
"""
|
|
172
172
|
elif jupyter:
|
|
173
173
|
fire_line = f"uv run --with 'machineconfig[plot]>=6.36' jupyter-lab {str(nb_target)}"
|
|
@@ -205,4 +205,9 @@ def main() -> None:
|
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
if __name__ == "__main__":
|
|
208
|
+
# def func(flag: Annotated[bool, typer.Option("--flag/-nf", help="dummy flag for debugging", flag_value=False, is_flag=True)]=True):
|
|
209
|
+
# console.print(f"flag: {flag}")
|
|
210
|
+
# app = typer.Typer()
|
|
211
|
+
# app.command()(func)
|
|
212
|
+
# app()
|
|
208
213
|
main()
|
|
@@ -13,34 +13,33 @@ from machineconfig.scripts.python.helpers_repos.secure_repo import main as secur
|
|
|
13
13
|
|
|
14
14
|
DirectoryArgument = Annotated[Optional[str], typer.Argument(help="📁 Directory containing repo(s).")]
|
|
15
15
|
RecursiveOption = Annotated[bool, typer.Option("--recursive", "-r", help="🔍 Recurse into nested repositories.")]
|
|
16
|
-
|
|
16
|
+
UVsyncOption = Annotated[bool, typer.Option("--uv-sync/-ns", help="🚫 Disable automatic uv sync after pulls.")]
|
|
17
17
|
CloudOption = Annotated[Optional[str], typer.Option("--cloud", "-c", help="☁️ Upload to or download from this cloud remote.")]
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
def push(directory: DirectoryArgument = None, recursive: RecursiveOption = False,
|
|
20
|
+
def push(directory: DirectoryArgument = None, recursive: RecursiveOption = False, uv_sync: UVsyncOption = True) -> None:
|
|
21
21
|
"""🚀 Push changes across repositories."""
|
|
22
22
|
from machineconfig.scripts.python.repos_helpers.entrypoint import git_operations
|
|
23
|
-
git_operations(directory, pull=False, commit=False, push=True, recursive=recursive, auto_uv_sync=
|
|
23
|
+
git_operations(directory, pull=False, commit=False, push=True, recursive=recursive, auto_uv_sync=uv_sync)
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
def pull(directory: DirectoryArgument = None, recursive: RecursiveOption = False,
|
|
26
|
+
def pull(directory: DirectoryArgument = None, recursive: RecursiveOption = False, uv_sync: UVsyncOption = True) -> None:
|
|
27
27
|
"""⬇️ Pull changes across repositories."""
|
|
28
28
|
from machineconfig.scripts.python.repos_helpers.entrypoint import git_operations
|
|
29
29
|
|
|
30
|
-
git_operations(directory, pull=True, commit=False, push=False, recursive=recursive, auto_uv_sync=
|
|
30
|
+
git_operations(directory, pull=True, commit=False, push=False, recursive=recursive, auto_uv_sync=uv_sync)
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
def commit(directory: DirectoryArgument = None, recursive: RecursiveOption = False,
|
|
33
|
+
def commit(directory: DirectoryArgument = None, recursive: RecursiveOption = False, uv_sync: UVsyncOption = True) -> None:
|
|
34
34
|
"""💾 Commit changes across repositories."""
|
|
35
35
|
from machineconfig.scripts.python.repos_helpers.entrypoint import git_operations
|
|
36
|
-
git_operations(directory, pull=False, commit=True, push=False, recursive=recursive, auto_uv_sync=
|
|
36
|
+
git_operations(directory, pull=False, commit=True, push=False, recursive=recursive, auto_uv_sync=uv_sync)
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
def sync(directory: DirectoryArgument = None, recursive: RecursiveOption = False,
|
|
39
|
+
def sync(directory: DirectoryArgument = None, recursive: RecursiveOption = False, uv_sync: UVsyncOption = True) -> None:
|
|
40
40
|
"""🔄 Pull, commit, and push changes across repositories."""
|
|
41
41
|
from machineconfig.scripts.python.repos_helpers.entrypoint import git_operations
|
|
42
|
-
|
|
43
|
-
git_operations(directory, pull=True, commit=True, push=True, recursive=recursive, auto_uv_sync=not no_sync)
|
|
42
|
+
git_operations(directory, pull=True, commit=True, push=True, recursive=recursive, auto_uv_sync=uv_sync)
|
|
44
43
|
|
|
45
44
|
|
|
46
45
|
def capture(directory: DirectoryArgument = None, cloud: CloudOption = None) -> None:
|
|
@@ -73,7 +73,7 @@ def download(url: Annotated[Optional[str], typer.Argument(..., help="The URL to
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def get_app() -> typer.Typer:
|
|
76
|
-
app = typer.Typer(help="🛠️
|
|
76
|
+
app = typer.Typer(help="🛠️ [u] utilities operations", no_args_is_help=True, add_completion=True)
|
|
77
77
|
app.command(name="download", no_args_is_help=True, help="[d] Download a file from a URL and optionally decompress it.")(download)
|
|
78
78
|
app.command(name="d", no_args_is_help=True, hidden=True)(download)
|
|
79
79
|
return app
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
[formatting]
|
|
2
|
+
line_length = 79
|
|
3
|
+
|
|
4
|
+
[completion]
|
|
5
|
+
copilot = false
|
|
6
|
+
activate_on_typing = true
|
|
7
|
+
|
|
8
|
+
[ai]
|
|
9
|
+
inline_tooltip = true
|
|
10
|
+
mode = "manual"
|
|
11
|
+
rules = ""
|
|
12
|
+
|
|
13
|
+
[ai.models]
|
|
14
|
+
chat_model = "github/gpt-4o-mini"
|
|
15
|
+
custom_models = []
|
|
16
|
+
displayed_models = []
|
|
17
|
+
|
|
18
|
+
[package_management]
|
|
19
|
+
manager = "uv"
|
|
20
|
+
|
|
21
|
+
[language_servers.basedpyright]
|
|
22
|
+
|
|
23
|
+
[language_servers.pylsp]
|
|
24
|
+
enabled = true
|
|
25
|
+
enable_pydocstyle = false
|
|
26
|
+
enable_ruff = true
|
|
27
|
+
enable_pyflakes = false
|
|
28
|
+
enable_pylint = false
|
|
29
|
+
enable_flake8 = false
|
|
30
|
+
enable_mypy = true
|
|
31
|
+
|
|
32
|
+
[language_servers.ty]
|
|
33
|
+
|
|
34
|
+
[server]
|
|
35
|
+
browser = "default"
|
|
36
|
+
follow_symlink = false
|
|
37
|
+
|
|
38
|
+
[runtime]
|
|
39
|
+
auto_instantiate = false
|
|
40
|
+
auto_reload = "off"
|
|
41
|
+
on_cell_change = "autorun"
|
|
42
|
+
output_max_bytes = 8000000
|
|
43
|
+
reactive_tests = true
|
|
44
|
+
default_auto_download = []
|
|
45
|
+
std_stream_max_bytes = 1000000
|
|
46
|
+
watcher_on_save = "lazy"
|
|
47
|
+
default_sql_output = "auto"
|
|
48
|
+
|
|
49
|
+
[display]
|
|
50
|
+
dataframes = "rich"
|
|
51
|
+
reference_highlighting = false
|
|
52
|
+
default_width = "full"
|
|
53
|
+
cell_output = "below"
|
|
54
|
+
theme = "dark"
|
|
55
|
+
default_table_max_columns = 50
|
|
56
|
+
code_editor_font_size = 14
|
|
57
|
+
default_table_page_size = 10
|
|
58
|
+
|
|
59
|
+
[mcp]
|
|
60
|
+
presets = []
|
|
61
|
+
|
|
62
|
+
[mcp.mcpServers]
|
|
63
|
+
|
|
64
|
+
[experimental]
|
|
65
|
+
|
|
66
|
+
[snippets]
|
|
67
|
+
custom_paths = []
|
|
68
|
+
include_default_snippets = true
|
|
69
|
+
|
|
70
|
+
[save]
|
|
71
|
+
format_on_save = false
|
|
72
|
+
autosave = "after_delay"
|
|
73
|
+
autosave_delay = 1000
|
|
74
|
+
|
|
75
|
+
[diagnostics]
|
|
76
|
+
sql_linter = true
|
|
77
|
+
|
|
78
|
+
[keymap]
|
|
79
|
+
destructive_delete = true
|
|
80
|
+
preset = "default"
|
|
@@ -98,7 +98,7 @@ machineconfig/profile/create_helper.py,sha256=_iNeuwmcEGTx6sf_f40JKHfOCuJRZQRpyE
|
|
|
98
98
|
machineconfig/profile/create_links.py,sha256=K7T2bq08GZP9fo2NzCOE0pojAgQDe0Ofe7fNfbQlQpw,14219
|
|
99
99
|
machineconfig/profile/create_links_export.py,sha256=6LW4ZzHhQaox6W-rAuw3_gENTVKmOXA8_JfVDA-Mfws,3294
|
|
100
100
|
machineconfig/profile/create_shell_profile.py,sha256=Kxic1RPANP04uFbRuKMJmvkKdduuZ4Y6QNH0vpk0lYs,9888
|
|
101
|
-
machineconfig/profile/mapper.toml,sha256=
|
|
101
|
+
machineconfig/profile/mapper.toml,sha256=CGGKi4VbRo1-AuHU7w1g94NbAys0pxn6fI-2l-lUmY0,12469
|
|
102
102
|
machineconfig/profile/records/generic/shares.toml,sha256=FduDztfyQtZcr5bfx-RSKhEEweweQSWfVXkKWnx8hCY,143
|
|
103
103
|
machineconfig/profile/records/linux/apps_summary_report.csv,sha256=pw9djvaRUPalKDLn2sl3odcbD2_Zx3aEupsQ8UPfaaY,2738
|
|
104
104
|
machineconfig/profile/records/linux/apps_summary_report.md,sha256=l77oofA6Rliql0ZgKGIZi8bstFoGyyGTxeS8p2PtOj0,5634
|
|
@@ -122,7 +122,7 @@ machineconfig/scripts/linux/other/switch_ip,sha256=NQfeKMBSbFY3eP6M-BadD-TQo5qMP
|
|
|
122
122
|
machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
123
123
|
machineconfig/scripts/python/agents.py,sha256=f5UxgXjGlEypoNFqK0uHKO0UkbV_wUmPiPzotL2yapM,10677
|
|
124
124
|
machineconfig/scripts/python/cloud.py,sha256=jwftTQGhIP39wIKHB1lQbcbmo2dMnWoTcs-Wly3Ql5U,1263
|
|
125
|
-
machineconfig/scripts/python/croshell.py,sha256=
|
|
125
|
+
machineconfig/scripts/python/croshell.py,sha256=vk_yfSOltjt-fhyob5_z-Bs9IJHtzBghzHWjZRdmSiM,9071
|
|
126
126
|
machineconfig/scripts/python/devops.py,sha256=NMiGkw5w3svn7mgxkfCd9jTiVlqQp6GglU8BmclYBQ8,2393
|
|
127
127
|
machineconfig/scripts/python/devops_navigator.py,sha256=4O9_-ACeP748NcMjWQXZF7mBQpMPxqCGhLvPG3DMi4Q,236
|
|
128
128
|
machineconfig/scripts/python/entry.py,sha256=Az7dK1eXHGW5l46Yg10Cd88VChCdhvLAzO3e1A3r56A,2176
|
|
@@ -178,11 +178,11 @@ machineconfig/scripts/python/devops_helpers/cli_config.py,sha256=B48SZzei0WG04Gq
|
|
|
178
178
|
machineconfig/scripts/python/devops_helpers/cli_config_dotfile.py,sha256=rjTys4FNf9_feP9flWM7Zvq17dxWmetSiGaHPxp25nk,2737
|
|
179
179
|
machineconfig/scripts/python/devops_helpers/cli_data.py,sha256=2OWwp86-ncpGoSP9IblW7Jjej-wc-PuS8KRZ5xh0l1c,1774
|
|
180
180
|
machineconfig/scripts/python/devops_helpers/cli_nw.py,sha256=1slGev50V3sHlVSt6mnFSV9faIzrnvtwXmJxnCnVJJ0,4131
|
|
181
|
-
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=
|
|
181
|
+
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=QKR5Ci6IS6tBanRKUdRaXp3BZ_p4tt8_pvQsozjPlHM,12350
|
|
182
182
|
machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=iMHmfK1uIXot9hbM44Ocy8jr5_QgayrO7SvQ8PMIL2E,5739
|
|
183
183
|
machineconfig/scripts/python/devops_helpers/cli_share_server.py,sha256=q9pFJ6AxPuygMr3onMNOKEuuQHbVE_6Qoyo7xRT5FX0,4196
|
|
184
184
|
machineconfig/scripts/python/devops_helpers/cli_terminal.py,sha256=k_PzXaiGyE0vXr0Ii1XcJz2A7UvyPJrR31TRWt4RKRI,6019
|
|
185
|
-
machineconfig/scripts/python/devops_helpers/cli_utils.py,sha256=
|
|
185
|
+
machineconfig/scripts/python/devops_helpers/cli_utils.py,sha256=7xw3IgMUH9hvAg40cipgY03qSkhVb72oE13b2HjfeiY,3299
|
|
186
186
|
machineconfig/scripts/python/devops_helpers/devops_backup_retrieve.py,sha256=8VpnWytbJYdZZfeLmULgGeGuV5BlHrzdcbGtSsmU-EA,5598
|
|
187
187
|
machineconfig/scripts/python/devops_helpers/devops_status.py,sha256=PJVPhfhXq8der6Xd-_fjZfnizfM-RGfJApkRGhGBmNo,20525
|
|
188
188
|
machineconfig/scripts/python/devops_helpers/devops_update_repos.py,sha256=TLYhvMMDJCqLNsv1h4a0MtxYqQHWkRRvKnERyXd8MAs,10133
|
|
@@ -315,6 +315,7 @@ machineconfig/settings/lvim/linux/config.lua,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
|
315
315
|
machineconfig/settings/lvim/windows/config.lua,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
316
316
|
machineconfig/settings/lvim/windows/archive/config_additional.lua,sha256=EM__UsSkXDIIN7tIdMV-tkQV4z_jUmDCmHhjamEyiUA,651
|
|
317
317
|
machineconfig/settings/lvim/windows/lua/user/custom_config.lua,sha256=wbSm8cZubnPfUhYDmd5HKYnVRZUYVj701FBax2ZgjtE,269
|
|
318
|
+
machineconfig/settings/marimo/marimo.toml,sha256=R4osbRG-XDeQBgY1oLlk3hi5e0PU_RNc8O7UitQ7mw4,1282
|
|
318
319
|
machineconfig/settings/mprocs/windows/mprocs.yaml,sha256=qn_bPy8eSWMAlhA9PLVO_vxqlSlzzrQ1CldFjSKpLD4,864
|
|
319
320
|
machineconfig/settings/mprocs/windows/other,sha256=gIRC6swgxOmXAWEJPCOKmAdDfmLQ2-Vh9A1vsj0atAY,276
|
|
320
321
|
machineconfig/settings/pistol/pistol.conf,sha256=zjhSJDA3X1TDLRfimnVgJT_Dt54lDJc5hlTBB649d5A,378
|
|
@@ -427,8 +428,8 @@ machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoS
|
|
|
427
428
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
428
429
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
429
430
|
machineconfig/utils/ssh_utils/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
430
|
-
machineconfig-6.
|
|
431
|
-
machineconfig-6.
|
|
432
|
-
machineconfig-6.
|
|
433
|
-
machineconfig-6.
|
|
434
|
-
machineconfig-6.
|
|
431
|
+
machineconfig-6.41.dist-info/METADATA,sha256=2XE80vjxI4JGyIWHCTZSNpkS2lMOySqADdPVlGmnWpo,2928
|
|
432
|
+
machineconfig-6.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
433
|
+
machineconfig-6.41.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
|
|
434
|
+
machineconfig-6.41.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
435
|
+
machineconfig-6.41.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|