python-template-project 0.2.3__py3-none-any.whl → 0.2.5__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.
- python_template_project/_version.py +8 -18
- python_template_project/cli/cli.py +2 -2
- python_template_project/config/config.py +5 -1
- {python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/METADATA +4 -20
- {python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/RECORD +9 -9
- {python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/WHEEL +1 -1
- {python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/entry_points.txt +0 -0
- {python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/licenses/LICENSE +0 -0
- {python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
# file generated by
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
2
|
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
3
4
|
|
|
4
5
|
__all__ = [
|
|
5
6
|
"__version__",
|
|
@@ -10,25 +11,14 @@ __all__ = [
|
|
|
10
11
|
"commit_id",
|
|
11
12
|
]
|
|
12
13
|
|
|
13
|
-
TYPE_CHECKING = False
|
|
14
|
-
if TYPE_CHECKING:
|
|
15
|
-
from typing import Tuple
|
|
16
|
-
from typing import Union
|
|
17
|
-
|
|
18
|
-
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
-
COMMIT_ID = Union[str, None]
|
|
20
|
-
else:
|
|
21
|
-
VERSION_TUPLE = object
|
|
22
|
-
COMMIT_ID = object
|
|
23
|
-
|
|
24
14
|
version: str
|
|
25
15
|
__version__: str
|
|
26
|
-
__version_tuple__:
|
|
27
|
-
version_tuple:
|
|
28
|
-
commit_id:
|
|
29
|
-
__commit_id__:
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
30
20
|
|
|
31
|
-
__version__ = version = '0.2.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
21
|
+
__version__ = version = '0.2.5'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 5)
|
|
33
23
|
|
|
34
24
|
__commit_id__ = commit_id = None
|
|
@@ -24,7 +24,7 @@ def validate_config(config: ConfigParameterManager) -> bool:
|
|
|
24
24
|
"""
|
|
25
25
|
# Initialize logging system
|
|
26
26
|
logger_manager = initialize_logging(config)
|
|
27
|
-
logger = logger_manager.get_logger("
|
|
27
|
+
logger = logger_manager.get_logger("cli")
|
|
28
28
|
|
|
29
29
|
# Get CLI category and check required parameters
|
|
30
30
|
cli_category = config.cli
|
|
@@ -59,7 +59,7 @@ def run_main_processing(config: ConfigParameterManager) -> int:
|
|
|
59
59
|
"""
|
|
60
60
|
# Initialize logging system
|
|
61
61
|
logger_manager = initialize_logging(config)
|
|
62
|
-
logger = logger_manager.get_logger("
|
|
62
|
+
logger = logger_manager.get_logger("cli")
|
|
63
63
|
|
|
64
64
|
try:
|
|
65
65
|
# Log startup information
|
|
@@ -167,14 +167,18 @@ class ConfigParameterManager(ConfigManager): # Inherit from ConfigManager
|
|
|
167
167
|
categories = (CliConfig(), AppConfig(), GuiConfig())
|
|
168
168
|
super().__init__(categories, config_file, **kwargs)
|
|
169
169
|
|
|
170
|
+
@staticmethod
|
|
171
|
+
def get_app_name() -> str:
|
|
172
|
+
return "python_template_project"
|
|
173
|
+
|
|
170
174
|
|
|
171
175
|
def main():
|
|
172
176
|
"""Main function to generate config file and documentation."""
|
|
173
177
|
default_config: str = "config.yaml"
|
|
174
178
|
default_cli_doc: str = "docs/usage/cli.md"
|
|
175
179
|
default_config_doc: str = "docs/usage/config.md"
|
|
176
|
-
app_name = "python_template_project"
|
|
177
180
|
config_manager = ConfigParameterManager()
|
|
181
|
+
app_name = config_manager.get_app_name()
|
|
178
182
|
doc_gen = DocumentationGenerator(config_manager)
|
|
179
183
|
doc_gen.generate_default_config_file(output_file=default_config)
|
|
180
184
|
print(f"Generated: {default_config}")
|
{python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/METADATA
RENAMED
|
@@ -1,38 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-template-project
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Feature-rich Python project template designed for robustness and ease of use.
|
|
5
5
|
Author: pamagister
|
|
6
6
|
Requires-Python: <3.12,>=3.10
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
License-File: LICENSE
|
|
9
|
-
Requires-Dist: config-cli-gui>=0.
|
|
9
|
+
Requires-Dist: config-cli-gui>=0.3.9
|
|
10
10
|
Requires-Dist: fastkml>=1.1.0
|
|
11
11
|
Requires-Dist: gpxpy>=1.6.2
|
|
12
|
+
Requires-Dist: lxml>=6.0.2
|
|
12
13
|
Requires-Dist: shapely>=2.1.1
|
|
13
14
|
Requires-Dist: srtm-py>=0.3.7
|
|
14
|
-
Provides-Extra: dev
|
|
15
|
-
Requires-Dist: pytest>=8.4.0; extra == "dev"
|
|
16
|
-
Requires-Dist: pytest-mock>=3.14.1; extra == "dev"
|
|
17
|
-
Requires-Dist: coverage>=7.8.2; extra == "dev"
|
|
18
|
-
Requires-Dist: flake8>=7.2.0; extra == "dev"
|
|
19
|
-
Requires-Dist: black>=25.1.0; extra == "dev"
|
|
20
|
-
Requires-Dist: isort>=6.0.1; extra == "dev"
|
|
21
|
-
Requires-Dist: pytest-cov>=6.1.1; extra == "dev"
|
|
22
|
-
Requires-Dist: mypy>=1.16.0; extra == "dev"
|
|
23
|
-
Requires-Dist: gitchangelog>=3.0.4; extra == "dev"
|
|
24
|
-
Requires-Dist: pyinstaller>=5.8; extra == "dev"
|
|
25
|
-
Requires-Dist: pre-commit>=4.2.0; extra == "dev"
|
|
26
|
-
Requires-Dist: ruff>=0.11.13; extra == "dev"
|
|
27
|
-
Provides-Extra: docs
|
|
28
|
-
Requires-Dist: mkdocs>=1.6.1; extra == "docs"
|
|
29
|
-
Requires-Dist: mkdocs-awesome-nav>=2.6.1; extra == "docs"
|
|
30
|
-
Requires-Dist: pygments>=2.19.1; extra == "docs"
|
|
31
15
|
Dynamic: license-file
|
|
32
16
|
|
|
33
17
|
# Welcome to python-template-project
|
|
34
18
|
|
|
35
|
-
A feature-rich Python project template with
|
|
19
|
+
A feature-rich Python project template with auto-generated CLI, GUI and parameterized configuration.
|
|
36
20
|
|
|
37
21
|
[](https://github.com/pamagister/python-template-project/actions)
|
|
38
22
|
[](https://github.com/pamagister/python-template-project/releases)
|
|
@@ -3,21 +3,21 @@ firewall_handler.py,sha256=qT0dInkeKHulpCQD2x3HH7_lMxz4lwdkIPxEvBSl3No,7336
|
|
|
3
3
|
main.py,sha256=d6ZpnMxcPBf860gQmuYwPVJg1di6r2CR6gSvFLkAZkk,4448
|
|
4
4
|
python_template_project/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
python_template_project/__main__.py,sha256=JS28LiHoU9Xo4c_RvyLBTDKHqdZRRytJLj6qyrg26mQ,195
|
|
6
|
-
python_template_project/_version.py,sha256=
|
|
6
|
+
python_template_project/_version.py,sha256=u79Dhtl6W64PJD1Uj537m9lgOoaGBvESD79OsRfFmhM,520
|
|
7
7
|
python_template_project/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
python_template_project/cli/__main__.py,sha256=qnGkoNNbhnvLTA24X8YTEDxRqDbNEAzgjp9Ki_JYIhs,184
|
|
9
|
-
python_template_project/cli/cli.py,sha256=
|
|
9
|
+
python_template_project/cli/cli.py,sha256=4hjUv-bLoHCMcG9dmjvO-h0dDsngOc_35DSoIQyGjjY,4279
|
|
10
10
|
python_template_project/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
python_template_project/config/config.py,sha256=
|
|
11
|
+
python_template_project/config/config.py,sha256=LlxD_9kHc90-ka-9OdF3L22icaDzWribMDpNqP4rigU,5500
|
|
12
12
|
python_template_project/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
python_template_project/core/base.py,sha256=3S_DSPgPom0wCS_tgdEaNpWub0r8GlytmjKtXlIypRA,28045
|
|
14
14
|
python_template_project/core/logging.py,sha256=b5Z0g7XVj4fy7nYVfWMTSz8pV6tcXrNEJ6Y7pNJKfWA,6932
|
|
15
15
|
python_template_project/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
python_template_project/gui/__main__.py,sha256=5AaiBxNCAKWcuSQFcQ_lsEQfEsXm6BA5-i5MScdf30c,184
|
|
17
17
|
python_template_project/gui/gui.py,sha256=8jmwvrJlyez66cnkIoosq65KAx75WmAfwJUUiluh6TY,21647
|
|
18
|
-
python_template_project-0.2.
|
|
19
|
-
python_template_project-0.2.
|
|
20
|
-
python_template_project-0.2.
|
|
21
|
-
python_template_project-0.2.
|
|
22
|
-
python_template_project-0.2.
|
|
23
|
-
python_template_project-0.2.
|
|
18
|
+
python_template_project-0.2.5.dist-info/licenses/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
|
|
19
|
+
python_template_project-0.2.5.dist-info/METADATA,sha256=d8kdgGeVu3cNIGq8gg82YEb0HboO4IVuRuCzGWKuKCs,7189
|
|
20
|
+
python_template_project-0.2.5.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
21
|
+
python_template_project-0.2.5.dist-info/entry_points.txt,sha256=LmgMiqxIVRdD7gkktVBBR0CR4AhkugqlgifuglkPhtI,148
|
|
22
|
+
python_template_project-0.2.5.dist-info/top_level.txt,sha256=O-Yg0tzEwgH58MhdcYWpJsgZSUPg6SBbOUwlmVHZo3A,55
|
|
23
|
+
python_template_project-0.2.5.dist-info/RECORD,,
|
{python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{python_template_project-0.2.3.dist-info → python_template_project-0.2.5.dist-info}/top_level.txt
RENAMED
|
File without changes
|