wexample-form 0.1.4__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.
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: wexample-form
|
|
3
|
+
Version: 0.1.4
|
|
4
|
+
Summary: Declarative forms (model + validators + renderers) built on wexample-prompt for the CLI side.
|
|
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-form
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Requires-Dist: attrs>=23.1.0
|
|
13
|
+
Requires-Dist: cattrs>=23.1.0
|
|
14
|
+
Requires-Dist: wexample-helpers>=13.1.0
|
|
15
|
+
Requires-Dist: wexample-prompt>=12.0.0
|
|
16
|
+
Provides-Extra: dev
|
|
17
|
+
Requires-Dist: pytest; extra == "dev"
|
|
18
|
+
Requires-Dist: pytest-benchmark>=5.2.3; extra == "dev"
|
|
19
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# form
|
|
23
|
+
|
|
24
|
+
Version: 0.1.4
|
|
25
|
+
|
|
26
|
+
Declarative forms (model + validators + renderers) built on wexample-prompt for the CLI side.
|
|
27
|
+
|
|
28
|
+
## Table of Contents
|
|
29
|
+
|
|
30
|
+
- [Tests](#tests)
|
|
31
|
+
- [Suite Integration](#suite-integration)
|
|
32
|
+
- [Dependencies](#dependencies)
|
|
33
|
+
- [Versioning](#versioning)
|
|
34
|
+
- [License](#license)
|
|
35
|
+
- [Suite Integration](#suite-integration)
|
|
36
|
+
- [Suite Signature](#suite-signature)
|
|
37
|
+
- [Roadmap](#roadmap)
|
|
38
|
+
- [Status Compatibility](#status-compatibility)
|
|
39
|
+
- [Useful Links](#useful-links)
|
|
40
|
+
- [Migration Notes](#migration-notes)
|
|
41
|
+
|
|
42
|
+
## Tests
|
|
43
|
+
|
|
44
|
+
Run the test suite:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
pytest tests/
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
With coverage:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pytest --cov=form tests/
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Integration in the Suite
|
|
57
|
+
|
|
58
|
+
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.
|
|
59
|
+
|
|
60
|
+
### Related Packages
|
|
61
|
+
|
|
62
|
+
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.
|
|
63
|
+
|
|
64
|
+
Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
|
|
65
|
+
|
|
66
|
+
## Dependencies
|
|
67
|
+
|
|
68
|
+
- attrs: >=23.1.0
|
|
69
|
+
- cattrs: >=23.1.0
|
|
70
|
+
- wexample-helpers: >=13.1.0
|
|
71
|
+
- wexample-prompt: >=12.0.0
|
|
72
|
+
|
|
73
|
+
## Versioning & Compatibility Policy
|
|
74
|
+
|
|
75
|
+
Wexample packages follow **Semantic Versioning** (SemVer):
|
|
76
|
+
|
|
77
|
+
- **MAJOR**: Breaking changes
|
|
78
|
+
- **MINOR**: New features, backward compatible
|
|
79
|
+
- **PATCH**: Bug fixes, backward compatible
|
|
80
|
+
|
|
81
|
+
We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
86
|
+
|
|
87
|
+
Free to use in both personal and commercial projects.
|
|
88
|
+
|
|
89
|
+
## Integration in the Suite
|
|
90
|
+
|
|
91
|
+
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.
|
|
92
|
+
|
|
93
|
+
### Related Packages
|
|
94
|
+
|
|
95
|
+
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.
|
|
96
|
+
|
|
97
|
+
Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
|
|
98
|
+
|
|
99
|
+
# About us
|
|
100
|
+
|
|
101
|
+
[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.
|
|
102
|
+
|
|
103
|
+
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.
|
|
104
|
+
|
|
105
|
+
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.
|
|
106
|
+
|
|
107
|
+
## Known Limitations & Roadmap
|
|
108
|
+
|
|
109
|
+
Current limitations and planned features are tracked in the GitHub issues.
|
|
110
|
+
|
|
111
|
+
See the [project roadmap](https://github.com/wexample/python-form/issues) for upcoming features and improvements.
|
|
112
|
+
|
|
113
|
+
## Status & Compatibility
|
|
114
|
+
|
|
115
|
+
**Maturity**: Production-ready
|
|
116
|
+
|
|
117
|
+
**Python Support**: >=3.10
|
|
118
|
+
|
|
119
|
+
**OS Support**: Linux, macOS, Windows
|
|
120
|
+
|
|
121
|
+
**Status**: Actively maintained
|
|
122
|
+
|
|
123
|
+
## Useful Links
|
|
124
|
+
|
|
125
|
+
- **Homepage**: https://github.com/wexample/python-form
|
|
126
|
+
- **Documentation**: [docs.wexample.com](https://docs.wexample.com)
|
|
127
|
+
- **Issue Tracker**: https://github.com/wexample/python-form/issues
|
|
128
|
+
- **Discussions**: https://github.com/wexample/python-form/discussions
|
|
129
|
+
- **PyPI**: [pypi.org/project/form](https://pypi.org/project/form/)
|
|
130
|
+
|
|
131
|
+
## Migration Notes
|
|
132
|
+
|
|
133
|
+
When upgrading between major versions, refer to the migration guides in the documentation.
|
|
134
|
+
|
|
135
|
+
Breaking changes are clearly documented with upgrade paths and examples.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# form
|
|
2
|
+
|
|
3
|
+
Version: 0.1.4
|
|
4
|
+
|
|
5
|
+
Declarative forms (model + validators + renderers) built on wexample-prompt for the CLI side.
|
|
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
|
+
Run the test suite:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pytest tests/
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
With coverage:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pytest --cov=form tests/
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Integration in the Suite
|
|
36
|
+
|
|
37
|
+
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.
|
|
38
|
+
|
|
39
|
+
### Related Packages
|
|
40
|
+
|
|
41
|
+
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.
|
|
42
|
+
|
|
43
|
+
Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
|
|
44
|
+
|
|
45
|
+
## Dependencies
|
|
46
|
+
|
|
47
|
+
- attrs: >=23.1.0
|
|
48
|
+
- cattrs: >=23.1.0
|
|
49
|
+
- wexample-helpers: >=13.1.0
|
|
50
|
+
- wexample-prompt: >=12.0.0
|
|
51
|
+
|
|
52
|
+
## Versioning & Compatibility Policy
|
|
53
|
+
|
|
54
|
+
Wexample packages follow **Semantic Versioning** (SemVer):
|
|
55
|
+
|
|
56
|
+
- **MAJOR**: Breaking changes
|
|
57
|
+
- **MINOR**: New features, backward compatible
|
|
58
|
+
- **PATCH**: Bug fixes, backward compatible
|
|
59
|
+
|
|
60
|
+
We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
|
|
64
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
65
|
+
|
|
66
|
+
Free to use in both personal and commercial projects.
|
|
67
|
+
|
|
68
|
+
## Integration in the Suite
|
|
69
|
+
|
|
70
|
+
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.
|
|
71
|
+
|
|
72
|
+
### Related Packages
|
|
73
|
+
|
|
74
|
+
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.
|
|
75
|
+
|
|
76
|
+
Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
|
|
77
|
+
|
|
78
|
+
# About us
|
|
79
|
+
|
|
80
|
+
[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.
|
|
81
|
+
|
|
82
|
+
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.
|
|
83
|
+
|
|
84
|
+
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.
|
|
85
|
+
|
|
86
|
+
## Known Limitations & Roadmap
|
|
87
|
+
|
|
88
|
+
Current limitations and planned features are tracked in the GitHub issues.
|
|
89
|
+
|
|
90
|
+
See the [project roadmap](https://github.com/wexample/python-form/issues) for upcoming features and improvements.
|
|
91
|
+
|
|
92
|
+
## Status & Compatibility
|
|
93
|
+
|
|
94
|
+
**Maturity**: Production-ready
|
|
95
|
+
|
|
96
|
+
**Python Support**: >=3.10
|
|
97
|
+
|
|
98
|
+
**OS Support**: Linux, macOS, Windows
|
|
99
|
+
|
|
100
|
+
**Status**: Actively maintained
|
|
101
|
+
|
|
102
|
+
## Useful Links
|
|
103
|
+
|
|
104
|
+
- **Homepage**: https://github.com/wexample/python-form
|
|
105
|
+
- **Documentation**: [docs.wexample.com](https://docs.wexample.com)
|
|
106
|
+
- **Issue Tracker**: https://github.com/wexample/python-form/issues
|
|
107
|
+
- **Discussions**: https://github.com/wexample/python-form/discussions
|
|
108
|
+
- **PyPI**: [pypi.org/project/form](https://pypi.org/project/form/)
|
|
109
|
+
|
|
110
|
+
## Migration Notes
|
|
111
|
+
|
|
112
|
+
When upgrading between major versions, refer to the migration guides in the documentation.
|
|
113
|
+
|
|
114
|
+
Breaking changes are clearly documented with upgrade paths and examples.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"pdm-backend",
|
|
4
|
+
]
|
|
5
|
+
build-backend = "pdm.backend"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "wexample-form"
|
|
9
|
+
version = "0.1.4"
|
|
10
|
+
description = "Declarative forms (model + validators + renderers) built on wexample-prompt for the CLI side."
|
|
11
|
+
authors = [
|
|
12
|
+
{ name = "weeger", email = "contact@wexample.com" },
|
|
13
|
+
]
|
|
14
|
+
requires-python = ">=3.10"
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"attrs>=23.1.0",
|
|
22
|
+
"cattrs>=23.1.0",
|
|
23
|
+
"wexample-helpers>=13.1.0",
|
|
24
|
+
"wexample-prompt>=12.0.0",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.readme]
|
|
28
|
+
file = "README.md"
|
|
29
|
+
content-type = "text/markdown"
|
|
30
|
+
|
|
31
|
+
[project.license]
|
|
32
|
+
text = "MIT"
|
|
33
|
+
|
|
34
|
+
[project.urls]
|
|
35
|
+
homepage = "https://github.com/wexample/python-form"
|
|
36
|
+
|
|
37
|
+
[project.optional-dependencies]
|
|
38
|
+
dev = [
|
|
39
|
+
"pytest",
|
|
40
|
+
"pytest-benchmark>=5.2.3",
|
|
41
|
+
"pytest-cov",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[tool.setuptools.packages.find]
|
|
45
|
+
where = [
|
|
46
|
+
".",
|
|
47
|
+
]
|
|
48
|
+
include = [
|
|
49
|
+
"*",
|
|
50
|
+
]
|
|
51
|
+
exclude = [
|
|
52
|
+
"wexample_form.testing*",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[tool.setuptools.package-dir]
|
|
56
|
+
"" = "."
|
|
57
|
+
|
|
58
|
+
[tool.pdm]
|
|
59
|
+
distribution = true
|
|
60
|
+
|
|
61
|
+
[tool.pdm.build]
|
|
62
|
+
package-dir = "src"
|
|
63
|
+
packages = [
|
|
64
|
+
{ include = "wexample_form", from = "src" },
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
[tool.pytest.ini_options]
|
|
68
|
+
testpaths = [
|
|
69
|
+
"tests",
|
|
70
|
+
]
|
|
71
|
+
addopts = "-p wexample_helpers.testing.plugin.runtest_makereport"
|
|
72
|
+
pythonpath = [
|
|
73
|
+
"src",
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
[tool.coverage.run]
|
|
77
|
+
source = [
|
|
78
|
+
"wexample_form",
|
|
79
|
+
]
|
|
80
|
+
omit = [
|
|
81
|
+
"*/tests/*",
|
|
82
|
+
"*/.venv/*",
|
|
83
|
+
"*/venv/*",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[tool.coverage.report]
|
|
87
|
+
exclude_lines = [
|
|
88
|
+
"pragma: no cover",
|
|
89
|
+
"def __repr__",
|
|
90
|
+
"raise AssertionError",
|
|
91
|
+
"raise NotImplementedError",
|
|
92
|
+
"if __name__ == .__main__.:",
|
|
93
|
+
"if TYPE_CHECKING:",
|
|
94
|
+
"@abstractmethod",
|
|
95
|
+
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|