config-cli-gui 0.1.3__tar.gz → 0.1.4__tar.gz
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.
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/HISTORY.md +10 -2
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/PKG-INFO +1 -1
- config_cli_gui-0.1.4/config.yaml +51 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/usage/config.md +13 -13
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/_version.py +2 -2
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/config.py +2 -1
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/PKG-INFO +1 -1
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/SOURCES.txt +0 -3
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/config/config_example.py +1 -1
- config_cli_gui-0.1.3/config.yaml +0 -51
- config_cli_gui-0.1.3/examples/kuhkopfsteig.gpx +0 -8189
- config_cli_gui-0.1.3/examples/rother_lilienstein.gpx +0 -571
- config_cli_gui-0.1.3/examples/teneriffa.gpx +0 -6042
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/FUNDING.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/actions/setup-environment/action.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/dependabot.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/init.sh +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/release_message.sh +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/update_funding.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/workflows/main.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/workflows/release.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/workflows/update_readme.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.gitignore +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.idea/runConfigurations/config_generate.xml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.pre-commit-config.yaml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.readthedocs.yaml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/LICENSE +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/Makefile +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/README.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/.nav.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/_static/img/favicon.png +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/_static/img/logo.png +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/css/custom.css +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/develop/contributing.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/develop/make_windows.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/develop/naming_convention.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/funding/funding.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/getting-started/install.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/getting-started/virtual-environment.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/index.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/usage/cli.md +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/mkdocs.yml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/pyproject.toml +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/show_filelist.ps1 +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/show_tree.ps1 +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/show_tree.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/update_readme.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/setup.cfg +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/cli.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/docs.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/gui.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/dependency_links.txt +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/entry_points.txt +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/requires.txt +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/top_level.txt +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/template.yml.url +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/__main__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/cli/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/cli/__main__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/cli/cli_example.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/config/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/core/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/core/base.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/core/logging.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/gui/__init__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/gui/__main__.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/gui/gui_example.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/test_generic_cli.py +0 -0
- {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/uv.lock +0 -0
|
@@ -4,6 +4,14 @@ Changelog
|
|
|
4
4
|
|
|
5
5
|
(unreleased)
|
|
6
6
|
------------
|
|
7
|
+
- Update README.md from docs/index.md. [github-actions]
|
|
8
|
+
- Feat #5: extensive renaming and adjustments. [Paul Magister]
|
|
9
|
+
- Feat #5: extensive renaming. [Paul Magister]
|
|
10
|
+
- Feat #5: extensive renaming. [Paul Magister]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
0.1.2 (2025-06-23)
|
|
14
|
+
------------------
|
|
7
15
|
- Feat #5: improve dialog. [Paul Magister]
|
|
8
16
|
- Feat #5: Bugfig: use specific dialog for path parameters. [Paul
|
|
9
17
|
Magister]
|
|
@@ -24,8 +32,8 @@ Changelog
|
|
|
24
32
|
- Feat #3: avoid type_ [Paul Magister]
|
|
25
33
|
- Feat #3: Improved paramter types: [Paul Magister]
|
|
26
34
|
- Feat #3: Improved paramter types: * move example project to tests *
|
|
27
|
-
remove type_ * add improved widgets to
|
|
28
|
-
module for
|
|
35
|
+
remove type_ * add improved widgets to gui_generator.py * separate
|
|
36
|
+
module for docs_generator.py. [Paul Magister]
|
|
29
37
|
|
|
30
38
|
|
|
31
39
|
0.1.0 (2025-06-22)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
app:
|
|
2
|
+
# Date format to use | type=str, default=%Y-%m-%d
|
|
3
|
+
date_format: '%Y-%m-%d'
|
|
4
|
+
# Enable logging to console | type=bool, default=True
|
|
5
|
+
enable_console_logging: true
|
|
6
|
+
# Enable logging to file | type=bool, default=True
|
|
7
|
+
enable_file_logging: true
|
|
8
|
+
# Number of backup log files to keep | type=int, default=5
|
|
9
|
+
log_backup_count: 5
|
|
10
|
+
# Maximum log file size in MB before rotation | type=int, default=10
|
|
11
|
+
log_file_max_size: 10
|
|
12
|
+
# Log message format style | type=str, default=detailed
|
|
13
|
+
log_format: detailed
|
|
14
|
+
# Logging level for the application | type=str, default=INFO
|
|
15
|
+
log_level: INFO
|
|
16
|
+
# Maximum number of worker threads | type=int, default=4
|
|
17
|
+
max_workers: 4
|
|
18
|
+
cli:
|
|
19
|
+
# Include elevation data in waypoints | type=bool, default=True [CLI]
|
|
20
|
+
elevation: true
|
|
21
|
+
# Extract starting points of each track as waypoint | type=bool, default=True [CLI]
|
|
22
|
+
extract_waypoints: true
|
|
23
|
+
# Path to input (file or folder) | type=str, default= [CLI]
|
|
24
|
+
input: ''
|
|
25
|
+
# Maximum distance between two waypoints | type=int, default=20 [CLI]
|
|
26
|
+
min_dist: 20
|
|
27
|
+
# Path to output destination | type=str, default= [CLI]
|
|
28
|
+
output: ''
|
|
29
|
+
gui:
|
|
30
|
+
# Automatically scroll to the newest log entries | type=bool, default=True
|
|
31
|
+
auto_scroll_log: true
|
|
32
|
+
# Height of the log window in pixels | type=int, default=200
|
|
33
|
+
log_window_height: 200
|
|
34
|
+
# Maximum number of log lines to keep in GUI | type=int, default=1000
|
|
35
|
+
max_log_lines: 1000
|
|
36
|
+
# GUI theme setting | type=str, default=light
|
|
37
|
+
theme: light
|
|
38
|
+
# Default window height | type=int, default=600
|
|
39
|
+
window_height: 600
|
|
40
|
+
# Default window width | type=int, default=800
|
|
41
|
+
window_width: 800
|
|
42
|
+
misc:
|
|
43
|
+
# Color setting for the application | type=Color, default=#ff0000
|
|
44
|
+
some_color:
|
|
45
|
+
- 255
|
|
46
|
+
- 0
|
|
47
|
+
- 0
|
|
48
|
+
# Date setting for the application | type=datetime, default=2025-06-24 00:19:57.095774
|
|
49
|
+
some_date: '2025-06-24T00:19:57.095774'
|
|
50
|
+
# Path to the file to use | type=WindowsPath, default=some_file.txt
|
|
51
|
+
some_file: some_file.txt
|
|
@@ -28,20 +28,20 @@ The parameters in the cli category can be accessed via the command line interfac
|
|
|
28
28
|
|
|
29
29
|
## Category "gui"
|
|
30
30
|
|
|
31
|
-
| Name | Type | Description
|
|
32
|
-
|
|
33
|
-
| theme | str | GUI theme setting
|
|
34
|
-
| window_width | int | Default window width
|
|
35
|
-
| window_height | int | Default window height
|
|
36
|
-
| log_window_height | int | Height of the log window in pixels
|
|
37
|
-
| auto_scroll_log | bool | Automatically scroll to newest log entries | True | [True, False] |
|
|
38
|
-
| max_log_lines | int | Maximum number of log lines to keep in GUI
|
|
31
|
+
| Name | Type | Description | Default | Choices |
|
|
32
|
+
|-------------------|------|------------------------------------------------|---------|---------------------------|
|
|
33
|
+
| theme | str | GUI theme setting | 'light' | ['light', 'dark', 'auto'] |
|
|
34
|
+
| window_width | int | Default window width | 800 | - |
|
|
35
|
+
| window_height | int | Default window height | 600 | - |
|
|
36
|
+
| log_window_height | int | Height of the log window in pixels | 200 | - |
|
|
37
|
+
| auto_scroll_log | bool | Automatically scroll to the newest log entries | True | [True, False] |
|
|
38
|
+
| max_log_lines | int | Maximum number of log lines to keep in GUI | 1000 | - |
|
|
39
39
|
|
|
40
40
|
## Category "misc"
|
|
41
41
|
|
|
42
|
-
| Name | Type | Description | Default
|
|
43
|
-
|
|
44
|
-
| some_file | WindowsPath | Path to the file to use | WindowsPath('some_file.txt')
|
|
45
|
-
| some_color | Color | Color setting for the application | Color(255, 0, 0)
|
|
46
|
-
| some_date | datetime | Date setting for the application | datetime.datetime(2025, 6,
|
|
42
|
+
| Name | Type | Description | Default | Choices |
|
|
43
|
+
|------------|-------------|-----------------------------------|--------------------------------------------------|---------|
|
|
44
|
+
| some_file | WindowsPath | Path to the file to use | WindowsPath('some_file.txt') | - |
|
|
45
|
+
| some_color | Color | Color setting for the application | Color(255, 0, 0) | - |
|
|
46
|
+
| some_date | datetime | Date setting for the application | datetime.datetime(2025, 6, 24, 0, 19, 57, 95774) | - |
|
|
47
47
|
|
|
@@ -272,7 +272,8 @@ class ConfigManager:
|
|
|
272
272
|
comment_indent = " " * (len(line) - len(stripped_line))
|
|
273
273
|
comment = (
|
|
274
274
|
f"{comment_indent}# {param.help} | "
|
|
275
|
-
f"type={type(param).__name__}, default={param.default}"
|
|
275
|
+
f"type={type(param.default).__name__}, default={param.default}"
|
|
276
|
+
f"{' [CLI]' if param.is_cli else ''}"
|
|
276
277
|
)
|
|
277
278
|
new_lines.append(comment)
|
|
278
279
|
new_lines.append(line)
|
|
@@ -36,9 +36,6 @@ docs/getting-started/install.md
|
|
|
36
36
|
docs/getting-started/virtual-environment.md
|
|
37
37
|
docs/usage/cli.md
|
|
38
38
|
docs/usage/config.md
|
|
39
|
-
examples/kuhkopfsteig.gpx
|
|
40
|
-
examples/rother_lilienstein.gpx
|
|
41
|
-
examples/teneriffa.gpx
|
|
42
39
|
scripts/show_filelist.ps1
|
|
43
40
|
scripts/show_tree.ps1
|
|
44
41
|
scripts/show_tree.py
|
{config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/config/config_example.py
RENAMED
|
@@ -153,7 +153,7 @@ class GuiConfig(ConfigCategory):
|
|
|
153
153
|
auto_scroll_log: ConfigParameter = ConfigParameter(
|
|
154
154
|
name="auto_scroll_log",
|
|
155
155
|
default=True,
|
|
156
|
-
help="Automatically scroll to newest log entries",
|
|
156
|
+
help="Automatically scroll to the newest log entries",
|
|
157
157
|
)
|
|
158
158
|
|
|
159
159
|
max_log_lines: ConfigParameter = ConfigParameter(
|
config_cli_gui-0.1.3/config.yaml
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
app:
|
|
2
|
-
# Date format to use | type=ConfigParameter, default=%Y-%m-%d
|
|
3
|
-
date_format: '%Y-%m-%d'
|
|
4
|
-
# Enable logging to console | type=ConfigParameter, default=True
|
|
5
|
-
enable_console_logging: true
|
|
6
|
-
# Enable logging to file | type=ConfigParameter, default=True
|
|
7
|
-
enable_file_logging: true
|
|
8
|
-
# Number of backup log files to keep | type=ConfigParameter, default=5
|
|
9
|
-
log_backup_count: 5
|
|
10
|
-
# Maximum log file size in MB before rotation | type=ConfigParameter, default=10
|
|
11
|
-
log_file_max_size: 10
|
|
12
|
-
# Log message format style | type=ConfigParameter, default=detailed
|
|
13
|
-
log_format: detailed
|
|
14
|
-
# Logging level for the application | type=ConfigParameter, default=INFO
|
|
15
|
-
log_level: INFO
|
|
16
|
-
# Maximum number of worker threads | type=ConfigParameter, default=4
|
|
17
|
-
max_workers: 4
|
|
18
|
-
cli:
|
|
19
|
-
# Include elevation data in waypoints | type=ConfigParameter, default=True
|
|
20
|
-
elevation: true
|
|
21
|
-
# Extract starting points of each track as waypoint | type=ConfigParameter, default=True
|
|
22
|
-
extract_waypoints: true
|
|
23
|
-
# Path to input (file or folder) | type=ConfigParameter, default=
|
|
24
|
-
input: ''
|
|
25
|
-
# Maximum distance between two waypoints | type=ConfigParameter, default=20
|
|
26
|
-
min_dist: 20
|
|
27
|
-
# Path to output destination | type=ConfigParameter, default=
|
|
28
|
-
output: ''
|
|
29
|
-
gui:
|
|
30
|
-
# Automatically scroll to newest log entries | type=ConfigParameter, default=True
|
|
31
|
-
auto_scroll_log: true
|
|
32
|
-
# Height of the log window in pixels | type=ConfigParameter, default=200
|
|
33
|
-
log_window_height: 200
|
|
34
|
-
# Maximum number of log lines to keep in GUI | type=ConfigParameter, default=1000
|
|
35
|
-
max_log_lines: 1000
|
|
36
|
-
# GUI theme setting | type=ConfigParameter, default=light
|
|
37
|
-
theme: light
|
|
38
|
-
# Default window height | type=ConfigParameter, default=600
|
|
39
|
-
window_height: 600
|
|
40
|
-
# Default window width | type=ConfigParameter, default=800
|
|
41
|
-
window_width: 800
|
|
42
|
-
misc:
|
|
43
|
-
# Color setting for the application | type=ConfigParameter, default=#ff0000
|
|
44
|
-
some_color:
|
|
45
|
-
- 255
|
|
46
|
-
- 0
|
|
47
|
-
- 0
|
|
48
|
-
# Date setting for the application | type=ConfigParameter, default=2025-06-23 18:58:00
|
|
49
|
-
some_date: '2025-06-23T18:58:00'
|
|
50
|
-
# Path to the file to use | type=ConfigParameter, default=some_file.txt
|
|
51
|
-
some_file: some_file.txt
|