wexample-wex-addon-dev-python 15.1.4__py3-none-any.whl → 15.2.1__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.
@@ -116,6 +116,19 @@ class PythonPyprojectTomlFile(AppDependenciesConfigFileMixin, TomlFile):
116
116
  for req in (Requirement(spec) for spec in deps)
117
117
  }
118
118
 
119
+ def get_dev_dependencies_versions(self) -> dict[str, str]:
120
+ """The `dev` optional group, read without creating it when absent."""
121
+ from packaging.requirements import Requirement
122
+ from packaging.utils import canonicalize_name
123
+
124
+ project = self.read_parsed().get("project") or {}
125
+ deps = (project.get("optional-dependencies") or {}).get("dev") or []
126
+
127
+ return {
128
+ canonicalize_name(req.name): str(req.specifier)
129
+ for req in (Requirement(spec) for spec in deps)
130
+ }
131
+
119
132
  def optional_group_array(self, group: str):
120
133
  """Ensure and return project.optional-dependencies[group] as multi-line array."""
121
134
  from wexample_filestate_python.helper.toml import (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wexample-wex-addon-dev-python
3
- Version: 15.1.4
3
+ Version: 15.2.1
4
4
  Summary: Extends wex with commands to format, lint, and rename Python symbols, plus workdir types for Python packages and suites
5
5
  Author-Email: weeger <contact@wexample.com>
6
6
  License: MIT
@@ -19,8 +19,8 @@ Requires-Dist: pylint
19
19
  Requires-Dist: pyright
20
20
  Requires-Dist: wexample-api>=6.8.0
21
21
  Requires-Dist: wexample-filestate-python>=9.1.0
22
- Requires-Dist: wexample-wex-addon-ai>=18.3.0
23
- Requires-Dist: wexample-wex-addon-app>=33.3.0
22
+ Requires-Dist: wexample-wex-addon-ai>=19.0.0
23
+ Requires-Dist: wexample-wex-addon-app>=34.0.0
24
24
  Provides-Extra: dev
25
25
  Requires-Dist: pytest; extra == "dev"
26
26
  Requires-Dist: pytest-cov; extra == "dev"
@@ -28,7 +28,7 @@ Description-Content-Type: text/markdown
28
28
 
29
29
  # wex_addon_dev_python
30
30
 
31
- Version: 15.1.4
31
+ Version: 15.2.1
32
32
 
33
33
  `wex_addon_dev_python` extends the wex CLI with a `python::` command group that formats source files with isort and black (`python::code/format`), checks them with mypy, pylint, and pyright (`python::code/check`), and renames Python symbols — packages, modules, classes, functions, constants — while propagating every affected import statement across the workdir (`python::code/rename`). It also ships `PythonPackageWorkdir` and `PythonPackagesSuiteWorkdir`, two workdir types that let wex manage a single PDM-based package or a multi-package suite as a first-class project structure. The intended users are wex operators who develop and maintain Python packages within the wexample ecosystem.
34
34
 
@@ -244,8 +244,6 @@ This package is part of the Wexample Suite — a collection of high-quality, mod
244
244
 
245
245
  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.
246
246
 
247
- Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
248
-
249
247
  ## Dependencies
250
248
 
251
249
  - attrs: >=23.1.0
@@ -258,8 +256,8 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
258
256
  - pyright:
259
257
  - wexample-api: >=6.8.0
260
258
  - wexample-filestate-python: >=9.1.0
261
- - wexample-wex-addon-ai: >=18.3.0
262
- - wexample-wex-addon-app: >=33.3.0
259
+ - wexample-wex-addon-ai: >=19.0.0
260
+ - wexample-wex-addon-app: >=34.0.0
263
261
 
264
262
  ## Versioning & Compatibility Policy
265
263
 
@@ -285,6 +283,8 @@ This packages suite embodies this spirit. Trusted by professionals and enthusias
285
283
 
286
284
  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.
287
285
 
286
+ Built and maintained by [Romain Weeger](https://weeger.io).
287
+
288
288
  ## Known Limitations & Roadmap
289
289
 
290
290
  Current limitations and planned features are tracked in the GitHub issues.
@@ -304,7 +304,6 @@ See the [project roadmap](https://github.com/wexample/python-wex_addon_dev_pytho
304
304
  ## Useful Links
305
305
 
306
306
  - **Homepage**: https://github.com/wexample/python-wex-addon-dev-python
307
- - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
308
307
  - **Issue Tracker**: https://github.com/wexample/python-wex-addon-dev-python/issues
309
308
  - **Discussions**: https://github.com/wexample/python-wex-addon-dev-python/discussions
310
309
  - **PyPI**: [pypi.org/project/wexample-wex-addon-dev-python](https://pypi.org/project/wexample-wex-addon-dev-python/)
@@ -1,6 +1,6 @@
1
- wexample_wex_addon_dev_python-15.1.4.dist-info/METADATA,sha256=z7fDcbROQIh8Bmt9le-Z1fOiGfYuB2de_S9Z041rUcI,17482
2
- wexample_wex_addon_dev_python-15.1.4.dist-info/WHEEL,sha256=IuIk3wbaEnFH1cx75iM2R1CmliRI3dFLXTbRakgvgFQ,90
3
- wexample_wex_addon_dev_python-15.1.4.dist-info/entry_points.txt,sha256=4WCjdYUa09eJPSM1ahhnId0BTg7ncgmLgeKtfKjuUy4,127
1
+ wexample_wex_addon_dev_python-15.2.1.dist-info/METADATA,sha256=PjUNzyCjiV7GgYImPKLk-Y5Dv_eB43IAkiEQNpQWLtU,17370
2
+ wexample_wex_addon_dev_python-15.2.1.dist-info/WHEEL,sha256=IuIk3wbaEnFH1cx75iM2R1CmliRI3dFLXTbRakgvgFQ,90
3
+ wexample_wex_addon_dev_python-15.2.1.dist-info/entry_points.txt,sha256=4WCjdYUa09eJPSM1ahhnId0BTg7ncgmLgeKtfKjuUy4,127
4
4
  wexample_wex_addon_dev_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  wexample_wex_addon_dev_python/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  wexample_wex_addon_dev_python/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -33,7 +33,7 @@ wexample_wex_addon_dev_python/const/tags.py,sha256=isvxhaBbendC6k_rluiJkQ2-yO7Ow
33
33
  wexample_wex_addon_dev_python/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  wexample_wex_addon_dev_python/file/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  wexample_wex_addon_dev_python/file/python_app_iml_file.py,sha256=O6OpMjB_Zn4Mt1sIi9AaGvQP4jM1I2_L_6O6S5-syJM,1206
36
- wexample_wex_addon_dev_python/file/python_pyproject_toml_file.py,sha256=3y5-ZuOFAw8c7dRHGvJXz8XW7RbrL4NeUjN0XcH5lls,16573
36
+ wexample_wex_addon_dev_python/file/python_pyproject_toml_file.py,sha256=2H0XismkdR-fF4wvCcGON3b1SKbnbG_GaRx5gW9bMOk,17108
37
37
  wexample_wex_addon_dev_python/formatter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  wexample_wex_addon_dev_python/formatter/python_code_formatter.py,sha256=KIv2ddw0Rwc5K-SE1TCp5x__B7MYAUXyN8e1TxFQ-7E,1759
39
39
  wexample_wex_addon_dev_python/helper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -93,4 +93,4 @@ wexample_wex_addon_dev_python/workdir/mixin/with_profiling_python_workdir_mixin.
93
93
  wexample_wex_addon_dev_python/workdir/python_package_workdir.py,sha256=VJDIuJ-WrebCMt4TGRisHfQfyaj-XXoW9AgCioEWt5k,19609
94
94
  wexample_wex_addon_dev_python/workdir/python_packages_suite_workdir.py,sha256=7Jb5mKGNV2RjFtrFhUm6jbkiTfLDmy7sA97UGHITVdw,2902
95
95
  wexample_wex_addon_dev_python/workdir/python_workdir.py,sha256=NTqtMa88LW4MVDj_ndf0aVibQUl2mrNmewW1q4IjJu0,32061
96
- wexample_wex_addon_dev_python-15.1.4.dist-info/RECORD,,
96
+ wexample_wex_addon_dev_python-15.2.1.dist-info/RECORD,,