forked from balisujohn/localwriter
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmodule.yaml
More file actions
118 lines (105 loc) · 3.21 KB
/
Copy pathmodule.yaml
File metadata and controls
118 lines (105 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: scripting
title: Python
requires: [config]
actions:
reset_python_session:
title: "Reset Python Session"
config:
python_venv_path:
type: string
default: ""
widget: text
label: Python venv path
helper: If set, runs tools in that venv (bin/python or Scripts/python.exe). If empty, run_venv_python_script uses this process's sys.executable (basic stdlib); use a venv for numpy/pandas and Vision Helpers (paddleocr, paddlepaddle).
width: 200
inline: true
test_venv:
type: string
default: ""
widget: button
label: Test
inline_no_label: true
settings_persist: false
x: 314
width: 48
download_audio_binaries:
type: string
default: ""
widget: button
label: "Download platform-specific audio and serialization binaries:"
button_text: "Download"
show_button_label: true
label_width: 280
settings_persist: false
x: 297
width: 65
python_exec_timeout:
type: int
default: 10
min: 1
max: 600
widget: number
label: Python script timeout (seconds)
helper: Wall-clock limit for Run Python Script, =PYTHON(), and run_venv_python_script.
python_max_data_cells:
type: int
default: 250000
min: 1000
max: 2000000
widget: number
label: Max Calc data cells
helper: Maximum cells in =PYTHON() data or Run Python Script data/data_range. Larger values use more RAM and time; UNO range read still dominates.
public: true
python_session_mode:
type: string
default: isolated
widget: select
label: Python session mode
helper: "Isolated: each =PYTHON() cell gets a fresh namespace. Shared: one namespace per workbook (variables carry between cells)."
public: true
options:
- value: isolated
label: Isolated (default)
- value: shared
label: Shared kernel
python_auto_spill:
type: bool
default: true
widget: checkbox
label: Python auto spill in Calc
helper: Automatically spill multi-cell array/DataFrame results from =PYTHON() into adjacent cells.
public: true
python_convert_datetime:
type: bool
default: false
widget: checkbox
label: Convert Date/Time and Timedelta Strings
helper: Automatically detect and convert date/time and duration strings to datetime/timedelta objects when sending data to the Python worker. Requires the 'pandas' and 'dateparser' packages in your venv.
public: true
ppt_master_data_path:
type: string
default: ""
widget: folder
label: PPT-Master data path
helper: Path to the ppt-master skill tree (SKILL.md, templates/, scripts/svg_to_pptx/). Clone hugohe3/ppt-master on GitHub and point here at the clone root (.../ppt-master) or the inner skill dir (.../ppt-master/skills/ppt-master). Leave empty to auto-detect (dev clone beside repo, then env).
width: 200
inline: true
librepy_exclude: true
test_ppt_master_data:
type: string
default: ""
widget: button
label: Test
inline_no_label: true
settings_persist: false
x: 314
width: 48
librepy_exclude: true
force_internal_script_editor:
type: bool
default: false
internal: true
native_run_script_modeless:
type: bool
default: true
internal: true