wexample-wex-addon-dev-php 0.0.7__tar.gz → 0.0.11__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 (16) hide show
  1. wexample_wex_addon_dev_php-0.0.11/PKG-INFO +188 -0
  2. wexample_wex_addon_dev_php-0.0.11/README.md +167 -0
  3. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/pyproject.toml +12 -2
  4. wexample_wex_addon_dev_php-0.0.11/src/wexample_wex_addon_dev_php/workdir/__init__.py +0 -0
  5. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/workdir/php_packages_suite_workdir.py +2 -2
  6. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/workdir/php_workdir.py +2 -2
  7. wexample_wex_addon_dev_php-0.0.7/PKG-INFO +0 -53
  8. wexample_wex_addon_dev_php-0.0.7/README.md +0 -34
  9. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/__init__.py +0 -0
  10. {wexample_wex_addon_dev_php-0.0.7/src/wexample_wex_addon_dev_php/file → wexample_wex_addon_dev_php-0.0.11/src/wexample_wex_addon_dev_php/__pycache__}/__init__.py +0 -0
  11. {wexample_wex_addon_dev_php-0.0.7/src/wexample_wex_addon_dev_php/workdir → wexample_wex_addon_dev_php-0.0.11/src/wexample_wex_addon_dev_php/file}/__init__.py +0 -0
  12. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/php_addon_manager.py +0 -0
  13. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/py.typed +0 -0
  14. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/workdir/php_laravel_workdir.py +0 -0
  15. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/workdir/php_package_workdir.py +0 -0
  16. {wexample_wex_addon_dev_php-0.0.7 → wexample_wex_addon_dev_php-0.0.11}/src/wexample_wex_addon_dev_php/workdir/php_symfony_workdir.py +0 -0
@@ -0,0 +1,188 @@
1
+ Metadata-Version: 2.1
2
+ Name: wexample-wex-addon-dev-php
3
+ Version: 0.0.11
4
+ Summary: Python dev addon for wex
5
+ Author-Email: weeger <contact@wexample.com>
6
+ License: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
11
+ Requires-Python: >=3.10
12
+ Requires-Dist: attrs>=23.1.0
13
+ Requires-Dist: cattrs>=23.1.0
14
+ Requires-Dist: wexample-wex-addon-app==0.0.49
15
+ Requires-Dist: wexample-wex-core==6.0.55
16
+ Provides-Extra: dev
17
+ Requires-Dist: pytest; extra == "dev"
18
+ Requires-Dist: pytest-cov; extra == "dev"
19
+ Requires-Dist: wexample-filestate-php==0.0.1; extra == "dev"
20
+ Description-Content-Type: text/markdown
21
+
22
+ # wexample-wex-addon-dev-php
23
+
24
+ Version: 0.0.11
25
+
26
+ Python dev addon for wex
27
+
28
+ ## Tests
29
+
30
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
31
+
32
+ ### Installation
33
+
34
+ First, install the required testing dependencies:
35
+ ```bash
36
+ .venv/bin/python -m pip install pytest pytest-cov
37
+ ```
38
+
39
+ ### Basic Usage
40
+
41
+ Run all tests with coverage:
42
+ ```bash
43
+ .venv/bin/python -m pytest --cov
44
+ ```
45
+
46
+ ### Common Commands
47
+ ```bash
48
+ # Run tests with coverage for a specific module
49
+ .venv/bin/python -m pytest --cov=your_module
50
+
51
+ # Show which lines are not covered
52
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
53
+
54
+ # Generate an HTML coverage report
55
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
56
+
57
+ # Combine terminal and HTML reports
58
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
59
+
60
+ # Run specific test file with coverage
61
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
62
+ ```
63
+
64
+ ### Viewing HTML Reports
65
+
66
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
67
+
68
+ ### Coverage Threshold
69
+
70
+ To enforce a minimum coverage percentage:
71
+ ```bash
72
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
73
+ ```
74
+
75
+ This will cause the test suite to fail if coverage drops below 80%.
76
+
77
+ ## Code Quality & Typing
78
+
79
+ All the suite packages follow strict quality standards:
80
+
81
+ - **Type hints**: Full type coverage with mypy validation
82
+ - **Code formatting**: Enforced with black and isort
83
+ - **Linting**: Comprehensive checks with custom scripts and tools
84
+ - **Testing**: High test coverage requirements
85
+
86
+ These standards ensure reliability and maintainability across the suite.
87
+
88
+ ## Versioning & Compatibility Policy
89
+
90
+ Wexample packages follow **Semantic Versioning** (SemVer):
91
+
92
+ - **MAJOR**: Breaking changes
93
+ - **MINOR**: New features, backward compatible
94
+ - **PATCH**: Bug fixes, backward compatible
95
+
96
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
97
+
98
+ ## Changelog
99
+
100
+ See [CHANGELOG.md](CHANGELOG.md) for detailed version history and release notes.
101
+
102
+ Major changes are documented with migration guides when applicable.
103
+
104
+ ## Migration Notes
105
+
106
+ When upgrading between major versions, refer to the migration guides in the documentation.
107
+
108
+ Breaking changes are clearly documented with upgrade paths and examples.
109
+
110
+ ## Known Limitations & Roadmap
111
+
112
+ Current limitations and planned features are tracked in the GitHub issues.
113
+
114
+ See the [project roadmap](https://github.com/wexample/python-wex-dev-python/issues) for upcoming features and improvements.
115
+
116
+ ## Security Policy
117
+
118
+ ### Reporting Vulnerabilities
119
+
120
+ If you discover a security vulnerability, please email security@wexample.com.
121
+
122
+ **Do not** open public issues for security vulnerabilities.
123
+
124
+ We take security seriously and will respond promptly to verified reports.
125
+
126
+ ## Privacy & Telemetry
127
+
128
+ This package does **not** collect any telemetry or usage data.
129
+
130
+ Your privacy is respected — no data is transmitted to external services.
131
+
132
+ ## Support Channels
133
+
134
+ - **GitHub Issues**: Bug reports and feature requests
135
+ - **GitHub Discussions**: Questions and community support
136
+ - **Documentation**: Comprehensive guides and API reference
137
+ - **Email**: contact@wexample.com for general inquiries
138
+
139
+ Community support is available through GitHub Discussions.
140
+
141
+ ## Contribution Guidelines
142
+
143
+ We welcome contributions to the Wexample suite!
144
+
145
+ ### How to Contribute
146
+
147
+ 1. **Fork** the repository
148
+ 2. **Create** a feature branch
149
+ 3. **Make** your changes
150
+ 4. **Test** thoroughly
151
+ 5. **Submit** a pull request
152
+
153
+ ## Maintainers & Authors
154
+
155
+ Maintained by the Wexample team and community contributors.
156
+
157
+ See [CONTRIBUTORS.md](CONTRIBUTORS.md) for the full list of contributors.
158
+
159
+ ## License
160
+
161
+ MIT
162
+
163
+ ## Useful Links
164
+
165
+ - **Homepage**: https://github.com/wexample/python-wex-dev-python
166
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
167
+ - **Issue Tracker**: https://github.com/wexample/python-wex-dev-python/issues
168
+ - **Discussions**: https://github.com/wexample/python-wex-dev-python/discussions
169
+ - **PyPI**: [pypi.org/project/wexample-wex-addon-dev-php](https://pypi.org/project/wexample-wex-addon-dev-php/)
170
+
171
+ ## Integration in the Suite
172
+
173
+ This package is part of the **Wexample Suite** — a collection of high-quality Python packages designed to work seamlessly together.
174
+
175
+ ### Related Packages
176
+
177
+ 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.
178
+
179
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
180
+
181
+ # About us
182
+
183
+ Wexample 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.
184
+
185
+ 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.
186
+
187
+ 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.
188
+
@@ -0,0 +1,167 @@
1
+ # wexample-wex-addon-dev-php
2
+
3
+ Version: 0.0.11
4
+
5
+ Python dev addon for wex
6
+
7
+ ## Tests
8
+
9
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
10
+
11
+ ### Installation
12
+
13
+ First, install the required testing dependencies:
14
+ ```bash
15
+ .venv/bin/python -m pip install pytest pytest-cov
16
+ ```
17
+
18
+ ### Basic Usage
19
+
20
+ Run all tests with coverage:
21
+ ```bash
22
+ .venv/bin/python -m pytest --cov
23
+ ```
24
+
25
+ ### Common Commands
26
+ ```bash
27
+ # Run tests with coverage for a specific module
28
+ .venv/bin/python -m pytest --cov=your_module
29
+
30
+ # Show which lines are not covered
31
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
32
+
33
+ # Generate an HTML coverage report
34
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
35
+
36
+ # Combine terminal and HTML reports
37
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
38
+
39
+ # Run specific test file with coverage
40
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
41
+ ```
42
+
43
+ ### Viewing HTML Reports
44
+
45
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
46
+
47
+ ### Coverage Threshold
48
+
49
+ To enforce a minimum coverage percentage:
50
+ ```bash
51
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
52
+ ```
53
+
54
+ This will cause the test suite to fail if coverage drops below 80%.
55
+
56
+ ## Code Quality & Typing
57
+
58
+ All the suite packages follow strict quality standards:
59
+
60
+ - **Type hints**: Full type coverage with mypy validation
61
+ - **Code formatting**: Enforced with black and isort
62
+ - **Linting**: Comprehensive checks with custom scripts and tools
63
+ - **Testing**: High test coverage requirements
64
+
65
+ These standards ensure reliability and maintainability across the suite.
66
+
67
+ ## Versioning & Compatibility Policy
68
+
69
+ Wexample packages follow **Semantic Versioning** (SemVer):
70
+
71
+ - **MAJOR**: Breaking changes
72
+ - **MINOR**: New features, backward compatible
73
+ - **PATCH**: Bug fixes, backward compatible
74
+
75
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
76
+
77
+ ## Changelog
78
+
79
+ See [CHANGELOG.md](CHANGELOG.md) for detailed version history and release notes.
80
+
81
+ Major changes are documented with migration guides when applicable.
82
+
83
+ ## Migration Notes
84
+
85
+ When upgrading between major versions, refer to the migration guides in the documentation.
86
+
87
+ Breaking changes are clearly documented with upgrade paths and examples.
88
+
89
+ ## Known Limitations & Roadmap
90
+
91
+ Current limitations and planned features are tracked in the GitHub issues.
92
+
93
+ See the [project roadmap](https://github.com/wexample/python-wex-dev-python/issues) for upcoming features and improvements.
94
+
95
+ ## Security Policy
96
+
97
+ ### Reporting Vulnerabilities
98
+
99
+ If you discover a security vulnerability, please email security@wexample.com.
100
+
101
+ **Do not** open public issues for security vulnerabilities.
102
+
103
+ We take security seriously and will respond promptly to verified reports.
104
+
105
+ ## Privacy & Telemetry
106
+
107
+ This package does **not** collect any telemetry or usage data.
108
+
109
+ Your privacy is respected — no data is transmitted to external services.
110
+
111
+ ## Support Channels
112
+
113
+ - **GitHub Issues**: Bug reports and feature requests
114
+ - **GitHub Discussions**: Questions and community support
115
+ - **Documentation**: Comprehensive guides and API reference
116
+ - **Email**: contact@wexample.com for general inquiries
117
+
118
+ Community support is available through GitHub Discussions.
119
+
120
+ ## Contribution Guidelines
121
+
122
+ We welcome contributions to the Wexample suite!
123
+
124
+ ### How to Contribute
125
+
126
+ 1. **Fork** the repository
127
+ 2. **Create** a feature branch
128
+ 3. **Make** your changes
129
+ 4. **Test** thoroughly
130
+ 5. **Submit** a pull request
131
+
132
+ ## Maintainers & Authors
133
+
134
+ Maintained by the Wexample team and community contributors.
135
+
136
+ See [CONTRIBUTORS.md](CONTRIBUTORS.md) for the full list of contributors.
137
+
138
+ ## License
139
+
140
+ MIT
141
+
142
+ ## Useful Links
143
+
144
+ - **Homepage**: https://github.com/wexample/python-wex-dev-python
145
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
146
+ - **Issue Tracker**: https://github.com/wexample/python-wex-dev-python/issues
147
+ - **Discussions**: https://github.com/wexample/python-wex-dev-python/discussions
148
+ - **PyPI**: [pypi.org/project/wexample-wex-addon-dev-php](https://pypi.org/project/wexample-wex-addon-dev-php/)
149
+
150
+ ## Integration in the Suite
151
+
152
+ This package is part of the **Wexample Suite** — a collection of high-quality Python packages designed to work seamlessly together.
153
+
154
+ ### Related Packages
155
+
156
+ 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.
157
+
158
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
159
+
160
+ # About us
161
+
162
+ Wexample 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.
163
+
164
+ 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.
165
+
166
+ 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.
167
+
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "wexample-wex-addon-dev-php"
9
- version = "0.0.7"
9
+ version = "0.0.11"
10
10
  description = "Python dev addon for wex"
11
11
  authors = [
12
12
  { name = "weeger", email = "contact@wexample.com" },
@@ -20,7 +20,8 @@ classifiers = [
20
20
  dependencies = [
21
21
  "attrs>=23.1.0",
22
22
  "cattrs>=23.1.0",
23
- "wexample-wex-core==6.0.48",
23
+ "wexample-wex-addon-app==0.0.49",
24
+ "wexample-wex-core==6.0.55",
24
25
  ]
25
26
 
26
27
  [project.readme]
@@ -36,6 +37,7 @@ homepage = "https://github.com/wexample/python-wex-dev-python"
36
37
  [project.optional-dependencies]
37
38
  dev = [
38
39
  "pytest",
40
+ "pytest-cov",
39
41
  "wexample-filestate-php==0.0.1",
40
42
  ]
41
43
 
@@ -47,3 +49,11 @@ package-dir = "src"
47
49
  packages = [
48
50
  { include = "wexample_wex_addon_dev_php", from = "src" },
49
51
  ]
52
+
53
+ [tool.setuptools.packages.find]
54
+ include = [
55
+ "*",
56
+ ]
57
+ exclude = [
58
+ "wexample_wex_addon_dev_php.testing*",
59
+ ]
@@ -2,14 +2,14 @@ from __future__ import annotations
2
2
 
3
3
  from typing import TYPE_CHECKING
4
4
 
5
- from wexample_wex_core.workdir.framework_packages_suite_workdir import (
5
+ from wexample_wex_addon_app.workdir.framework_packages_suite_workdir import (
6
6
  FrameworkPackageSuiteWorkdir,
7
7
  )
8
8
 
9
9
  if TYPE_CHECKING:
10
10
  from pathlib import Path
11
11
 
12
- from wexample_wex_core.workdir.code_base_workdir import CodeBaseWorkdir
12
+ from wexample_wex_addon_app.workdir.code_base_workdir import CodeBaseWorkdir
13
13
 
14
14
 
15
15
  class PhpPackagesSuiteWorkdir(FrameworkPackageSuiteWorkdir):
@@ -2,7 +2,7 @@ from __future__ import annotations
2
2
 
3
3
  from typing import TYPE_CHECKING
4
4
 
5
- from wexample_wex_core.workdir.code_base_workdir import CodeBaseWorkdir
5
+ from wexample_wex_addon_app.workdir.code_base_workdir import CodeBaseWorkdir
6
6
 
7
7
  if TYPE_CHECKING:
8
8
  from wexample_config.const.types import DictConfig
@@ -47,10 +47,10 @@ class PhpWorkdir(CodeBaseWorkdir):
47
47
  return raw_value
48
48
 
49
49
  def _create_php_file_children_filter(self) -> ChildrenFileFactoryOption:
50
+ from wexample_filestate.const.disk import DiskItemType
50
51
  from wexample_filestate.option.children_filter_option import (
51
52
  ChildrenFilterOption,
52
53
  )
53
- from wexample_filestate.const.disk import DiskItemType
54
54
  from wexample_filestate_php.file.php_file import PhpFile
55
55
 
56
56
  return ChildrenFilterOption(
@@ -1,53 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: wexample-wex-addon-dev-php
3
- Version: 0.0.7
4
- Summary: Python dev addon for wex
5
- Author-Email: weeger <contact@wexample.com>
6
- License: MIT
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
11
- Requires-Python: >=3.10
12
- Requires-Dist: attrs>=23.1.0
13
- Requires-Dist: cattrs>=23.1.0
14
- Requires-Dist: wexample-wex-core==6.0.48
15
- Provides-Extra: dev
16
- Requires-Dist: pytest; extra == "dev"
17
- Requires-Dist: wexample-filestate-php==0.0.1; extra == "dev"
18
- Description-Content-Type: text/markdown
19
-
20
- # wexample-wex-addon-dev-php
21
-
22
- Python dev addon for wex
23
-
24
- Version: 0.0.3
25
-
26
- ## Requirements
27
-
28
- - Python >=3.10
29
-
30
- ## Dependencies
31
-
32
- - attrs>=23.1.0
33
- - cattrs>=23.1.0
34
- - wexample-wex-core==6.0.46
35
-
36
- ## Installation
37
-
38
- ```bash
39
- pip install wexample-wex-addon-dev-php
40
- ```
41
-
42
- ## Links
43
-
44
- - Homepage: https://github.com/wexample/python-wex-dev-python
45
-
46
- ## License
47
-
48
- MIT
49
- ## Credits
50
-
51
- This package has been developed by [Wexample](https://wexample.com), a collection of tools and utilities to streamline development workflows.
52
-
53
- Visit [wexample.com](https://wexample.com) to discover more tools and resources for efficient development.
@@ -1,34 +0,0 @@
1
- # wexample-wex-addon-dev-php
2
-
3
- Python dev addon for wex
4
-
5
- Version: 0.0.3
6
-
7
- ## Requirements
8
-
9
- - Python >=3.10
10
-
11
- ## Dependencies
12
-
13
- - attrs>=23.1.0
14
- - cattrs>=23.1.0
15
- - wexample-wex-core==6.0.46
16
-
17
- ## Installation
18
-
19
- ```bash
20
- pip install wexample-wex-addon-dev-php
21
- ```
22
-
23
- ## Links
24
-
25
- - Homepage: https://github.com/wexample/python-wex-dev-python
26
-
27
- ## License
28
-
29
- MIT
30
- ## Credits
31
-
32
- This package has been developed by [Wexample](https://wexample.com), a collection of tools and utilities to streamline development workflows.
33
-
34
- Visit [wexample.com](https://wexample.com) to discover more tools and resources for efficient development.