wexample-wex-addon-dev-python 0.2.0__tar.gz → 7.0.0__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 (52) hide show
  1. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/PKG-INFO +158 -3
  2. wexample_wex_addon_dev_python-7.0.0/README.md +308 -0
  3. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/pyproject.toml +3 -3
  4. wexample_wex_addon_dev_python-7.0.0/src/wexample_wex_addon_dev_python/resources/.wex.yml +2 -0
  5. {wexample_wex_addon_dev_python-0.2.0/src/wexample_wex_addon_dev_python/resources/docker → wexample_wex_addon_dev_python-7.0.0/src/wexample_wex_addon_dev_python/workdir/__pycache__}/__init__.py +0 -0
  6. {wexample_wex_addon_dev_python-0.2.0/src/wexample_wex_addon_dev_python/resources/readme_templates → wexample_wex_addon_dev_python-7.0.0/src/wexample_wex_addon_dev_python/workdir/mixin}/__init__.py +0 -0
  7. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/workdir/python_package_workdir.py +34 -0
  8. wexample_wex_addon_dev_python-0.2.0/README.md +0 -153
  9. wexample_wex_addon_dev_python-0.2.0/src/wexample_wex_addon_dev_python/workdir/__init__.py +0 -0
  10. wexample_wex_addon_dev_python-0.2.0/src/wexample_wex_addon_dev_python/workdir/__pycache__/__init__.py +0 -0
  11. wexample_wex_addon_dev_python-0.2.0/src/wexample_wex_addon_dev_python/workdir/mixin/__init__.py +0 -0
  12. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/__init__.py +0 -0
  13. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/__pycache__/__init__.py +0 -0
  14. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/__init__.py +0 -0
  15. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/__init__.py +0 -0
  16. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/check/__init__.py +0 -0
  17. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/check/mypy.py +0 -0
  18. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/check/pylint.py +0 -0
  19. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/check/pyright.py +0 -0
  20. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/check.py +0 -0
  21. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/format/__init__.py +0 -0
  22. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/format/black.py +0 -0
  23. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/format/isort.py +0 -0
  24. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/code/format.py +0 -0
  25. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/examples/__init__.py +0 -0
  26. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/examples/utils/__init__.py +0 -0
  27. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/examples/utils/some_example_type.py +0 -0
  28. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/examples/validate.py +0 -0
  29. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/commands/release/__init__.py +0 -0
  30. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/config_value/__init__.py +0 -0
  31. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/config_value/__pycache__/__init__.py +0 -0
  32. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/config_value/python_package_readme_config_value.py +0 -0
  33. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/const/__init__.py +0 -0
  34. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/const/__pycache__/__init__.py +0 -0
  35. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/const/package.py +0 -0
  36. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/const/python.py +0 -0
  37. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/file/__init__.py +0 -0
  38. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/file/__pycache__/__init__.py +0 -0
  39. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/file/python_app_iml_file.py +0 -0
  40. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/file/python_pyproject_toml_file.py +0 -0
  41. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/middleware/__init__.py +0 -0
  42. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/middleware/__pycache__/__init__.py +0 -0
  43. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/middleware/each_python_file_middleware.py +0 -0
  44. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/py.typed +0 -0
  45. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/python_addon_manager.py +0 -0
  46. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/resources/docker/Dockerfile.python-profiling +0 -0
  47. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/resources/package_publish_gitlab.yml +0 -0
  48. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/resources/readme_templates/tests.md.j2 +0 -0
  49. {wexample_wex_addon_dev_python-0.2.0/src/wexample_wex_addon_dev_python/resources → wexample_wex_addon_dev_python-7.0.0/src/wexample_wex_addon_dev_python/workdir}/__init__.py +0 -0
  50. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/workdir/mixin/with_profiling_python_workdir_mixin.py +0 -0
  51. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/workdir/python_packages_suite_workdir.py +0 -0
  52. {wexample_wex_addon_dev_python-0.2.0 → wexample_wex_addon_dev_python-7.0.0}/src/wexample_wex_addon_dev_python/workdir/python_workdir.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wexample-wex-addon-dev-python
3
- Version: 0.2.0
3
+ Version: 7.0.0
4
4
  Summary: Python dev addon for wex
5
5
  Author-Email: weeger <contact@wexample.com>
6
6
  License: MIT
@@ -15,8 +15,8 @@ Requires-Dist: griffe>=2.0.2
15
15
  Requires-Dist: networkx
16
16
  Requires-Dist: pylint
17
17
  Requires-Dist: pyright
18
- Requires-Dist: wexample-filestate-python>=0.1.0
19
- Requires-Dist: wexample-wex-addon-app>=1.2.0
18
+ Requires-Dist: wexample-filestate-python>=6.4.0
19
+ Requires-Dist: wexample-wex-addon-app>=9.0.0
20
20
  Provides-Extra: dev
21
21
  Requires-Dist: pytest; extra == "dev"
22
22
  Requires-Dist: pytest-cov; extra == "dev"
@@ -24,6 +24,131 @@ Description-Content-Type: text/markdown
24
24
 
25
25
  # wex_addon_dev_python
26
26
 
27
+ Version: 7.0.0
28
+
29
+ Python dev addon for wex
30
+
31
+ ## Table of Contents
32
+
33
+ - [Tests](#tests)
34
+ - [Suite Integration](#suite-integration)
35
+ - [Dependencies](#dependencies)
36
+ - [Versioning](#versioning)
37
+ - [License](#license)
38
+ - [Suite Integration](#suite-integration)
39
+ - [Suite Signature](#suite-signature)
40
+ - [Introduction](#introduction)
41
+ - [Roadmap](#roadmap)
42
+ - [Status Compatibility](#status-compatibility)
43
+ - [Useful Links](#useful-links)
44
+ - [Migration Notes](#migration-notes)
45
+
46
+ ## Tests
47
+
48
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
49
+
50
+ ### Installation
51
+
52
+ First, install the required testing dependencies:
53
+ ```bash
54
+ .venv/bin/python -m pip install pytest pytest-cov
55
+ ```
56
+
57
+ ### Basic Usage
58
+
59
+ Run all tests with coverage:
60
+ ```bash
61
+ .venv/bin/python -m pytest --cov --cov-report=html
62
+ ```
63
+
64
+ ### Common Commands
65
+ ```bash
66
+ # Run tests with coverage for a specific module
67
+ .venv/bin/python -m pytest --cov=your_module
68
+
69
+ # Show which lines are not covered
70
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
71
+
72
+ # Generate an HTML coverage report
73
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
74
+
75
+ # Combine terminal and HTML reports
76
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
77
+
78
+ # Run specific test file with coverage
79
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
80
+ ```
81
+
82
+ ### Viewing HTML Reports
83
+
84
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
85
+
86
+ ### Coverage Threshold
87
+
88
+ To enforce a minimum coverage percentage:
89
+ ```bash
90
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
91
+ ```
92
+
93
+ This will cause the test suite to fail if coverage drops below 80%.
94
+
95
+ ## Integration in the Suite
96
+
97
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
98
+
99
+ ### Related Packages
100
+
101
+ The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
102
+
103
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
104
+
105
+ ## Dependencies
106
+
107
+ - attrs: >=23.1.0
108
+ - cattrs: >=23.1.0
109
+ - griffe: >=2.0.2
110
+ - networkx:
111
+ - pylint:
112
+ - pyright:
113
+ - wexample-filestate-python: >=6.4.0
114
+ - wexample-wex-addon-app: >=9.0.0
115
+
116
+ ## Versioning & Compatibility Policy
117
+
118
+ Wexample packages follow **Semantic Versioning** (SemVer):
119
+
120
+ - **MAJOR**: Breaking changes
121
+ - **MINOR**: New features, backward compatible
122
+ - **PATCH**: Bug fixes, backward compatible
123
+
124
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
125
+
126
+ ## License
127
+
128
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
129
+
130
+ Free to use in both personal and commercial projects.
131
+
132
+ ## Integration in the Suite
133
+
134
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
135
+
136
+ ### Related Packages
137
+
138
+ The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
139
+
140
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
141
+
142
+ # About us
143
+
144
+ [Wexample](https://wexample.com) stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
145
+
146
+ This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.
147
+
148
+ Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
149
+
150
+ # wex_addon_dev_python
151
+
27
152
  Version: 0.2.0
28
153
 
29
154
  Python dev addon for wex
@@ -175,3 +300,33 @@ See the [project roadmap](https://github.com/wexample/python-wex_addon_dev_pytho
175
300
  When upgrading between major versions, refer to the migration guides in the documentation.
176
301
 
177
302
  Breaking changes are clearly documented with upgrade paths and examples.
303
+
304
+ ## Known Limitations & Roadmap
305
+
306
+ Current limitations and planned features are tracked in the GitHub issues.
307
+
308
+ See the [project roadmap](https://github.com/wexample/python-wex_addon_dev_python/issues) for upcoming features and improvements.
309
+
310
+ ## Status & Compatibility
311
+
312
+ **Maturity**: Production-ready
313
+
314
+ **Python Support**: >=3.10
315
+
316
+ **OS Support**: Linux, macOS, Windows
317
+
318
+ **Status**: Actively maintained
319
+
320
+ ## Useful Links
321
+
322
+ - **Homepage**: https://github.com/wexample/python-wex-addon-dev-python
323
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
324
+ - **Issue Tracker**: https://github.com/wexample/python-wex-addon-dev-python/issues
325
+ - **Discussions**: https://github.com/wexample/python-wex-addon-dev-python/discussions
326
+ - **PyPI**: [pypi.org/project/wex_addon_dev_python](https://pypi.org/project/wex_addon_dev_python/)
327
+
328
+ ## Migration Notes
329
+
330
+ When upgrading between major versions, refer to the migration guides in the documentation.
331
+
332
+ Breaking changes are clearly documented with upgrade paths and examples.
@@ -0,0 +1,308 @@
1
+ # wex_addon_dev_python
2
+
3
+ Version: 7.0.0
4
+
5
+ Python dev addon for wex
6
+
7
+ ## Table of Contents
8
+
9
+ - [Tests](#tests)
10
+ - [Suite Integration](#suite-integration)
11
+ - [Dependencies](#dependencies)
12
+ - [Versioning](#versioning)
13
+ - [License](#license)
14
+ - [Suite Integration](#suite-integration)
15
+ - [Suite Signature](#suite-signature)
16
+ - [Introduction](#introduction)
17
+ - [Roadmap](#roadmap)
18
+ - [Status Compatibility](#status-compatibility)
19
+ - [Useful Links](#useful-links)
20
+ - [Migration Notes](#migration-notes)
21
+
22
+ ## Tests
23
+
24
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
25
+
26
+ ### Installation
27
+
28
+ First, install the required testing dependencies:
29
+ ```bash
30
+ .venv/bin/python -m pip install pytest pytest-cov
31
+ ```
32
+
33
+ ### Basic Usage
34
+
35
+ Run all tests with coverage:
36
+ ```bash
37
+ .venv/bin/python -m pytest --cov --cov-report=html
38
+ ```
39
+
40
+ ### Common Commands
41
+ ```bash
42
+ # Run tests with coverage for a specific module
43
+ .venv/bin/python -m pytest --cov=your_module
44
+
45
+ # Show which lines are not covered
46
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
47
+
48
+ # Generate an HTML coverage report
49
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
50
+
51
+ # Combine terminal and HTML reports
52
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
53
+
54
+ # Run specific test file with coverage
55
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
56
+ ```
57
+
58
+ ### Viewing HTML Reports
59
+
60
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
61
+
62
+ ### Coverage Threshold
63
+
64
+ To enforce a minimum coverage percentage:
65
+ ```bash
66
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
67
+ ```
68
+
69
+ This will cause the test suite to fail if coverage drops below 80%.
70
+
71
+ ## Integration in the Suite
72
+
73
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
74
+
75
+ ### Related Packages
76
+
77
+ The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
78
+
79
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
80
+
81
+ ## Dependencies
82
+
83
+ - attrs: >=23.1.0
84
+ - cattrs: >=23.1.0
85
+ - griffe: >=2.0.2
86
+ - networkx:
87
+ - pylint:
88
+ - pyright:
89
+ - wexample-filestate-python: >=6.4.0
90
+ - wexample-wex-addon-app: >=9.0.0
91
+
92
+ ## Versioning & Compatibility Policy
93
+
94
+ Wexample packages follow **Semantic Versioning** (SemVer):
95
+
96
+ - **MAJOR**: Breaking changes
97
+ - **MINOR**: New features, backward compatible
98
+ - **PATCH**: Bug fixes, backward compatible
99
+
100
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
101
+
102
+ ## License
103
+
104
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
105
+
106
+ Free to use in both personal and commercial projects.
107
+
108
+ ## Integration in the Suite
109
+
110
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
111
+
112
+ ### Related Packages
113
+
114
+ The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
115
+
116
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
117
+
118
+ # About us
119
+
120
+ [Wexample](https://wexample.com) stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
121
+
122
+ This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.
123
+
124
+ Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
125
+
126
+ # wex_addon_dev_python
127
+
128
+ Version: 0.2.0
129
+
130
+ Python dev addon for wex
131
+
132
+ ## Table of Contents
133
+
134
+ - [Tests](#tests)
135
+ - [Suite Integration](#suite-integration)
136
+ - [Dependencies](#dependencies)
137
+ - [Versioning](#versioning)
138
+ - [License](#license)
139
+ - [Suite Integration](#suite-integration)
140
+ - [Suite Signature](#suite-signature)
141
+ - [Roadmap](#roadmap)
142
+ - [Status Compatibility](#status-compatibility)
143
+ - [Useful Links](#useful-links)
144
+ - [Migration Notes](#migration-notes)
145
+
146
+ ## Tests
147
+
148
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
149
+
150
+ ### Installation
151
+
152
+ First, install the required testing dependencies:
153
+ ```bash
154
+ .venv/bin/python -m pip install pytest pytest-cov
155
+ ```
156
+
157
+ ### Basic Usage
158
+
159
+ Run all tests with coverage:
160
+ ```bash
161
+ .venv/bin/python -m pytest --cov --cov-report=html
162
+ ```
163
+
164
+ ### Common Commands
165
+ ```bash
166
+ # Run tests with coverage for a specific module
167
+ .venv/bin/python -m pytest --cov=your_module
168
+
169
+ # Show which lines are not covered
170
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
171
+
172
+ # Generate an HTML coverage report
173
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
174
+
175
+ # Combine terminal and HTML reports
176
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
177
+
178
+ # Run specific test file with coverage
179
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
180
+ ```
181
+
182
+ ### Viewing HTML Reports
183
+
184
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
185
+
186
+ ### Coverage Threshold
187
+
188
+ To enforce a minimum coverage percentage:
189
+ ```bash
190
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
191
+ ```
192
+
193
+ This will cause the test suite to fail if coverage drops below 80%.
194
+
195
+ ## Integration in the Suite
196
+
197
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
198
+
199
+ ### Related Packages
200
+
201
+ The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
202
+
203
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
204
+
205
+ ## Dependencies
206
+
207
+ - attrs: >=23.1.0
208
+ - cattrs: >=23.1.0
209
+ - griffe: >=2.0.2
210
+ - networkx:
211
+ - pylint:
212
+ - pyright:
213
+ - wexample-filestate-python: >=0.1.0
214
+ - wexample-wex-addon-app: >=1.2.0
215
+
216
+ ## Versioning & Compatibility Policy
217
+
218
+ Wexample packages follow **Semantic Versioning** (SemVer):
219
+
220
+ - **MAJOR**: Breaking changes
221
+ - **MINOR**: New features, backward compatible
222
+ - **PATCH**: Bug fixes, backward compatible
223
+
224
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
225
+
226
+ ## License
227
+
228
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
229
+
230
+ Free to use in both personal and commercial projects.
231
+
232
+ ## Integration in the Suite
233
+
234
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
235
+
236
+ ### Related Packages
237
+
238
+ The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
239
+
240
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
241
+
242
+ # About us
243
+
244
+ [Wexample](https://wexample.com) stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
245
+
246
+ This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.
247
+
248
+ Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
249
+
250
+ ## Known Limitations & Roadmap
251
+
252
+ Current limitations and planned features are tracked in the GitHub issues.
253
+
254
+ See the [project roadmap](https://github.com/wexample/python-wex_addon_dev_python/issues) for upcoming features and improvements.
255
+
256
+ ## Status & Compatibility
257
+
258
+ **Maturity**: Production-ready
259
+
260
+ **Python Support**: >=3.10
261
+
262
+ **OS Support**: Linux, macOS, Windows
263
+
264
+ **Status**: Actively maintained
265
+
266
+ ## Useful Links
267
+
268
+ - **Homepage**: https://github.com/wexample/python-wex-addon-dev-python
269
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
270
+ - **Issue Tracker**: https://github.com/wexample/python-wex-addon-dev-python/issues
271
+ - **Discussions**: https://github.com/wexample/python-wex-addon-dev-python/discussions
272
+ - **PyPI**: [pypi.org/project/wex_addon_dev_python](https://pypi.org/project/wex_addon_dev_python/)
273
+
274
+ ## Migration Notes
275
+
276
+ When upgrading between major versions, refer to the migration guides in the documentation.
277
+
278
+ Breaking changes are clearly documented with upgrade paths and examples.
279
+
280
+ ## Known Limitations & Roadmap
281
+
282
+ Current limitations and planned features are tracked in the GitHub issues.
283
+
284
+ See the [project roadmap](https://github.com/wexample/python-wex_addon_dev_python/issues) for upcoming features and improvements.
285
+
286
+ ## Status & Compatibility
287
+
288
+ **Maturity**: Production-ready
289
+
290
+ **Python Support**: >=3.10
291
+
292
+ **OS Support**: Linux, macOS, Windows
293
+
294
+ **Status**: Actively maintained
295
+
296
+ ## Useful Links
297
+
298
+ - **Homepage**: https://github.com/wexample/python-wex-addon-dev-python
299
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
300
+ - **Issue Tracker**: https://github.com/wexample/python-wex-addon-dev-python/issues
301
+ - **Discussions**: https://github.com/wexample/python-wex-addon-dev-python/discussions
302
+ - **PyPI**: [pypi.org/project/wex_addon_dev_python](https://pypi.org/project/wex_addon_dev_python/)
303
+
304
+ ## Migration Notes
305
+
306
+ When upgrading between major versions, refer to the migration guides in the documentation.
307
+
308
+ Breaking changes are clearly documented with upgrade paths and examples.
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "wexample-wex-addon-dev-python"
9
- version = "0.2.0"
9
+ version = "7.0.0"
10
10
  description = "Python dev addon for wex"
11
11
  authors = [
12
12
  { name = "weeger", email = "contact@wexample.com" },
@@ -24,8 +24,8 @@ dependencies = [
24
24
  "networkx",
25
25
  "pylint",
26
26
  "pyright",
27
- "wexample-filestate-python>=0.1.0",
28
- "wexample-wex-addon-app>=1.2.0",
27
+ "wexample-filestate-python>=6.4.0",
28
+ "wexample-wex-addon-app>=9.0.0",
29
29
  ]
30
30
 
31
31
  [project.readme]
@@ -0,0 +1,2 @@
1
+ filestate:
2
+ python_init: false
@@ -25,6 +25,40 @@ if TYPE_CHECKING:
25
25
  class PythonPackageWorkdir(PythonWorkdir):
26
26
  _project_info_cache = None
27
27
 
28
+ def check_publish_prerequisites(self) -> None:
29
+ import os
30
+ import shutil
31
+
32
+ super().check_publish_prerequisites()
33
+ if shutil.which("pdm"):
34
+ return
35
+
36
+ self.warning("'pdm' not found in PATH — required to publish Python packages.")
37
+ suggestion = (
38
+ "/home/weeger/.local/bin"
39
+ if os.path.isfile("/home/weeger/.local/bin/pdm")
40
+ else None
41
+ )
42
+ response = self.io.input(
43
+ question="Enter the directory containing pdm (will be prepended to PATH):",
44
+ default_value=suggestion,
45
+ ).get_value()
46
+
47
+ if not response:
48
+ raise RuntimeError(
49
+ "'pdm' not configured. Install it with: pipx install pdm"
50
+ )
51
+
52
+ os.environ["PATH"] = response + ":" + os.environ.get("PATH", "")
53
+ self._persist_env_value("PATH", os.environ["PATH"])
54
+ self.info(f"Added {response!r} to PATH — saved to .wex/local/env.yml")
55
+
56
+ if not shutil.which("pdm"):
57
+ raise RuntimeError(
58
+ f"'pdm' still not found after adding {response!r} to PATH. "
59
+ "Check that pdm is installed in that directory."
60
+ )
61
+
28
62
  def prepare_value(self, raw_value: DictConfig | None = None) -> DictConfig:
29
63
  from wexample_helpers.helpers.array import array_dict_get_by
30
64
  from wexample_helpers.helpers.file import file_read
@@ -1,153 +0,0 @@
1
- # wex_addon_dev_python
2
-
3
- Version: 0.2.0
4
-
5
- Python dev addon for wex
6
-
7
- ## Table of Contents
8
-
9
- - [Tests](#tests)
10
- - [Suite Integration](#suite-integration)
11
- - [Dependencies](#dependencies)
12
- - [Versioning](#versioning)
13
- - [License](#license)
14
- - [Suite Integration](#suite-integration)
15
- - [Suite Signature](#suite-signature)
16
- - [Roadmap](#roadmap)
17
- - [Status Compatibility](#status-compatibility)
18
- - [Useful Links](#useful-links)
19
- - [Migration Notes](#migration-notes)
20
-
21
- ## Tests
22
-
23
- This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
24
-
25
- ### Installation
26
-
27
- First, install the required testing dependencies:
28
- ```bash
29
- .venv/bin/python -m pip install pytest pytest-cov
30
- ```
31
-
32
- ### Basic Usage
33
-
34
- Run all tests with coverage:
35
- ```bash
36
- .venv/bin/python -m pytest --cov --cov-report=html
37
- ```
38
-
39
- ### Common Commands
40
- ```bash
41
- # Run tests with coverage for a specific module
42
- .venv/bin/python -m pytest --cov=your_module
43
-
44
- # Show which lines are not covered
45
- .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
46
-
47
- # Generate an HTML coverage report
48
- .venv/bin/python -m pytest --cov=your_module --cov-report=html
49
-
50
- # Combine terminal and HTML reports
51
- .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
52
-
53
- # Run specific test file with coverage
54
- .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
55
- ```
56
-
57
- ### Viewing HTML Reports
58
-
59
- After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
60
-
61
- ### Coverage Threshold
62
-
63
- To enforce a minimum coverage percentage:
64
- ```bash
65
- .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
66
- ```
67
-
68
- This will cause the test suite to fail if coverage drops below 80%.
69
-
70
- ## Integration in the Suite
71
-
72
- This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
73
-
74
- ### Related Packages
75
-
76
- The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
77
-
78
- Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
79
-
80
- ## Dependencies
81
-
82
- - attrs: >=23.1.0
83
- - cattrs: >=23.1.0
84
- - griffe: >=2.0.2
85
- - networkx:
86
- - pylint:
87
- - pyright:
88
- - wexample-filestate-python: >=0.1.0
89
- - wexample-wex-addon-app: >=1.2.0
90
-
91
- ## Versioning & Compatibility Policy
92
-
93
- Wexample packages follow **Semantic Versioning** (SemVer):
94
-
95
- - **MAJOR**: Breaking changes
96
- - **MINOR**: New features, backward compatible
97
- - **PATCH**: Bug fixes, backward compatible
98
-
99
- We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
100
-
101
- ## License
102
-
103
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
104
-
105
- Free to use in both personal and commercial projects.
106
-
107
- ## Integration in the Suite
108
-
109
- This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
110
-
111
- ### Related Packages
112
-
113
- The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
114
-
115
- Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
116
-
117
- # About us
118
-
119
- [Wexample](https://wexample.com) stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
120
-
121
- This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.
122
-
123
- Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
124
-
125
- ## Known Limitations & Roadmap
126
-
127
- Current limitations and planned features are tracked in the GitHub issues.
128
-
129
- See the [project roadmap](https://github.com/wexample/python-wex_addon_dev_python/issues) for upcoming features and improvements.
130
-
131
- ## Status & Compatibility
132
-
133
- **Maturity**: Production-ready
134
-
135
- **Python Support**: >=3.10
136
-
137
- **OS Support**: Linux, macOS, Windows
138
-
139
- **Status**: Actively maintained
140
-
141
- ## Useful Links
142
-
143
- - **Homepage**: https://github.com/wexample/python-wex-addon-dev-python
144
- - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
145
- - **Issue Tracker**: https://github.com/wexample/python-wex-addon-dev-python/issues
146
- - **Discussions**: https://github.com/wexample/python-wex-addon-dev-python/discussions
147
- - **PyPI**: [pypi.org/project/wex_addon_dev_python](https://pypi.org/project/wex_addon_dev_python/)
148
-
149
- ## Migration Notes
150
-
151
- When upgrading between major versions, refer to the migration guides in the documentation.
152
-
153
- Breaking changes are clearly documented with upgrade paths and examples.