wrd 0.1.2__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 (163) hide show
  1. wrd-0.1.2/.idea/.gitignore +5 -0
  2. wrd-0.1.2/.idea/GitlabLint.xml +12 -0
  3. wrd-0.1.2/.idea/editorJumperProjectSettings.xml +6 -0
  4. wrd-0.1.2/.idea/inspectionProfiles/Project_Default.xml +29 -0
  5. wrd-0.1.2/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  6. wrd-0.1.2/.idea/misc.xml +7 -0
  7. wrd-0.1.2/.idea/modules.xml +8 -0
  8. wrd-0.1.2/.idea/vcs.xml +6 -0
  9. wrd-0.1.2/.idea/wrd.iml +11 -0
  10. wrd-0.1.2/CHANGELOG.md +37 -0
  11. wrd-0.1.2/CONTRIBUTING.md +78 -0
  12. wrd-0.1.2/LICENSE +201 -0
  13. wrd-0.1.2/MANIFEST.in +34 -0
  14. wrd-0.1.2/Makefile +156 -0
  15. wrd-0.1.2/PKG-INFO +751 -0
  16. wrd-0.1.2/README.md +692 -0
  17. wrd-0.1.2/claude-code-README.md +111 -0
  18. wrd-0.1.2/docker-README.md +78 -0
  19. wrd-0.1.2/docs/Makefile +20 -0
  20. wrd-0.1.2/docs/conf.py +98 -0
  21. wrd-0.1.2/docs/how-to-guides/claude-code-setup.md +346 -0
  22. wrd-0.1.2/docs/how-to-guides/configuration.md +92 -0
  23. wrd-0.1.2/docs/how-to-guides/custom-templates.md +290 -0
  24. wrd-0.1.2/docs/index.md +30 -0
  25. wrd-0.1.2/docs/requirements.txt +6 -0
  26. wrd-0.1.2/docs/tutorials/quickstart.md +65 -0
  27. wrd-0.1.2/fedora.sh +253 -0
  28. wrd-0.1.2/install_claude.sh +129 -0
  29. wrd-0.1.2/install_claude_code.sh +173 -0
  30. wrd-0.1.2/pyproject.toml +135 -0
  31. wrd-0.1.2/pytest.ini +20 -0
  32. wrd-0.1.2/setup.cfg +79 -0
  33. wrd-0.1.2/src/wrd/__init__.py +39 -0
  34. wrd-0.1.2/src/wrd/__main__.py +999 -0
  35. wrd-0.1.2/src/wrd/__version__.py +7 -0
  36. wrd-0.1.2/src/wrd/cli.py +312 -0
  37. wrd-0.1.2/src/wrd/py.typed +0 -0
  38. wrd-0.1.2/src/wrd/template_manager.py +163 -0
  39. wrd-0.1.2/src/wrd/templates/__init__.py +4 -0
  40. wrd-0.1.2/src/wrd/templates/__pycache__/__init__.cpython-312.pyc +0 -0
  41. wrd-0.1.2/src/wrd/templates/python/README.md.j2 +33 -0
  42. wrd-0.1.2/src/wrd/templates/python/gitignore.j2 +51 -0
  43. wrd-0.1.2/src/wrd/templates/python/project.yml +39 -0
  44. wrd-0.1.2/src/wrd/templates/python/pyproject.toml.j2 +35 -0
  45. wrd-0.1.2/src/wrd.egg-info/PKG-INFO +751 -0
  46. wrd-0.1.2/src/wrd.egg-info/SOURCES.txt +162 -0
  47. wrd-0.1.2/src/wrd.egg-info/dependency_links.txt +1 -0
  48. wrd-0.1.2/src/wrd.egg-info/entry_points.txt +2 -0
  49. wrd-0.1.2/src/wrd.egg-info/requires.txt +29 -0
  50. wrd-0.1.2/src/wrd.egg-info/top_level.txt +1 -0
  51. wrd-0.1.2/tests/__init__.py +3 -0
  52. wrd-0.1.2/tests/conftest.py +51 -0
  53. wrd-0.1.2/tests/integration/test_cli_integration.py +126 -0
  54. wrd-0.1.2/tests/test_basic.py +43 -0
  55. wrd-0.1.2/tests/test_functional.py +94 -0
  56. wrd-0.1.2/tests/unit/test_cli.py +212 -0
  57. wrd-0.1.2/tests/unit/test_template_manager.py +163 -0
  58. wrd-0.1.2/venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt +28 -0
  59. wrd-0.1.2/venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt +1 -0
  60. wrd-0.1.2/venv/lib/python3.12/site-packages/PyYAML-6.0.2.dist-info/top_level.txt +2 -0
  61. wrd-0.1.2/venv/lib/python3.12/site-packages/SecretStorage-3.3.3.dist-info/top_level.txt +1 -0
  62. wrd-0.1.2/venv/lib/python3.12/site-packages/build-1.2.2.post1.dist-info/entry_points.txt +6 -0
  63. wrd-0.1.2/venv/lib/python3.12/site-packages/certifi-2025.6.15.dist-info/top_level.txt +1 -0
  64. wrd-0.1.2/venv/lib/python3.12/site-packages/cffi-1.17.1.dist-info/entry_points.txt +2 -0
  65. wrd-0.1.2/venv/lib/python3.12/site-packages/cffi-1.17.1.dist-info/top_level.txt +2 -0
  66. wrd-0.1.2/venv/lib/python3.12/site-packages/charset_normalizer-3.4.2.dist-info/entry_points.txt +2 -0
  67. wrd-0.1.2/venv/lib/python3.12/site-packages/charset_normalizer-3.4.2.dist-info/top_level.txt +1 -0
  68. wrd-0.1.2/venv/lib/python3.12/site-packages/click-8.2.1.dist-info/licenses/LICENSE.txt +28 -0
  69. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/README.txt +17 -0
  70. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isoamsa.txt +162 -0
  71. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isoamsb.txt +126 -0
  72. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isoamsc.txt +29 -0
  73. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isoamsn.txt +96 -0
  74. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isoamso.txt +62 -0
  75. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isoamsr.txt +191 -0
  76. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isobox.txt +46 -0
  77. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isocyr1.txt +73 -0
  78. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isocyr2.txt +32 -0
  79. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isodia.txt +20 -0
  80. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isogrk1.txt +55 -0
  81. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isogrk2.txt +26 -0
  82. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isogrk3.txt +52 -0
  83. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isogrk4-wide.txt +49 -0
  84. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isogrk4.txt +8 -0
  85. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isolat1.txt +68 -0
  86. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isolat2.txt +128 -0
  87. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isomfrk-wide.txt +58 -0
  88. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isomfrk.txt +11 -0
  89. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isomopf-wide.txt +32 -0
  90. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isomopf.txt +13 -0
  91. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isomscr-wide.txt +58 -0
  92. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isomscr.txt +17 -0
  93. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isonum.txt +82 -0
  94. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isopub.txt +90 -0
  95. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/isotech.txt +168 -0
  96. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/mmlalias.txt +554 -0
  97. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/mmlextra-wide.txt +113 -0
  98. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/mmlextra.txt +87 -0
  99. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/s5defs.txt +68 -0
  100. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/xhtml1-lat1.txt +102 -0
  101. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/xhtml1-special.txt +37 -0
  102. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/parsers/rst/include/xhtml1-symbol.txt +130 -0
  103. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/writers/html4css1/template.txt +8 -0
  104. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/writers/html5_polyglot/template.txt +8 -0
  105. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/writers/pep_html/template.txt +25 -0
  106. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils/writers/s5_html/themes/README.txt +6 -0
  107. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils-0.21.2.dist-info/COPYING.txt +159 -0
  108. wrd-0.1.2/venv/lib/python3.12/site-packages/docutils-0.21.2.dist-info/entry_points.txt +13 -0
  109. wrd-0.1.2/venv/lib/python3.12/site-packages/id-1.5.0.dist-info/entry_points.txt +3 -0
  110. wrd-0.1.2/venv/lib/python3.12/site-packages/idna-3.10.dist-info/LICENSE.md +31 -0
  111. wrd-0.1.2/venv/lib/python3.12/site-packages/jaraco.classes-3.4.0.dist-info/top_level.txt +1 -0
  112. wrd-0.1.2/venv/lib/python3.12/site-packages/jaraco.context-6.0.1.dist-info/top_level.txt +1 -0
  113. wrd-0.1.2/venv/lib/python3.12/site-packages/jaraco_functools-4.2.1.dist-info/top_level.txt +1 -0
  114. wrd-0.1.2/venv/lib/python3.12/site-packages/jinja2-3.1.6.dist-info/entry_points.txt +3 -0
  115. wrd-0.1.2/venv/lib/python3.12/site-packages/jinja2-3.1.6.dist-info/licenses/LICENSE.txt +28 -0
  116. wrd-0.1.2/venv/lib/python3.12/site-packages/keyring-25.6.0.dist-info/entry_points.txt +13 -0
  117. wrd-0.1.2/venv/lib/python3.12/site-packages/keyring-25.6.0.dist-info/top_level.txt +1 -0
  118. wrd-0.1.2/venv/lib/python3.12/site-packages/markdown_it_py-3.0.0.dist-info/entry_points.txt +3 -0
  119. wrd-0.1.2/venv/lib/python3.12/site-packages/pip/_vendor/vendor.txt +20 -0
  120. wrd-0.1.2/venv/lib/python3.12/site-packages/pip-25.1.1.dist-info/entry_points.txt +3 -0
  121. wrd-0.1.2/venv/lib/python3.12/site-packages/pip-25.1.1.dist-info/licenses/AUTHORS.txt +821 -0
  122. wrd-0.1.2/venv/lib/python3.12/site-packages/pip-25.1.1.dist-info/licenses/LICENSE.txt +20 -0
  123. wrd-0.1.2/venv/lib/python3.12/site-packages/pip-25.1.1.dist-info/top_level.txt +1 -0
  124. wrd-0.1.2/venv/lib/python3.12/site-packages/pkg_resources/api_tests.txt +424 -0
  125. wrd-0.1.2/venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/SOURCES.txt +7 -0
  126. wrd-0.1.2/venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/dependency_links.txt +1 -0
  127. wrd-0.1.2/venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/top_level.txt +1 -0
  128. wrd-0.1.2/venv/lib/python3.12/site-packages/pycparser-2.22.dist-info/top_level.txt +1 -0
  129. wrd-0.1.2/venv/lib/python3.12/site-packages/pygments-2.19.2.dist-info/entry_points.txt +2 -0
  130. wrd-0.1.2/venv/lib/python3.12/site-packages/python_dotenv-1.1.1.dist-info/entry_points.txt +2 -0
  131. wrd-0.1.2/venv/lib/python3.12/site-packages/python_dotenv-1.1.1.dist-info/top_level.txt +1 -0
  132. wrd-0.1.2/venv/lib/python3.12/site-packages/readme_renderer-44.0.dist-info/top_level.txt +1 -0
  133. wrd-0.1.2/venv/lib/python3.12/site-packages/requests-2.32.4.dist-info/top_level.txt +1 -0
  134. wrd-0.1.2/venv/lib/python3.12/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +1 -0
  135. wrd-0.1.2/venv/lib/python3.12/site-packages/rfc3986-2.0.0.dist-info/top_level.txt +1 -0
  136. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/top_level.txt +1 -0
  137. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/top_level.txt +1 -0
  138. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/top_level.txt +1 -0
  139. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/top_level.txt +1 -0
  140. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +2 -0
  141. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/top_level.txt +1 -0
  142. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/top_level.txt +1 -0
  143. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/top_level.txt +1 -0
  144. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/top_level.txt +1 -0
  145. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/entry_points.txt +2 -0
  146. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/top_level.txt +1 -0
  147. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/vendor.txt +1 -0
  148. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.45.1.dist-info/LICENSE.txt +21 -0
  149. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.45.1.dist-info/entry_points.txt +6 -0
  150. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/top_level.txt +1 -0
  151. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools/tests/config/setupcfg_examples.txt +22 -0
  152. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools-80.9.0.dist-info/entry_points.txt +51 -0
  153. wrd-0.1.2/venv/lib/python3.12/site-packages/setuptools-80.9.0.dist-info/top_level.txt +3 -0
  154. wrd-0.1.2/venv/lib/python3.12/site-packages/shellingham-1.5.4.dist-info/top_level.txt +1 -0
  155. wrd-0.1.2/venv/lib/python3.12/site-packages/twine-6.1.0.dist-info/entry_points.txt +7 -0
  156. wrd-0.1.2/venv/lib/python3.12/site-packages/twine-6.1.0.dist-info/top_level.txt +1 -0
  157. wrd-0.1.2/venv/lib/python3.12/site-packages/typer-0.16.0.dist-info/entry_points.txt +5 -0
  158. wrd-0.1.2/venv/lib/python3.12/site-packages/urllib3-2.5.0.dist-info/licenses/LICENSE.txt +21 -0
  159. wrd-0.1.2/venv/lib/python3.12/site-packages/wheel/vendored/vendor.txt +1 -0
  160. wrd-0.1.2/venv/lib/python3.12/site-packages/wheel-0.45.1.dist-info/LICENSE.txt +21 -0
  161. wrd-0.1.2/venv/lib/python3.12/site-packages/wheel-0.45.1.dist-info/entry_points.txt +6 -0
  162. wrd-0.1.2/venv/lib/python3.12/site-packages/wrd-0.1.2.dist-info/entry_points.txt +2 -0
  163. wrd-0.1.2/venv/lib/python3.12/site-packages/wrd-0.1.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,5 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="com.github.blarc.gitlab.template.lint.plugin.settings.ProjectSettings">
4
+ <option name="gitlabUrls">
5
+ <set>
6
+ <option value="https://github.com/api/v4" />
7
+ <option value="https://gitlab.com/api/v4" />
8
+ </set>
9
+ </option>
10
+ <option name="newProject" value="false" />
11
+ </component>
12
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="com.github.wanniwa.editorjumper.settings.EditorJumperProjectSettings">
4
+ <option name="projectEditorType" value="Cursor" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,29 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ <inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
6
+ <option name="ignoredPackages">
7
+ <list>
8
+ <option value="requests" />
9
+ <option value="beautifulsoup4" />
10
+ <option value="scikit-learn" />
11
+ <option value="numpy" />
12
+ <option value="pillow" />
13
+ <option value="schedule" />
14
+ <option value="gitpython" />
15
+ <option value="urllib3" />
16
+ <option value="spacy" />
17
+ </list>
18
+ </option>
19
+ </inspection_tool>
20
+ <inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
21
+ <option name="ignoredErrors">
22
+ <list>
23
+ <option value="N802" />
24
+ </list>
25
+ </option>
26
+ </inspection_tool>
27
+ <inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
28
+ </profile>
29
+ </component>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Python 3.13 (portfolio)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
7
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/wrd.iml" filepath="$PROJECT_DIR$/.idea/wrd.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ <component name="PackageRequirementsSettings">
9
+ <option name="requirementsPath" value="" />
10
+ </component>
11
+ </module>
wrd-0.1.2/CHANGELOG.md ADDED
@@ -0,0 +1,37 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+ - Initial project structure and core functionality
12
+ - Interactive shell with rich menus and prompts
13
+ - Template management system
14
+ - Project scaffolding with support for multiple languages
15
+ - Git integration with automatic repository initialization
16
+ - Configuration management with YAML
17
+ - Documentation with Sphinx and MyST
18
+
19
+ ### Changed
20
+ - Refactored CLI implementation to use Typer
21
+ - Improved error handling and user feedback
22
+ - Enhanced template system with Jinja2 support
23
+
24
+ ### Fixed
25
+ - Various bug fixes and performance improvements
26
+
27
+ ## [0.1.0] - 2023-06-28
28
+
29
+ ### Added
30
+ - Initial release of WRD
31
+ - Basic project management features
32
+ - Template-based project generation
33
+ - Interactive shell interface
34
+ - Configuration management
35
+
36
+ [Unreleased]: https://github.com/wronai/wrd/compare/v0.1.0...HEAD
37
+ [0.1.0]: https://github.com/wronai/wrd/releases/tag/v0.1.0
@@ -0,0 +1,78 @@
1
+ # Contributing to WRD
2
+
3
+ Thank you for your interest in contributing to WRD! We welcome all contributions, including bug reports, feature requests, documentation improvements, and code contributions.
4
+
5
+ ## Getting Started
6
+
7
+ 1. **Fork the repository** on GitHub
8
+ 2. **Clone your fork** locally
9
+ ```bash
10
+ git clone https://github.com/your-wronai/wrd.git
11
+ cd wrd
12
+ ```
13
+ 3. **Set up the development environment**
14
+ ```bash
15
+ python -m venv venv
16
+ source venv/bin/activate # On Windows: venv\Scripts\activate
17
+ pip install -e .[dev] # Install development dependencies
18
+ ```
19
+
20
+ ## Development Workflow
21
+
22
+ 1. **Create a new branch** for your changes
23
+ ```bash
24
+ git checkout -b feature/your-feature-name
25
+ ```
26
+
27
+ 2. **Make your changes** and ensure tests pass
28
+ ```bash
29
+ # Run tests
30
+ pytest tests/
31
+
32
+ # Run linter
33
+ flake8 wrd
34
+
35
+ # Run type checker
36
+ mypy wrd
37
+ ```
38
+
39
+ 3. **Commit your changes** with a descriptive message
40
+ ```bash
41
+ git commit -m "Add new feature: your feature description"
42
+ ```
43
+
44
+ 4. **Push to your fork** and open a pull request
45
+
46
+ ## Code Style
47
+
48
+ - Follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) for Python code
49
+ - Use type hints for all function parameters and return values
50
+ - Write docstrings for all public functions and classes
51
+ - Keep lines under 88 characters (Black will handle this)
52
+
53
+ ## Testing
54
+
55
+ - Write tests for all new features and bug fixes
56
+ - Ensure all tests pass before submitting a pull request
57
+ - Use descriptive test function names that describe what's being tested
58
+
59
+ ## Reporting Issues
60
+
61
+ When reporting issues, please include:
62
+
63
+ 1. A clear description of the problem
64
+ 2. Steps to reproduce the issue
65
+ 3. Expected vs. actual behavior
66
+ 4. Any relevant error messages or logs
67
+ 5. Your operating system and Python version
68
+
69
+ ## Code Review Process
70
+
71
+ 1. Create a pull request with your changes
72
+ 2. Ensure all CI checks pass
73
+ 3. A maintainer will review your changes and provide feedback
74
+ 4. Once approved, your changes will be merged into the main branch
75
+
76
+ ## License
77
+
78
+ By contributing to WRD, you agree that your contributions will be licensed under the MIT License.
wrd-0.1.2/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 [yyyy] [name of copyright owner]
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.
wrd-0.1.2/MANIFEST.in ADDED
@@ -0,0 +1,34 @@
1
+ include README.md
2
+ include LICENSE
3
+ include CHANGELOG.md
4
+ include CONTRIBUTING.md
5
+ include pyproject.toml
6
+
7
+ # Include package data
8
+ recursive-include src/wrd/templates *
9
+ recursive-include src/wrd/configs *
10
+
11
+ # Documentation
12
+ recursive-include docs *
13
+
14
+ # Tests
15
+ recursive-include tests *
16
+
17
+ # Include other important files
18
+ global-include *.md
19
+ global-include *.txt
20
+ global-include *.toml
21
+
22
+ # Exclude unnecessary files
23
+ exclude .gitignore
24
+ exclude .gitattributes
25
+ exclude .github/
26
+ exclude .idea/
27
+ exclude .pytest_cache/
28
+ exclude venv/
29
+ exclude dist/
30
+ exclude build/
31
+ exclude *.egg-info/
32
+ prune __pycache__
33
+ prune .mypy_cache
34
+ prune .pytest_cache
wrd-0.1.2/Makefile ADDED
@@ -0,0 +1,156 @@
1
+ .PHONY: help
2
+ help: ## Display this help message
3
+ @echo "Please use 'make <target>' where <target> is one of"
4
+ @echo
5
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
6
+ @echo
7
+
8
+ # Development
9
+ .PHONY: install
10
+ install: ## Install the package in development mode
11
+ @echo "Installing package in development mode..."
12
+ pip install -e .[dev]
13
+
14
+ .PHONY: install-all
15
+ install-all: ## Install with all optional dependencies
16
+ @echo "Installing package with all optional dependencies..."
17
+ pip install -e ".[dev,data]"
18
+
19
+ .PHONY: install-tools
20
+ install-tools: ## Install development tools
21
+ @echo "Installing development tools..."
22
+ pip install -U pip setuptools wheel
23
+ pip install -U black isort flake8 mypy pytest pytest-cov build twine
24
+
25
+ # Formatting and Linting
26
+ .PHONY: format
27
+ format: ## Format code with black and isort
28
+ @echo "Formatting code..."
29
+ black src tests
30
+ isort src tests
31
+
32
+ .PHONY: lint
33
+ lint: ## Run linters (black, isort, flake8, mypy)
34
+ @echo "Running linters..."
35
+ black --check --diff src tests
36
+ isort --check-only src tests
37
+ flake8 src tests
38
+ mypy src
39
+
40
+ # Testing
41
+ .PHONY: test
42
+ TEST_PATH=./tests
43
+ .PHONY: test
44
+ test: ## Run tests
45
+ @echo "Running tests..."
46
+ pytest $(TEST_PATH) -v --cov=wrd --cov-report=term-missing --cov-report=xml:coverage.xml
47
+
48
+ .PHONY: test-cov
49
+ test-cov: ## Run tests with coverage report
50
+ @echo "Running tests with coverage..."
51
+ pytest --cov=wrd --cov-report=html:htmlcov
52
+
53
+ .PHONY: test-all
54
+ test-all: ## Run all tests with coverage and linting
55
+ @echo "Running all tests with coverage and linting..."
56
+ make lint
57
+ make test
58
+ make test-cov
59
+
60
+ # Documentation
61
+ .PHONY: docs
62
+ docs: ## Generate documentation
63
+ @echo "Generating documentation..."
64
+ cd docs && $(MAKE) html
65
+
66
+ .PHONY: docs-serve
67
+ docs-serve: docs ## Serve documentation locally
68
+ @echo "Serving documentation at http://localhost:8000"
69
+ python -m http.server --directory docs/_build/html 8000
70
+
71
+ # Build and Release
72
+ .PHONY: build
73
+ build: ## Build source and wheel packages
74
+ @echo "Building source and wheel packages..."
75
+ python3 -m build
76
+
77
+ .PHONY: check-build
78
+ check-build: ## Check the built package
79
+ @echo "Checking built package..."
80
+ twine check dist/*
81
+
82
+ .PHONY: publish-test
83
+ publish-test: build check-build ## Upload to test PyPI
84
+ @echo "Uploading to test PyPI..."
85
+ twine upload --repository testpypi dist/*
86
+
87
+ .PHONY: publish
88
+ publish: build check-build ## Upload to PyPI
89
+ @echo "Uploading to PyPI..."
90
+ twine upload dist/*
91
+
92
+ .PHONY: push
93
+ push: ## Push code to remote repository
94
+ @echo "Pushing to remote repository..."
95
+ git push origin $(shell git rev-parse --abbrev-ref HEAD)
96
+ git push --tags
97
+
98
+ # Cleanup
99
+ .PHONY: clean
100
+ clean: ## Remove build artifacts, cache, and test artifacts
101
+ @echo "Cleaning up..."
102
+ rm -rf build/ dist/ *.egg-info/ .pytest_cache/ .mypy_cache/ .coverage coverage.xml htmlcov/ .tox/ .cache/ .eggs/ .hypothesis/
103
+ find . -type d -name '__pycache__' -exec rm -rf {} +
104
+ find . -type f -name '*.pyc' -delete
105
+ find . -type f -name '*.pyo' -delete
106
+ find . -type f -name '*~' -delete
107
+ find . -type f -name '*.swp' -delete
108
+ find . -type f -name '*.swo' -delete
109
+
110
+ # Virtual Environment
111
+ .PHONY: venv
112
+ venv: ## Create a virtual environment
113
+ @echo "Creating virtual environment..."
114
+ python -m venv venv
115
+
116
+ .PHONY: activate
117
+ activate: ## Activate the virtual environment
118
+ @echo "Run 'source venv/bin/activate' to activate the virtual environment"
119
+
120
+ # Development Server
121
+ .PHONY: run
122
+ run: ## Run the development server
123
+ @echo "Starting development server..."
124
+ python -m wrd
125
+
126
+ # Dependencies
127
+ .PHONY: deps-outdated
128
+ deps-outdated: ## Check for outdated dependencies
129
+ @echo "Checking for outdated dependencies..."
130
+ pip list --outdated
131
+
132
+ .PHONY: deps-upgrade
133
+ deps-upgrade: ## Upgrade all dependencies
134
+ @echo "Upgrading all dependencies..."
135
+ pip install --upgrade -r requirements.txt
136
+
137
+ # Git Hooks
138
+ .PHONY: install-hooks
139
+ install-hooks: ## Install git hooks
140
+ @echo "Installing git hooks..."
141
+ echo '#!/bin/sh\nmake lint test' > .git/hooks/pre-commit
142
+ chmod +x .git/hooks/pre-commit
143
+
144
+ # Docker
145
+ .PHONY: docker-build
146
+ docker-build: ## Build Docker image
147
+ @echo "Building Docker image..."
148
+ docker build -t wrd .
149
+
150
+ .PHONY: docker-run
151
+ docker-run: ## Run Docker container
152
+ @echo "Running Docker container..."
153
+ docker run -it --rm wrd
154
+
155
+ # Default target
156
+ .DEFAULT_GOAL := help