wexample-filestate-python 0.1.0__tar.gz → 6.4.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 (87) hide show
  1. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/PKG-INFO +164 -5
  2. wexample_filestate_python-6.4.0/README.md +316 -0
  3. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/pyproject.toml +3 -3
  4. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/abstract_python_file_content_option.py +3 -0
  5. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/add_future_annotations_option.py +0 -3
  6. wexample_filestate_python-0.1.0/README.md +0 -157
  7. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/__init__.py +0 -0
  8. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/__pycache__/__init__.py +0 -0
  9. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/common/__init__.py +0 -0
  10. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/common/__pycache__/__init__.py +0 -0
  11. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/common/pipy_gateway.py +0 -0
  12. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_option/__init__.py +0 -0
  13. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_option/__pycache__/__init__.py +0 -0
  14. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_option/mixin/__init__.py +0 -0
  15. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_option/mixin/__pycache__/__init__.py +0 -0
  16. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_option/mixin/with_stdout_wrapping_mixin.py +0 -0
  17. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_value/__init__.py +0 -0
  18. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_value/__pycache__/__init__.py +0 -0
  19. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/config_value/python_config_value.py +0 -0
  20. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/const/__init__.py +0 -0
  21. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/const/__pycache__/__init__.py +0 -0
  22. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/const/name_pattern.py +0 -0
  23. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/const/path.py +0 -0
  24. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/const/python_file.py +0 -0
  25. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/event/__init__.py +0 -0
  26. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/event/src/__init__.py +0 -0
  27. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/event/src/wexample_event/__init__.py +0 -0
  28. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/file/__init__.py +0 -0
  29. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/file/__pycache__/__init__.py +0 -0
  30. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/file/python_file.py +0 -0
  31. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/helpers/__init__.py +0 -0
  32. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/helpers/__pycache__/__init__.py +0 -0
  33. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/helpers/package.py +0 -0
  34. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/helpers/python/__init__.py +0 -0
  35. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/helpers/toml.py +0 -0
  36. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/__init__.py +0 -0
  37. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/__pycache__/__init__.py +0 -0
  38. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/__init__.py +0 -0
  39. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/add_return_types_option.py +0 -0
  40. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/class_name_matches_file_name_option.py +0 -0
  41. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/fix_attrs_option.py +0 -0
  42. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/fix_blank_lines_option.py +0 -0
  43. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/format_option.py +0 -0
  44. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/fstringify_option.py +0 -0
  45. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/modernize_typing_option.py +0 -0
  46. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_class_attributes_option.py +0 -0
  47. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_class_docstring_option.py +0 -0
  48. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_class_methods_option.py +0 -0
  49. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_constants_option.py +0 -0
  50. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_iterable_items_option.py +0 -0
  51. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_main_guard_option.py +0 -0
  52. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_module_docstring_option.py +0 -0
  53. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_module_functions_option.py +0 -0
  54. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_module_metadata_option.py +0 -0
  55. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/order_type_checking_block_option.py +0 -0
  56. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/relocate_imports_option.py +0 -0
  57. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/remove_unused_option.py +0 -0
  58. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/sort_imports_option.py +0 -0
  59. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python/unquote_annotations_option.py +0 -0
  60. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/option/python_option.py +0 -0
  61. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/options_provider/__init__.py +0 -0
  62. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/options_provider/__pycache__/__init__.py +0 -0
  63. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/options_provider/python_options_provider.py +0 -0
  64. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/py.typed +0 -0
  65. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/__init__.py +0 -0
  66. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/__pycache__/__init__.py +0 -0
  67. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_attrs_utils.py +0 -0
  68. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_blank_lines_utils.py +0 -0
  69. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_class_attributes_utils.py +0 -0
  70. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_class_docstring_utils.py +0 -0
  71. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_class_methods_utils.py +0 -0
  72. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_constants_utils.py +0 -0
  73. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_docstring_utils.py +0 -0
  74. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_functions_utils.py +0 -0
  75. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_iterable_utils.py +0 -0
  76. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_main_guard_utils.py +0 -0
  77. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_module_metadata_utils.py +0 -0
  78. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/python_type_checking_utils.py +0 -0
  79. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/__init__.py +0 -0
  80. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/__pycache__/__init__.py +0 -0
  81. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_import_rewriter.py +0 -0
  82. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_localize_runtime_imports.py +0 -0
  83. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_parser_import_index.py +0 -0
  84. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_runtime_symbol_collector.py +0 -0
  85. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_usage_collector.py +0 -0
  86. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/tests/tests/__init__.py +0 -0
  87. {wexample_filestate_python-0.1.0 → wexample_filestate_python-6.4.0}/tests/wexample_tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wexample-filestate-python
3
- Version: 0.1.0
3
+ Version: 6.4.0
4
4
  Summary: Helpers for Python.
5
5
  Author-Email: weeger <contact@wexample.com>
6
6
  License: MIT
@@ -19,8 +19,8 @@ Requires-Dist: libcst
19
19
  Requires-Dist: packaging
20
20
  Requires-Dist: pyupgrade
21
21
  Requires-Dist: tomli
22
- Requires-Dist: wexample-api==0.0.84
23
- Requires-Dist: wexample-filestate>=1.0.0
22
+ Requires-Dist: wexample-api>=0.0.84
23
+ Requires-Dist: wexample-filestate>=6.1.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
  # filestate_python
30
30
 
31
- Version: 0.1.0
31
+ Version: 6.4.0
32
32
 
33
33
  Helpers for Python.
34
34
 
@@ -41,6 +41,7 @@ Helpers for Python.
41
41
  - [License](#license)
42
42
  - [Suite Integration](#suite-integration)
43
43
  - [Suite Signature](#suite-signature)
44
+ - [Introduction](#introduction)
44
45
  - [Roadmap](#roadmap)
45
46
  - [Status Compatibility](#status-compatibility)
46
47
  - [Useful Links](#useful-links)
@@ -117,7 +118,135 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
117
118
  - packaging:
118
119
  - pyupgrade:
119
120
  - tomli:
120
- - wexample-api: ==0.0.84
121
+ - wexample-api: >=0.0.84
122
+ - wexample-filestate: >=6.1.0
123
+
124
+ ## Versioning & Compatibility Policy
125
+
126
+ Wexample packages follow **Semantic Versioning** (SemVer):
127
+
128
+ - **MAJOR**: Breaking changes
129
+ - **MINOR**: New features, backward compatible
130
+ - **PATCH**: Bug fixes, backward compatible
131
+
132
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
133
+
134
+ ## License
135
+
136
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
137
+
138
+ Free to use in both personal and commercial projects.
139
+
140
+ ## Integration in the Suite
141
+
142
+ 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.
143
+
144
+ ### Related Packages
145
+
146
+ 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.
147
+
148
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
149
+
150
+ # About us
151
+
152
+ [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.
153
+
154
+ 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.
155
+
156
+ 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.
157
+
158
+ # filestate_python
159
+
160
+ Version: 0.1.1
161
+
162
+ Helpers for Python.
163
+
164
+ ## Table of Contents
165
+
166
+ - [Tests](#tests)
167
+ - [Suite Integration](#suite-integration)
168
+ - [Dependencies](#dependencies)
169
+ - [Versioning](#versioning)
170
+ - [License](#license)
171
+ - [Suite Integration](#suite-integration)
172
+ - [Suite Signature](#suite-signature)
173
+ - [Roadmap](#roadmap)
174
+ - [Status Compatibility](#status-compatibility)
175
+ - [Useful Links](#useful-links)
176
+ - [Migration Notes](#migration-notes)
177
+
178
+ ## Tests
179
+
180
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
181
+
182
+ ### Installation
183
+
184
+ First, install the required testing dependencies:
185
+ ```bash
186
+ .venv/bin/python -m pip install pytest pytest-cov
187
+ ```
188
+
189
+ ### Basic Usage
190
+
191
+ Run all tests with coverage:
192
+ ```bash
193
+ .venv/bin/python -m pytest --cov --cov-report=html
194
+ ```
195
+
196
+ ### Common Commands
197
+ ```bash
198
+ # Run tests with coverage for a specific module
199
+ .venv/bin/python -m pytest --cov=your_module
200
+
201
+ # Show which lines are not covered
202
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
203
+
204
+ # Generate an HTML coverage report
205
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
206
+
207
+ # Combine terminal and HTML reports
208
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
209
+
210
+ # Run specific test file with coverage
211
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
212
+ ```
213
+
214
+ ### Viewing HTML Reports
215
+
216
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
217
+
218
+ ### Coverage Threshold
219
+
220
+ To enforce a minimum coverage percentage:
221
+ ```bash
222
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
223
+ ```
224
+
225
+ This will cause the test suite to fail if coverage drops below 80%.
226
+
227
+ ## Integration in the Suite
228
+
229
+ 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.
230
+
231
+ ### Related Packages
232
+
233
+ 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.
234
+
235
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
236
+
237
+ ## Dependencies
238
+
239
+ - attrs: >=23.1.0
240
+ - autoflake:
241
+ - black:
242
+ - cattrs: >=23.1.0
243
+ - flynt:
244
+ - isort:
245
+ - libcst:
246
+ - packaging:
247
+ - pyupgrade:
248
+ - tomli:
249
+ - wexample-api: >=0.0.84
121
250
  - wexample-filestate: >=1.0.0
122
251
 
123
252
  ## Versioning & Compatibility Policy
@@ -183,3 +312,33 @@ See the [project roadmap](https://github.com/wexample/python-filestate_python/is
183
312
  When upgrading between major versions, refer to the migration guides in the documentation.
184
313
 
185
314
  Breaking changes are clearly documented with upgrade paths and examples.
315
+
316
+ ## Known Limitations & Roadmap
317
+
318
+ Current limitations and planned features are tracked in the GitHub issues.
319
+
320
+ See the [project roadmap](https://github.com/wexample/python-filestate_python/issues) for upcoming features and improvements.
321
+
322
+ ## Status & Compatibility
323
+
324
+ **Maturity**: Production-ready
325
+
326
+ **Python Support**: >=3.10
327
+
328
+ **OS Support**: Linux, macOS, Windows
329
+
330
+ **Status**: Actively maintained
331
+
332
+ ## Useful Links
333
+
334
+ - **Homepage**: https://github.com/wexample/python-filestate-python
335
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
336
+ - **Issue Tracker**: https://github.com/wexample/python-filestate-python/issues
337
+ - **Discussions**: https://github.com/wexample/python-filestate-python/discussions
338
+ - **PyPI**: [pypi.org/project/filestate_python](https://pypi.org/project/filestate_python/)
339
+
340
+ ## Migration Notes
341
+
342
+ When upgrading between major versions, refer to the migration guides in the documentation.
343
+
344
+ Breaking changes are clearly documented with upgrade paths and examples.
@@ -0,0 +1,316 @@
1
+ # filestate_python
2
+
3
+ Version: 6.4.0
4
+
5
+ Helpers for Python.
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
+ - autoflake:
85
+ - black:
86
+ - cattrs: >=23.1.0
87
+ - flynt:
88
+ - isort:
89
+ - libcst:
90
+ - packaging:
91
+ - pyupgrade:
92
+ - tomli:
93
+ - wexample-api: >=0.0.84
94
+ - wexample-filestate: >=6.1.0
95
+
96
+ ## Versioning & Compatibility Policy
97
+
98
+ Wexample packages follow **Semantic Versioning** (SemVer):
99
+
100
+ - **MAJOR**: Breaking changes
101
+ - **MINOR**: New features, backward compatible
102
+ - **PATCH**: Bug fixes, backward compatible
103
+
104
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
105
+
106
+ ## License
107
+
108
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
109
+
110
+ Free to use in both personal and commercial projects.
111
+
112
+ ## Integration in the Suite
113
+
114
+ 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.
115
+
116
+ ### Related Packages
117
+
118
+ 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.
119
+
120
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
121
+
122
+ # About us
123
+
124
+ [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.
125
+
126
+ 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.
127
+
128
+ 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.
129
+
130
+ # filestate_python
131
+
132
+ Version: 0.1.1
133
+
134
+ Helpers for Python.
135
+
136
+ ## Table of Contents
137
+
138
+ - [Tests](#tests)
139
+ - [Suite Integration](#suite-integration)
140
+ - [Dependencies](#dependencies)
141
+ - [Versioning](#versioning)
142
+ - [License](#license)
143
+ - [Suite Integration](#suite-integration)
144
+ - [Suite Signature](#suite-signature)
145
+ - [Roadmap](#roadmap)
146
+ - [Status Compatibility](#status-compatibility)
147
+ - [Useful Links](#useful-links)
148
+ - [Migration Notes](#migration-notes)
149
+
150
+ ## Tests
151
+
152
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
153
+
154
+ ### Installation
155
+
156
+ First, install the required testing dependencies:
157
+ ```bash
158
+ .venv/bin/python -m pip install pytest pytest-cov
159
+ ```
160
+
161
+ ### Basic Usage
162
+
163
+ Run all tests with coverage:
164
+ ```bash
165
+ .venv/bin/python -m pytest --cov --cov-report=html
166
+ ```
167
+
168
+ ### Common Commands
169
+ ```bash
170
+ # Run tests with coverage for a specific module
171
+ .venv/bin/python -m pytest --cov=your_module
172
+
173
+ # Show which lines are not covered
174
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
175
+
176
+ # Generate an HTML coverage report
177
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
178
+
179
+ # Combine terminal and HTML reports
180
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
181
+
182
+ # Run specific test file with coverage
183
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
184
+ ```
185
+
186
+ ### Viewing HTML Reports
187
+
188
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
189
+
190
+ ### Coverage Threshold
191
+
192
+ To enforce a minimum coverage percentage:
193
+ ```bash
194
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
195
+ ```
196
+
197
+ This will cause the test suite to fail if coverage drops below 80%.
198
+
199
+ ## Integration in the Suite
200
+
201
+ 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.
202
+
203
+ ### Related Packages
204
+
205
+ 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.
206
+
207
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
208
+
209
+ ## Dependencies
210
+
211
+ - attrs: >=23.1.0
212
+ - autoflake:
213
+ - black:
214
+ - cattrs: >=23.1.0
215
+ - flynt:
216
+ - isort:
217
+ - libcst:
218
+ - packaging:
219
+ - pyupgrade:
220
+ - tomli:
221
+ - wexample-api: >=0.0.84
222
+ - wexample-filestate: >=1.0.0
223
+
224
+ ## Versioning & Compatibility Policy
225
+
226
+ Wexample packages follow **Semantic Versioning** (SemVer):
227
+
228
+ - **MAJOR**: Breaking changes
229
+ - **MINOR**: New features, backward compatible
230
+ - **PATCH**: Bug fixes, backward compatible
231
+
232
+ We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
233
+
234
+ ## License
235
+
236
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
237
+
238
+ Free to use in both personal and commercial projects.
239
+
240
+ ## Integration in the Suite
241
+
242
+ 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.
243
+
244
+ ### Related Packages
245
+
246
+ 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.
247
+
248
+ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
249
+
250
+ # About us
251
+
252
+ [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.
253
+
254
+ 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.
255
+
256
+ 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.
257
+
258
+ ## Known Limitations & Roadmap
259
+
260
+ Current limitations and planned features are tracked in the GitHub issues.
261
+
262
+ See the [project roadmap](https://github.com/wexample/python-filestate_python/issues) for upcoming features and improvements.
263
+
264
+ ## Status & Compatibility
265
+
266
+ **Maturity**: Production-ready
267
+
268
+ **Python Support**: >=3.10
269
+
270
+ **OS Support**: Linux, macOS, Windows
271
+
272
+ **Status**: Actively maintained
273
+
274
+ ## Useful Links
275
+
276
+ - **Homepage**: https://github.com/wexample/python-filestate-python
277
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
278
+ - **Issue Tracker**: https://github.com/wexample/python-filestate-python/issues
279
+ - **Discussions**: https://github.com/wexample/python-filestate-python/discussions
280
+ - **PyPI**: [pypi.org/project/filestate_python](https://pypi.org/project/filestate_python/)
281
+
282
+ ## Migration Notes
283
+
284
+ When upgrading between major versions, refer to the migration guides in the documentation.
285
+
286
+ Breaking changes are clearly documented with upgrade paths and examples.
287
+
288
+ ## Known Limitations & Roadmap
289
+
290
+ Current limitations and planned features are tracked in the GitHub issues.
291
+
292
+ See the [project roadmap](https://github.com/wexample/python-filestate_python/issues) for upcoming features and improvements.
293
+
294
+ ## Status & Compatibility
295
+
296
+ **Maturity**: Production-ready
297
+
298
+ **Python Support**: >=3.10
299
+
300
+ **OS Support**: Linux, macOS, Windows
301
+
302
+ **Status**: Actively maintained
303
+
304
+ ## Useful Links
305
+
306
+ - **Homepage**: https://github.com/wexample/python-filestate-python
307
+ - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
308
+ - **Issue Tracker**: https://github.com/wexample/python-filestate-python/issues
309
+ - **Discussions**: https://github.com/wexample/python-filestate-python/discussions
310
+ - **PyPI**: [pypi.org/project/filestate_python](https://pypi.org/project/filestate_python/)
311
+
312
+ ## Migration Notes
313
+
314
+ When upgrading between major versions, refer to the migration guides in the documentation.
315
+
316
+ 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-filestate-python"
9
- version = "0.1.0"
9
+ version = "6.4.0"
10
10
  description = "Helpers for Python."
11
11
  authors = [
12
12
  { name = "weeger", email = "contact@wexample.com" },
@@ -28,8 +28,8 @@ dependencies = [
28
28
  "packaging",
29
29
  "pyupgrade",
30
30
  "tomli",
31
- "wexample-api==0.0.84",
32
- "wexample-filestate>=1.0.0",
31
+ "wexample-api>=0.0.84",
32
+ "wexample-filestate>=6.1.0",
33
33
  ]
34
34
 
35
35
  [project.readme]
@@ -9,3 +9,6 @@ from wexample_helpers.decorator.base_class import base_class
9
9
  @base_class
10
10
  class AbstractPythonFileContentOption(AbstractFileContentOption):
11
11
  """Base class for Python file content transformation options."""
12
+
13
+ def applicable_on_empty_content_file(self) -> bool:
14
+ return False
@@ -12,9 +12,6 @@ if TYPE_CHECKING:
12
12
 
13
13
  @base_class
14
14
  class AddFutureAnnotationsOption(AbstractPythonFileContentOption):
15
- def applicable_on_empty_content_file(self) -> bool:
16
- return False
17
-
18
15
  def get_description(self) -> str:
19
16
  return "Add `from __future__ import annotations` at the proper location (after shebang/encoding and module docstring)."
20
17
 
@@ -1,157 +0,0 @@
1
- # filestate_python
2
-
3
- Version: 0.1.0
4
-
5
- Helpers for Python.
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
- - autoflake:
84
- - black:
85
- - cattrs: >=23.1.0
86
- - flynt:
87
- - isort:
88
- - libcst:
89
- - packaging:
90
- - pyupgrade:
91
- - tomli:
92
- - wexample-api: ==0.0.84
93
- - wexample-filestate: >=1.0.0
94
-
95
- ## Versioning & Compatibility Policy
96
-
97
- Wexample packages follow **Semantic Versioning** (SemVer):
98
-
99
- - **MAJOR**: Breaking changes
100
- - **MINOR**: New features, backward compatible
101
- - **PATCH**: Bug fixes, backward compatible
102
-
103
- We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
104
-
105
- ## License
106
-
107
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
108
-
109
- Free to use in both personal and commercial projects.
110
-
111
- ## Integration in the Suite
112
-
113
- 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.
114
-
115
- ### Related Packages
116
-
117
- 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.
118
-
119
- Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
120
-
121
- # About us
122
-
123
- [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.
124
-
125
- 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.
126
-
127
- 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.
128
-
129
- ## Known Limitations & Roadmap
130
-
131
- Current limitations and planned features are tracked in the GitHub issues.
132
-
133
- See the [project roadmap](https://github.com/wexample/python-filestate_python/issues) for upcoming features and improvements.
134
-
135
- ## Status & Compatibility
136
-
137
- **Maturity**: Production-ready
138
-
139
- **Python Support**: >=3.10
140
-
141
- **OS Support**: Linux, macOS, Windows
142
-
143
- **Status**: Actively maintained
144
-
145
- ## Useful Links
146
-
147
- - **Homepage**: https://github.com/wexample/python-filestate-python
148
- - **Documentation**: [docs.wexample.com](https://docs.wexample.com)
149
- - **Issue Tracker**: https://github.com/wexample/python-filestate-python/issues
150
- - **Discussions**: https://github.com/wexample/python-filestate-python/discussions
151
- - **PyPI**: [pypi.org/project/filestate_python](https://pypi.org/project/filestate_python/)
152
-
153
- ## Migration Notes
154
-
155
- When upgrading between major versions, refer to the migration guides in the documentation.
156
-
157
- Breaking changes are clearly documented with upgrade paths and examples.