wrknv 0.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.
- wrknv-0.4.0/LICENSE +201 -0
- wrknv-0.4.0/PKG-INFO +236 -0
- wrknv-0.4.0/README.md +202 -0
- wrknv-0.4.0/VERSION +1 -0
- wrknv-0.4.0/pyproject.toml +298 -0
- wrknv-0.4.0/setup.cfg +4 -0
- wrknv-0.4.0/src/wrknv/__init__.py +38 -0
- wrknv-0.4.0/src/wrknv/cli/__init__.py +19 -0
- wrknv-0.4.0/src/wrknv/cli/__main__.py +11 -0
- wrknv-0.4.0/src/wrknv/cli/commands/__init__.py +20 -0
- wrknv-0.4.0/src/wrknv/cli/commands/check.py +520 -0
- wrknv-0.4.0/src/wrknv/cli/commands/config.py +238 -0
- wrknv-0.4.0/src/wrknv/cli/commands/container.py +356 -0
- wrknv-0.4.0/src/wrknv/cli/commands/doctor.py +327 -0
- wrknv-0.4.0/src/wrknv/cli/commands/gitignore.py +275 -0
- wrknv-0.4.0/src/wrknv/cli/commands/lock.py +167 -0
- wrknv-0.4.0/src/wrknv/cli/commands/memray.py +48 -0
- wrknv-0.4.0/src/wrknv/cli/commands/profile.py +222 -0
- wrknv-0.4.0/src/wrknv/cli/commands/run.py +199 -0
- wrknv-0.4.0/src/wrknv/cli/commands/secrets.py +140 -0
- wrknv-0.4.0/src/wrknv/cli/commands/security.py +303 -0
- wrknv-0.4.0/src/wrknv/cli/commands/setup.py +172 -0
- wrknv-0.4.0/src/wrknv/cli/commands/terraform.py +147 -0
- wrknv-0.4.0/src/wrknv/cli/commands/tools.py +194 -0
- wrknv-0.4.0/src/wrknv/cli/commands/workspace.py +350 -0
- wrknv-0.4.0/src/wrknv/cli/hub_cli.py +288 -0
- wrknv-0.4.0/src/wrknv/cli/nested_commands.py +403 -0
- wrknv-0.4.0/src/wrknv/cli/visual.py +126 -0
- wrknv-0.4.0/src/wrknv/config/__init__.py +32 -0
- wrknv-0.4.0/src/wrknv/config/core.py +374 -0
- wrknv-0.4.0/src/wrknv/config/defaults.py +147 -0
- wrknv-0.4.0/src/wrknv/config/display.py +83 -0
- wrknv-0.4.0/src/wrknv/config/persistence.py +170 -0
- wrknv-0.4.0/src/wrknv/config/validation.py +280 -0
- wrknv-0.4.0/src/wrknv/container/__init__.py +38 -0
- wrknv-0.4.0/src/wrknv/container/commands.py +282 -0
- wrknv-0.4.0/src/wrknv/container/core.py +183 -0
- wrknv-0.4.0/src/wrknv/container/errors.py +122 -0
- wrknv-0.4.0/src/wrknv/container/manager.py +403 -0
- wrknv-0.4.0/src/wrknv/container/metadata.py +116 -0
- wrknv-0.4.0/src/wrknv/container/operations/__init__.py +23 -0
- wrknv-0.4.0/src/wrknv/container/operations/build.py +283 -0
- wrknv-0.4.0/src/wrknv/container/operations/exec.py +250 -0
- wrknv-0.4.0/src/wrknv/container/operations/lifecycle.py +243 -0
- wrknv-0.4.0/src/wrknv/container/operations/logs.py +194 -0
- wrknv-0.4.0/src/wrknv/container/operations/volumes.py +329 -0
- wrknv-0.4.0/src/wrknv/container/runtime/__init__.py +17 -0
- wrknv-0.4.0/src/wrknv/container/runtime/base.py +212 -0
- wrknv-0.4.0/src/wrknv/container/runtime/docker.py +321 -0
- wrknv-0.4.0/src/wrknv/container/shell_commands.py +358 -0
- wrknv-0.4.0/src/wrknv/container/storage.py +212 -0
- wrknv-0.4.0/src/wrknv/data/__init__.py +14 -0
- wrknv-0.4.0/src/wrknv/errors.py +439 -0
- wrknv-0.4.0/src/wrknv/gitignore/__init__.py +24 -0
- wrknv-0.4.0/src/wrknv/gitignore/builder.py +257 -0
- wrknv-0.4.0/src/wrknv/gitignore/detector.py +300 -0
- wrknv-0.4.0/src/wrknv/gitignore/manager.py +316 -0
- wrknv-0.4.0/src/wrknv/gitignore/templates.py +264 -0
- wrknv-0.4.0/src/wrknv/lockfile.py +222 -0
- wrknv-0.4.0/src/wrknv/managers/__init__.py +32 -0
- wrknv-0.4.0/src/wrknv/managers/bao.py +168 -0
- wrknv-0.4.0/src/wrknv/managers/base.py +377 -0
- wrknv-0.4.0/src/wrknv/managers/factory.py +85 -0
- wrknv-0.4.0/src/wrknv/managers/github/__init__.py +22 -0
- wrknv-0.4.0/src/wrknv/managers/github/client.py +300 -0
- wrknv-0.4.0/src/wrknv/managers/github/types.py +103 -0
- wrknv-0.4.0/src/wrknv/managers/go.py +249 -0
- wrknv-0.4.0/src/wrknv/managers/subrosa/__init__.py +26 -0
- wrknv-0.4.0/src/wrknv/managers/subrosa/bao.py +84 -0
- wrknv-0.4.0/src/wrknv/managers/subrosa/base.py +301 -0
- wrknv-0.4.0/src/wrknv/managers/subrosa/ibm.py +137 -0
- wrknv-0.4.0/src/wrknv/managers/tf/__init__.py +22 -0
- wrknv-0.4.0/src/wrknv/managers/tf/base.py +412 -0
- wrknv-0.4.0/src/wrknv/managers/tf/bin_ops.py +59 -0
- wrknv-0.4.0/src/wrknv/managers/tf/ibm.py +184 -0
- wrknv-0.4.0/src/wrknv/managers/tf/metadata.py +137 -0
- wrknv-0.4.0/src/wrknv/managers/tf/tofu.py +168 -0
- wrknv-0.4.0/src/wrknv/managers/tf/utils.py +51 -0
- wrknv-0.4.0/src/wrknv/managers/uv.py +219 -0
- wrknv-0.4.0/src/wrknv/memray/__init__.py +38 -0
- wrknv-0.4.0/src/wrknv/memray/baselines.py +149 -0
- wrknv-0.4.0/src/wrknv/memray/fixtures.py +57 -0
- wrknv-0.4.0/src/wrknv/memray/runner.py +121 -0
- wrknv-0.4.0/src/wrknv/memray/scaffold.py +211 -0
- wrknv-0.4.0/src/wrknv/package/__init__.py +33 -0
- wrknv-0.4.0/src/wrknv/package/commands.py +228 -0
- wrknv-0.4.0/src/wrknv/package/manager.py +72 -0
- wrknv-0.4.0/src/wrknv/py.typed +0 -0
- wrknv-0.4.0/src/wrknv/security/__init__.py +21 -0
- wrknv-0.4.0/src/wrknv/security/allowlist.py +247 -0
- wrknv-0.4.0/src/wrknv/security/config.py +128 -0
- wrknv-0.4.0/src/wrknv/tasks/__init__.py +24 -0
- wrknv-0.4.0/src/wrknv/tasks/environment.py +318 -0
- wrknv-0.4.0/src/wrknv/tasks/executor.py +366 -0
- wrknv-0.4.0/src/wrknv/tasks/registry.py +486 -0
- wrknv-0.4.0/src/wrknv/tasks/schema.py +193 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/base.ps1.j2 +40 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/cleanup.ps1.j2 +16 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/dependency_installation.ps1.j2 +42 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/environment_config.ps1.j2 +21 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/final_summary.ps1.j2 +20 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/platform_detection.ps1.j2 +22 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/print_helpers.ps1.j2 +20 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/sibling_packages.ps1.j2 +131 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/tool_verification.ps1.j2 +33 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/uv_installation.ps1.j2 +30 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/validation.ps1.j2 +13 -0
- wrknv-0.4.0/src/wrknv/templates/env/pwsh/venv_setup.ps1.j2 +42 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/base.sh.j2 +49 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/cleanup.sh.j2 +16 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/dependency_installation.sh.j2 +52 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/environment_config.sh.j2 +23 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/final_summary.sh.j2 +18 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/platform_detection.sh.j2 +23 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/print_helpers.sh.j2 +15 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/python_version_check.sh.j2 +14 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/sibling_packages.sh.j2 +244 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/spinner.sh.j2 +14 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/tool_verification.sh.j2 +32 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/uv_installation.sh.j2 +30 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/validation.sh.j2 +13 -0
- wrknv-0.4.0/src/wrknv/templates/env/sh/venv_setup.sh.j2 +28 -0
- wrknv-0.4.0/src/wrknv/testing/__init__.py +12 -0
- wrknv-0.4.0/src/wrknv/testing/helpers.py +244 -0
- wrknv-0.4.0/src/wrknv/utils/__init__.py +14 -0
- wrknv-0.4.0/src/wrknv/utils/python_version.py +153 -0
- wrknv-0.4.0/src/wrknv/utils/version_resolver.py +180 -0
- wrknv-0.4.0/src/wrknv/wenv/__init__.py +24 -0
- wrknv-0.4.0/src/wrknv/wenv/bin_manager.py +111 -0
- wrknv-0.4.0/src/wrknv/wenv/completions.py +295 -0
- wrknv-0.4.0/src/wrknv/wenv/doctor.py +442 -0
- wrknv-0.4.0/src/wrknv/wenv/env_generator.py +240 -0
- wrknv-0.4.0/src/wrknv/wenv/exceptions.py +184 -0
- wrknv-0.4.0/src/wrknv/wenv/operations/__init__.py +29 -0
- wrknv-0.4.0/src/wrknv/wenv/operations/download.py +277 -0
- wrknv-0.4.0/src/wrknv/wenv/operations/install.py +187 -0
- wrknv-0.4.0/src/wrknv/wenv/operations/platform.py +193 -0
- wrknv-0.4.0/src/wrknv/wenv/operations/verify.py +307 -0
- wrknv-0.4.0/src/wrknv/wenv/resilience.py +73 -0
- wrknv-0.4.0/src/wrknv/wenv/schema.py +451 -0
- wrknv-0.4.0/src/wrknv/wenv/workenv.py +169 -0
- wrknv-0.4.0/src/wrknv/workspace/__init__.py +28 -0
- wrknv-0.4.0/src/wrknv/workspace/discovery.py +242 -0
- wrknv-0.4.0/src/wrknv/workspace/manager.py +286 -0
- wrknv-0.4.0/src/wrknv/workspace/orchestrator.py +390 -0
- wrknv-0.4.0/src/wrknv/workspace/schema.py +179 -0
- wrknv-0.4.0/src/wrknv/workspace/sync.py +243 -0
- wrknv-0.4.0/src/wrknv.egg-info/PKG-INFO +236 -0
- wrknv-0.4.0/src/wrknv.egg-info/SOURCES.txt +155 -0
- wrknv-0.4.0/src/wrknv.egg-info/dependency_links.txt +1 -0
- wrknv-0.4.0/src/wrknv.egg-info/entry_points.txt +3 -0
- wrknv-0.4.0/src/wrknv.egg-info/requires.txt +9 -0
- wrknv-0.4.0/src/wrknv.egg-info/top_level.txt +1 -0
- wrknv-0.4.0/tests/test_data.py +18 -0
- wrknv-0.4.0/tests/test_errors.py +499 -0
- wrknv-0.4.0/tests/test_lockfile.py +468 -0
- wrknv-0.4.0/tests/test_lockfile_extended.py +109 -0
wrknv-0.4.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 provide.io llc
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
wrknv-0.4.0/PKG-INFO
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: wrknv
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: wrknv - Task automation and development environment tooling
|
|
5
|
+
Author-email: Tim Perkins <code@tim.life>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://foundry.provide.io/wrknv/
|
|
8
|
+
Project-URL: Documentation, https://foundry.provide.io/wrknv/
|
|
9
|
+
Project-URL: Repository, https://github.com/provide-io/wrknv
|
|
10
|
+
Project-URL: Issues, https://github.com/provide-io/wrknv/issues
|
|
11
|
+
Keywords: automation,tasks,cli,developer-tools,environment
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
20
|
+
Classifier: Topic :: System :: Installation/Setup
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
Requires-Dist: click>=8.3.1
|
|
25
|
+
Requires-Dist: packaging>=24.0
|
|
26
|
+
Requires-Dist: pyyaml>=6.0
|
|
27
|
+
Requires-Dist: semver>=3.0.0
|
|
28
|
+
Requires-Dist: rich>=14.0.0
|
|
29
|
+
Requires-Dist: jinja2>=3.0.0
|
|
30
|
+
Requires-Dist: attrs>=25.4.0
|
|
31
|
+
Requires-Dist: cattrs>=24.1.3
|
|
32
|
+
Requires-Dist: provide-foundation[all]>=0.4.0
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
|
|
35
|
+
# 🧰🌍 Wrknv
|
|
36
|
+
|
|
37
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
38
|
+
[](https://www.python.org/downloads/)
|
|
39
|
+
[](https://github.com/astral-sh/uv)
|
|
40
|
+
[](https://github.com/astral-sh/ruff)
|
|
41
|
+
[](https://github.com/provide-io/wrknv/actions)
|
|
42
|
+
|
|
43
|
+
**Work Environment** - The foundation for the provide.io ecosystem, generating standardized development environments across all projects.
|
|
44
|
+
|
|
45
|
+
## ✨ Key Features
|
|
46
|
+
|
|
47
|
+
- 🚀 **Task Runner (`we`)** - Intuitive task execution with automatic command detection, nested task organization, and smart resolution
|
|
48
|
+
- 📜 **Environment Script Generation** - Creates standardized `env.sh` and `env.ps1` scripts from templates
|
|
49
|
+
- 🔧 **Tool Version Management** - Pin versions of Terraform, OpenTofu, Go, and `uv`
|
|
50
|
+
- 🔗 **Sibling Package Integration** - Automatically discover and install local, editable dependencies
|
|
51
|
+
- 🐍 **Python Version Safety** - Detects `pyproject.toml` Python requirements and manages virtual environments
|
|
52
|
+
- 🐳 **Containerized Development** - (Experimental) Manage Docker-based development environments
|
|
53
|
+
- 📦 **Provider Packaging** - (Experimental) Interface for building `flavor`-based provider packages
|
|
54
|
+
|
|
55
|
+
## Quick Start
|
|
56
|
+
|
|
57
|
+
> **Note**: wrknv is in pre-release (v0.x.x). APIs and features may change before 1.0 release.
|
|
58
|
+
|
|
59
|
+
- Jump to [Quick Start: Task Runner](#quick-start-task-runner) or [Quick Start: Environment Management](#quick-start-environment-management).
|
|
60
|
+
- Full documentation is in [docs/index.md](https://github.com/provide-io/wrknv/blob/main/docs/index.md).
|
|
61
|
+
|
|
62
|
+
## Documentation
|
|
63
|
+
- [Documentation index](https://github.com/provide-io/wrknv/blob/main/docs/index.md)
|
|
64
|
+
- [Configuration reference](https://github.com/provide-io/wrknv/blob/main/docs/reference/configuration.md)
|
|
65
|
+
- [Examples](https://github.com/provide-io/wrknv/tree/main/examples)
|
|
66
|
+
|
|
67
|
+
## Development
|
|
68
|
+
|
|
69
|
+
### Quick Start
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Set up environment
|
|
73
|
+
uv sync
|
|
74
|
+
|
|
75
|
+
# Run common tasks
|
|
76
|
+
we test # Run tests
|
|
77
|
+
we lint # Check code
|
|
78
|
+
we format # Format code
|
|
79
|
+
we tasks # See all available commands
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
See [CLAUDE.md](https://github.com/provide-io/wrknv/blob/main/CLAUDE.md) for detailed development instructions and architecture information.
|
|
83
|
+
|
|
84
|
+
## Contributing
|
|
85
|
+
See [CONTRIBUTING.md](https://github.com/provide-io/wrknv/blob/main/CONTRIBUTING.md) for contribution guidelines.
|
|
86
|
+
|
|
87
|
+
## License
|
|
88
|
+
|
|
89
|
+
MIT License - See LICENSE file for details.
|
|
90
|
+
|
|
91
|
+
## Requirements
|
|
92
|
+
|
|
93
|
+
- **Python 3.11 or later** - wrknv uses modern Python features including native type hints with pipe operators (`str | None`), native TOML support via `tomllib`, and other Python 3.11+ improvements.
|
|
94
|
+
- Git (for version control operations)
|
|
95
|
+
- curl or wget (for downloading tools)
|
|
96
|
+
|
|
97
|
+
## Overview
|
|
98
|
+
|
|
99
|
+
`wrknv` is THE central tool that generates all `env.sh` and `env.ps1` scripts for the provide.io ecosystem. Instead of maintaining hundreds of lines of duplicated shell scripts, each project uses wrknv to generate consistent, maintainable environment setup scripts.
|
|
100
|
+
|
|
101
|
+
## Quick Start: Task Runner
|
|
102
|
+
|
|
103
|
+
The `we` command provides an intuitive way to run development tasks:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# Install wrknv
|
|
107
|
+
uv tool install wrknv
|
|
108
|
+
|
|
109
|
+
# Define tasks in wrknv.toml
|
|
110
|
+
cat > wrknv.toml << EOF
|
|
111
|
+
[tasks]
|
|
112
|
+
test = "pytest tests/"
|
|
113
|
+
lint = "ruff check src/"
|
|
114
|
+
|
|
115
|
+
[tasks.test]
|
|
116
|
+
unit = "pytest tests/unit/"
|
|
117
|
+
integration = "pytest tests/integration/"
|
|
118
|
+
EOF
|
|
119
|
+
|
|
120
|
+
# Run tasks directly - no 'run' subcommand needed!
|
|
121
|
+
we test # Run all tests
|
|
122
|
+
we test unit # Run unit tests
|
|
123
|
+
we lint --fix # Run lint with --fix flag
|
|
124
|
+
we tasks # List all available tasks
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**Key Features:**
|
|
128
|
+
- ✅ **Auto-detection** - Just `we test`, not `we run test`
|
|
129
|
+
- ✅ **Nested tasks** - Organize with namespaces like `test.unit`, `docs.build`
|
|
130
|
+
- ✅ **Smart resolution** - Hierarchical fallback finds the right task
|
|
131
|
+
- ✅ **Arguments** - Pass flags directly: `we test --verbose`
|
|
132
|
+
- ✅ **Hierarchical display** - Beautiful tree view of tasks
|
|
133
|
+
|
|
134
|
+
See [Task System Documentation](https://github.com/provide-io/wrknv/blob/main/docs/features/task-system.md) for full details.
|
|
135
|
+
|
|
136
|
+
## Quick Start: Environment Management
|
|
137
|
+
|
|
138
|
+
1. **Install wrknv**:
|
|
139
|
+
```bash
|
|
140
|
+
uv tool install wrknv
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
2. **Create a `wrknv.toml` file**:
|
|
144
|
+
|
|
145
|
+
```toml
|
|
146
|
+
# wrknv.toml
|
|
147
|
+
|
|
148
|
+
[project]
|
|
149
|
+
name = "my-project"
|
|
150
|
+
|
|
151
|
+
[tools]
|
|
152
|
+
uv = "latest"
|
|
153
|
+
tofu = "1.7.0"
|
|
154
|
+
go = "1.22.1"
|
|
155
|
+
|
|
156
|
+
[siblings]
|
|
157
|
+
patterns = ["pyvider-*", "tofusoup", "garnish"]
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
3. **Generate Environment Scripts**:
|
|
161
|
+
```bash
|
|
162
|
+
wrknv generate
|
|
163
|
+
```
|
|
164
|
+
This creates `env.sh` and `env.ps1` in your project root.
|
|
165
|
+
|
|
166
|
+
4. **Activate Your Environment**:
|
|
167
|
+
```bash
|
|
168
|
+
uv sync
|
|
169
|
+
```
|
|
170
|
+
Your shell is now configured with the specified tool versions and all Python dependencies installed in `./workenv/`.
|
|
171
|
+
|
|
172
|
+
## Core Commands
|
|
173
|
+
|
|
174
|
+
- `wrknv init`: Initialize a new wrknv.toml interactively
|
|
175
|
+
- `wrknv generate`: Generate env.sh and env.ps1 scripts
|
|
176
|
+
- `wrknv status`: Show the status and versions of all managed tools
|
|
177
|
+
- `wrknv setup`: Complete setup (init + generate + activate instructions)
|
|
178
|
+
- `wrknv test`: Run project tests
|
|
179
|
+
- `wrknv build`: Build project artifacts
|
|
180
|
+
|
|
181
|
+
## Ecosystem Commands
|
|
182
|
+
|
|
183
|
+
- `wrknv ecosystem setup`: Set up all provide.io projects
|
|
184
|
+
- `wrknv ecosystem status`: Check health of all projects
|
|
185
|
+
- `wrknv ecosystem test`: Run tests for all projects
|
|
186
|
+
- `wrknv ecosystem build`: Build all project artifacts
|
|
187
|
+
|
|
188
|
+
## Project Configuration
|
|
189
|
+
|
|
190
|
+
Each project needs a simple `wrknv.toml`:
|
|
191
|
+
|
|
192
|
+
```toml
|
|
193
|
+
[project]
|
|
194
|
+
name = "flavorpack"
|
|
195
|
+
description = "Cross-language packaging system"
|
|
196
|
+
|
|
197
|
+
[tools]
|
|
198
|
+
uv = "latest"
|
|
199
|
+
go = "1.22.1"
|
|
200
|
+
rust = "1.75"
|
|
201
|
+
|
|
202
|
+
[siblings]
|
|
203
|
+
patterns = [
|
|
204
|
+
"pyvider-*", # All pyvider packages
|
|
205
|
+
"tofusoup", # Testing suite
|
|
206
|
+
"plating", # Documentation generator
|
|
207
|
+
]
|
|
208
|
+
|
|
209
|
+
[settings]
|
|
210
|
+
python_version = ">=3.11"
|
|
211
|
+
verify_checksums = true
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
## Generated Files
|
|
215
|
+
|
|
216
|
+
wrknv generates:
|
|
217
|
+
- `env.sh` - Bash environment setup script
|
|
218
|
+
- `env.ps1` - PowerShell environment setup script
|
|
219
|
+
- `Makefile` - Standard development commands (optional)
|
|
220
|
+
- `.vscode/` - VS Code settings and launch configs (optional)
|
|
221
|
+
|
|
222
|
+
## Why wrknv?
|
|
223
|
+
|
|
224
|
+
Before wrknv, every project had 300-400 lines of hand-written, duplicated `env.sh` scripts. This led to:
|
|
225
|
+
- Inconsistent setup experiences
|
|
226
|
+
- Maintenance burden
|
|
227
|
+
- Copy-paste errors
|
|
228
|
+
- Drift between projects
|
|
229
|
+
|
|
230
|
+
With wrknv:
|
|
231
|
+
- Single source of truth for environment setup
|
|
232
|
+
- Consistent experience across all projects
|
|
233
|
+
- Easy updates - change template once, regenerate everywhere
|
|
234
|
+
- Zero duplication
|
|
235
|
+
|
|
236
|
+
Copyright (c) provide.io LLC.
|
wrknv-0.4.0/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# 🧰🌍 Wrknv
|
|
2
|
+
|
|
3
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
4
|
+
[](https://www.python.org/downloads/)
|
|
5
|
+
[](https://github.com/astral-sh/uv)
|
|
6
|
+
[](https://github.com/astral-sh/ruff)
|
|
7
|
+
[](https://github.com/provide-io/wrknv/actions)
|
|
8
|
+
|
|
9
|
+
**Work Environment** - The foundation for the provide.io ecosystem, generating standardized development environments across all projects.
|
|
10
|
+
|
|
11
|
+
## ✨ Key Features
|
|
12
|
+
|
|
13
|
+
- 🚀 **Task Runner (`we`)** - Intuitive task execution with automatic command detection, nested task organization, and smart resolution
|
|
14
|
+
- 📜 **Environment Script Generation** - Creates standardized `env.sh` and `env.ps1` scripts from templates
|
|
15
|
+
- 🔧 **Tool Version Management** - Pin versions of Terraform, OpenTofu, Go, and `uv`
|
|
16
|
+
- 🔗 **Sibling Package Integration** - Automatically discover and install local, editable dependencies
|
|
17
|
+
- 🐍 **Python Version Safety** - Detects `pyproject.toml` Python requirements and manages virtual environments
|
|
18
|
+
- 🐳 **Containerized Development** - (Experimental) Manage Docker-based development environments
|
|
19
|
+
- 📦 **Provider Packaging** - (Experimental) Interface for building `flavor`-based provider packages
|
|
20
|
+
|
|
21
|
+
## Quick Start
|
|
22
|
+
|
|
23
|
+
> **Note**: wrknv is in pre-release (v0.x.x). APIs and features may change before 1.0 release.
|
|
24
|
+
|
|
25
|
+
- Jump to [Quick Start: Task Runner](#quick-start-task-runner) or [Quick Start: Environment Management](#quick-start-environment-management).
|
|
26
|
+
- Full documentation is in [docs/index.md](https://github.com/provide-io/wrknv/blob/main/docs/index.md).
|
|
27
|
+
|
|
28
|
+
## Documentation
|
|
29
|
+
- [Documentation index](https://github.com/provide-io/wrknv/blob/main/docs/index.md)
|
|
30
|
+
- [Configuration reference](https://github.com/provide-io/wrknv/blob/main/docs/reference/configuration.md)
|
|
31
|
+
- [Examples](https://github.com/provide-io/wrknv/tree/main/examples)
|
|
32
|
+
|
|
33
|
+
## Development
|
|
34
|
+
|
|
35
|
+
### Quick Start
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Set up environment
|
|
39
|
+
uv sync
|
|
40
|
+
|
|
41
|
+
# Run common tasks
|
|
42
|
+
we test # Run tests
|
|
43
|
+
we lint # Check code
|
|
44
|
+
we format # Format code
|
|
45
|
+
we tasks # See all available commands
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
See [CLAUDE.md](https://github.com/provide-io/wrknv/blob/main/CLAUDE.md) for detailed development instructions and architecture information.
|
|
49
|
+
|
|
50
|
+
## Contributing
|
|
51
|
+
See [CONTRIBUTING.md](https://github.com/provide-io/wrknv/blob/main/CONTRIBUTING.md) for contribution guidelines.
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
MIT License - See LICENSE file for details.
|
|
56
|
+
|
|
57
|
+
## Requirements
|
|
58
|
+
|
|
59
|
+
- **Python 3.11 or later** - wrknv uses modern Python features including native type hints with pipe operators (`str | None`), native TOML support via `tomllib`, and other Python 3.11+ improvements.
|
|
60
|
+
- Git (for version control operations)
|
|
61
|
+
- curl or wget (for downloading tools)
|
|
62
|
+
|
|
63
|
+
## Overview
|
|
64
|
+
|
|
65
|
+
`wrknv` is THE central tool that generates all `env.sh` and `env.ps1` scripts for the provide.io ecosystem. Instead of maintaining hundreds of lines of duplicated shell scripts, each project uses wrknv to generate consistent, maintainable environment setup scripts.
|
|
66
|
+
|
|
67
|
+
## Quick Start: Task Runner
|
|
68
|
+
|
|
69
|
+
The `we` command provides an intuitive way to run development tasks:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Install wrknv
|
|
73
|
+
uv tool install wrknv
|
|
74
|
+
|
|
75
|
+
# Define tasks in wrknv.toml
|
|
76
|
+
cat > wrknv.toml << EOF
|
|
77
|
+
[tasks]
|
|
78
|
+
test = "pytest tests/"
|
|
79
|
+
lint = "ruff check src/"
|
|
80
|
+
|
|
81
|
+
[tasks.test]
|
|
82
|
+
unit = "pytest tests/unit/"
|
|
83
|
+
integration = "pytest tests/integration/"
|
|
84
|
+
EOF
|
|
85
|
+
|
|
86
|
+
# Run tasks directly - no 'run' subcommand needed!
|
|
87
|
+
we test # Run all tests
|
|
88
|
+
we test unit # Run unit tests
|
|
89
|
+
we lint --fix # Run lint with --fix flag
|
|
90
|
+
we tasks # List all available tasks
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Key Features:**
|
|
94
|
+
- ✅ **Auto-detection** - Just `we test`, not `we run test`
|
|
95
|
+
- ✅ **Nested tasks** - Organize with namespaces like `test.unit`, `docs.build`
|
|
96
|
+
- ✅ **Smart resolution** - Hierarchical fallback finds the right task
|
|
97
|
+
- ✅ **Arguments** - Pass flags directly: `we test --verbose`
|
|
98
|
+
- ✅ **Hierarchical display** - Beautiful tree view of tasks
|
|
99
|
+
|
|
100
|
+
See [Task System Documentation](https://github.com/provide-io/wrknv/blob/main/docs/features/task-system.md) for full details.
|
|
101
|
+
|
|
102
|
+
## Quick Start: Environment Management
|
|
103
|
+
|
|
104
|
+
1. **Install wrknv**:
|
|
105
|
+
```bash
|
|
106
|
+
uv tool install wrknv
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
2. **Create a `wrknv.toml` file**:
|
|
110
|
+
|
|
111
|
+
```toml
|
|
112
|
+
# wrknv.toml
|
|
113
|
+
|
|
114
|
+
[project]
|
|
115
|
+
name = "my-project"
|
|
116
|
+
|
|
117
|
+
[tools]
|
|
118
|
+
uv = "latest"
|
|
119
|
+
tofu = "1.7.0"
|
|
120
|
+
go = "1.22.1"
|
|
121
|
+
|
|
122
|
+
[siblings]
|
|
123
|
+
patterns = ["pyvider-*", "tofusoup", "garnish"]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
3. **Generate Environment Scripts**:
|
|
127
|
+
```bash
|
|
128
|
+
wrknv generate
|
|
129
|
+
```
|
|
130
|
+
This creates `env.sh` and `env.ps1` in your project root.
|
|
131
|
+
|
|
132
|
+
4. **Activate Your Environment**:
|
|
133
|
+
```bash
|
|
134
|
+
uv sync
|
|
135
|
+
```
|
|
136
|
+
Your shell is now configured with the specified tool versions and all Python dependencies installed in `./workenv/`.
|
|
137
|
+
|
|
138
|
+
## Core Commands
|
|
139
|
+
|
|
140
|
+
- `wrknv init`: Initialize a new wrknv.toml interactively
|
|
141
|
+
- `wrknv generate`: Generate env.sh and env.ps1 scripts
|
|
142
|
+
- `wrknv status`: Show the status and versions of all managed tools
|
|
143
|
+
- `wrknv setup`: Complete setup (init + generate + activate instructions)
|
|
144
|
+
- `wrknv test`: Run project tests
|
|
145
|
+
- `wrknv build`: Build project artifacts
|
|
146
|
+
|
|
147
|
+
## Ecosystem Commands
|
|
148
|
+
|
|
149
|
+
- `wrknv ecosystem setup`: Set up all provide.io projects
|
|
150
|
+
- `wrknv ecosystem status`: Check health of all projects
|
|
151
|
+
- `wrknv ecosystem test`: Run tests for all projects
|
|
152
|
+
- `wrknv ecosystem build`: Build all project artifacts
|
|
153
|
+
|
|
154
|
+
## Project Configuration
|
|
155
|
+
|
|
156
|
+
Each project needs a simple `wrknv.toml`:
|
|
157
|
+
|
|
158
|
+
```toml
|
|
159
|
+
[project]
|
|
160
|
+
name = "flavorpack"
|
|
161
|
+
description = "Cross-language packaging system"
|
|
162
|
+
|
|
163
|
+
[tools]
|
|
164
|
+
uv = "latest"
|
|
165
|
+
go = "1.22.1"
|
|
166
|
+
rust = "1.75"
|
|
167
|
+
|
|
168
|
+
[siblings]
|
|
169
|
+
patterns = [
|
|
170
|
+
"pyvider-*", # All pyvider packages
|
|
171
|
+
"tofusoup", # Testing suite
|
|
172
|
+
"plating", # Documentation generator
|
|
173
|
+
]
|
|
174
|
+
|
|
175
|
+
[settings]
|
|
176
|
+
python_version = ">=3.11"
|
|
177
|
+
verify_checksums = true
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Generated Files
|
|
181
|
+
|
|
182
|
+
wrknv generates:
|
|
183
|
+
- `env.sh` - Bash environment setup script
|
|
184
|
+
- `env.ps1` - PowerShell environment setup script
|
|
185
|
+
- `Makefile` - Standard development commands (optional)
|
|
186
|
+
- `.vscode/` - VS Code settings and launch configs (optional)
|
|
187
|
+
|
|
188
|
+
## Why wrknv?
|
|
189
|
+
|
|
190
|
+
Before wrknv, every project had 300-400 lines of hand-written, duplicated `env.sh` scripts. This led to:
|
|
191
|
+
- Inconsistent setup experiences
|
|
192
|
+
- Maintenance burden
|
|
193
|
+
- Copy-paste errors
|
|
194
|
+
- Drift between projects
|
|
195
|
+
|
|
196
|
+
With wrknv:
|
|
197
|
+
- Single source of truth for environment setup
|
|
198
|
+
- Consistent experience across all projects
|
|
199
|
+
- Easy updates - change template once, regenerate everywhere
|
|
200
|
+
- Zero duplication
|
|
201
|
+
|
|
202
|
+
Copyright (c) provide.io LLC.
|
wrknv-0.4.0/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.4.0
|