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.
Files changed (76) hide show
  1. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/HISTORY.md +10 -2
  2. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/PKG-INFO +1 -1
  3. config_cli_gui-0.1.4/config.yaml +51 -0
  4. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/usage/config.md +13 -13
  5. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/_version.py +2 -2
  6. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/config.py +2 -1
  7. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/PKG-INFO +1 -1
  8. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/SOURCES.txt +0 -3
  9. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/config/config_example.py +1 -1
  10. config_cli_gui-0.1.3/config.yaml +0 -51
  11. config_cli_gui-0.1.3/examples/kuhkopfsteig.gpx +0 -8189
  12. config_cli_gui-0.1.3/examples/rother_lilienstein.gpx +0 -571
  13. config_cli_gui-0.1.3/examples/teneriffa.gpx +0 -6042
  14. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/FUNDING.yml +0 -0
  15. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  16. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  17. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  18. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/actions/setup-environment/action.yml +0 -0
  19. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/dependabot.yml +0 -0
  20. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/init.sh +0 -0
  21. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/release_message.sh +0 -0
  22. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/update_funding.py +0 -0
  23. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/workflows/main.yml +0 -0
  24. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/workflows/release.yml +0 -0
  25. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.github/workflows/update_readme.yml +0 -0
  26. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.gitignore +0 -0
  27. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.idea/runConfigurations/config_generate.xml +0 -0
  28. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.pre-commit-config.yaml +0 -0
  29. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/.readthedocs.yaml +0 -0
  30. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/LICENSE +0 -0
  31. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/Makefile +0 -0
  32. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/README.md +0 -0
  33. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/.nav.yml +0 -0
  34. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/_static/img/favicon.png +0 -0
  35. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/_static/img/logo.png +0 -0
  36. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/css/custom.css +0 -0
  37. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/develop/contributing.md +0 -0
  38. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/develop/make_windows.md +0 -0
  39. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/develop/naming_convention.md +0 -0
  40. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/funding/funding.md +0 -0
  41. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/getting-started/install.md +0 -0
  42. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/getting-started/virtual-environment.md +0 -0
  43. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/index.md +0 -0
  44. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/docs/usage/cli.md +0 -0
  45. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/mkdocs.yml +0 -0
  46. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/pyproject.toml +0 -0
  47. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/show_filelist.ps1 +0 -0
  48. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/show_tree.ps1 +0 -0
  49. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/show_tree.py +0 -0
  50. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/scripts/update_readme.py +0 -0
  51. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/setup.cfg +0 -0
  52. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/__init__.py +0 -0
  53. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/__init__.py +0 -0
  54. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/cli.py +0 -0
  55. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/docs.py +0 -0
  56. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui/gui.py +0 -0
  57. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/dependency_links.txt +0 -0
  58. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/entry_points.txt +0 -0
  59. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/requires.txt +0 -0
  60. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/src/config_cli_gui.egg-info/top_level.txt +0 -0
  61. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/template.yml.url +0 -0
  62. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/__init__.py +0 -0
  63. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/__init__.py +0 -0
  64. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/__main__.py +0 -0
  65. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/cli/__init__.py +0 -0
  66. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/cli/__main__.py +0 -0
  67. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/cli/cli_example.py +0 -0
  68. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/config/__init__.py +0 -0
  69. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/core/__init__.py +0 -0
  70. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/core/base.py +0 -0
  71. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/core/logging.py +0 -0
  72. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/gui/__init__.py +0 -0
  73. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/gui/__main__.py +0 -0
  74. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/example_project/gui/gui_example.py +0 -0
  75. {config_cli_gui-0.1.3 → config_cli_gui-0.1.4}/tests/test_generic_cli.py +0 -0
  76. {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 gui.py * separate
28
- module for docs.py. [Paul Magister]
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: config-cli-gui
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Feature-rich Python project template for config-cli-gui.
5
5
  Author: pamagister
6
6
  Requires-Python: <3.12,>=3.10
@@ -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 | 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 newest log entries | True | [True, False] |
38
- | max_log_lines | int | Maximum number of log lines to keep in GUI | 1000 | - |
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 | 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, 23, 18, 58, 52, 946103) | - |
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
 
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.1.3'
21
- __version_tuple__ = version_tuple = (0, 1, 3)
20
+ __version__ = version = '0.1.4'
21
+ __version_tuple__ = version_tuple = (0, 1, 4)
@@ -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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: config-cli-gui
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Feature-rich Python project template for config-cli-gui.
5
5
  Author: pamagister
6
6
  Requires-Python: <3.12,>=3.10
@@ -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
@@ -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(
@@ -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