instant-python 0.3.0__tar.gz → 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.
Files changed (180) hide show
  1. {instant_python-0.3.0 → instant_python-0.4.0}/.github/workflows/release.yml +4 -3
  2. {instant_python-0.3.0 → instant_python-0.4.0}/CHANGELOG.md +6 -0
  3. {instant_python-0.3.0 → instant_python-0.4.0}/PKG-INFO +2 -2
  4. {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/installation.md +1 -1
  5. {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/custom-templates.md +46 -29
  6. instant_python-0.4.0/instant_python/templates/boilerplate/README.md +5 -0
  7. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/clean_architecture/main_structure.yml.j2 +1 -0
  8. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/main_structure.yml.j2 +1 -0
  9. instant_python-0.4.0/instant_python/templates/project_structure/readme.yml.j2 +3 -0
  10. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/standard_project/main_structure.yml.j2 +1 -0
  11. {instant_python-0.3.0 → instant_python-0.4.0}/mkdocs.yml +1 -1
  12. {instant_python-0.3.0 → instant_python-0.4.0}/pyproject.toml +2 -2
  13. {instant_python-0.3.0 → instant_python-0.4.0}/uv.lock +1 -1
  14. {instant_python-0.3.0 → instant_python-0.4.0}/.github/FUNDING.yml +0 -0
  15. {instant_python-0.3.0 → instant_python-0.4.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  16. {instant_python-0.3.0 → instant_python-0.4.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  17. {instant_python-0.3.0 → instant_python-0.4.0}/.github/actions/python_setup/action.yml +0 -0
  18. {instant_python-0.3.0 → instant_python-0.4.0}/.github/workflows/pages.yml +0 -0
  19. {instant_python-0.3.0 → instant_python-0.4.0}/.github/workflows/publish.yml +0 -0
  20. {instant_python-0.3.0 → instant_python-0.4.0}/.gitignore +0 -0
  21. {instant_python-0.3.0 → instant_python-0.4.0}/.python-version +0 -0
  22. {instant_python-0.3.0 → instant_python-0.4.0}/LICENSE +0 -0
  23. {instant_python-0.3.0 → instant_python-0.4.0}/README.md +0 -0
  24. {instant_python-0.3.0 → instant_python-0.4.0}/cz.yaml +0 -0
  25. {instant_python-0.3.0 → instant_python-0.4.0}/docs/assets/favicon.svg +0 -0
  26. {instant_python-0.3.0 → instant_python-0.4.0}/docs/assets/logo.svg +0 -0
  27. {instant_python-0.3.0 → instant_python-0.4.0}/docs/contributing.md +0 -0
  28. {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/features_overview.md +0 -0
  29. {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/first-steps.md +0 -0
  30. {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/index.md +0 -0
  31. {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/creating-a-project.md +0 -0
  32. {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/features.md +0 -0
  33. {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/folder-structure.md +0 -0
  34. {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/index.md +0 -0
  35. {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/when-to-use-commands.md +0 -0
  36. {instant_python-0.3.0 → instant_python-0.4.0}/docs/welcome.md +0 -0
  37. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/__init__.py +0 -0
  38. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/cli.py +0 -0
  39. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/folder_cli.py +0 -0
  40. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/__init__.py +0 -0
  41. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/dependency_manager.py +0 -0
  42. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/dependency_manager_factory.py +0 -0
  43. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/git_configurer.py +0 -0
  44. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/installer.py +0 -0
  45. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/managers.py +0 -0
  46. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/pdm_manager.py +0 -0
  47. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/uv_manager.py +0 -0
  48. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_cli.py +0 -0
  49. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/__init__.py +0 -0
  50. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/boilerplate_file.py +0 -0
  51. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/custom_template_manager.py +0 -0
  52. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/directory.py +0 -0
  53. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/file.py +0 -0
  54. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/folder_tree.py +0 -0
  55. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_custom_filters.py +0 -0
  56. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_environment.py +0 -0
  57. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_template_manager.py +0 -0
  58. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/node.py +0 -0
  59. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/project_generator.py +0 -0
  60. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/template_manager.py +0 -0
  61. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/__init__.py +0 -0
  62. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/__init__.py +0 -0
  63. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/boolean_question.py +0 -0
  64. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/choice_question.py +0 -0
  65. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/conditional_question.py +0 -0
  66. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/dependencies_question.py +0 -0
  67. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/free_text_question.py +0 -0
  68. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/multiple_choice_question.py +0 -0
  69. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/question.py +0 -0
  70. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question_wizard.py +0 -0
  71. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/requirements_configuration.py +0 -0
  72. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/__init__.py +0 -0
  73. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/dependencies_step.py +0 -0
  74. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/general_custom_template_project_step.py +0 -0
  75. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/general_project_step.py +0 -0
  76. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/git_step.py +0 -0
  77. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/steps.py +0 -0
  78. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/template_step.py +0 -0
  79. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/template_types.py +0 -0
  80. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/__init__.py +0 -0
  81. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.gitignore +0 -0
  82. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.pre-commit-config.yml +0 -0
  83. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.python-version +0 -0
  84. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/LICENSE +0 -0
  85. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/__init__.py +0 -0
  86. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/aggregate_root.py +0 -0
  87. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event.py +0 -0
  88. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event_json_deserializer.py +0 -0
  89. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event_json_serializer.py +0 -0
  90. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event_subscriber.py +0 -0
  91. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/event_bus.py +0 -0
  92. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/exchange_type.py +0 -0
  93. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/mock_event_bus.py +0 -0
  94. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_configurer.py +0 -0
  95. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_connection.py +0 -0
  96. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_consumer.py +0 -0
  97. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_event_bus.py +0 -0
  98. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_queue_formatter.py +0 -0
  99. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_settings.py +0 -0
  100. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/__init__.py +0 -0
  101. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/domain_error.py +0 -0
  102. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/domain_event_type_not_found_error.py +0 -0
  103. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/incorrect_value_type_error.py +0 -0
  104. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/invalid_id_format_error.py +0 -0
  105. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/invalid_negative_value_error.py +0 -0
  106. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/rabbit_mq_connection_not_established_error.py +0 -0
  107. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/required_value_error.py +0 -0
  108. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/__init__.py +0 -0
  109. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/application.py +0 -0
  110. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/http_response.py +0 -0
  111. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/lifespan.py +0 -0
  112. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/status_code.py +0 -0
  113. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/github/action.yml +0 -0
  114. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/github/test_lint.yml +0 -0
  115. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/__init__.py +0 -0
  116. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/json_formatter.py +0 -0
  117. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/logger.py +0 -0
  118. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/mypy.ini +0 -0
  119. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/__init__.py +0 -0
  120. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/alembic_migrator.py +0 -0
  121. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/README.md +0 -0
  122. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/__init__.py +0 -0
  123. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/alembic.ini +0 -0
  124. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/async_engine_fixture.py +0 -0
  125. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/env.py +0 -0
  126. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/models_metadata.py +0 -0
  127. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/postgres_settings.py +0 -0
  128. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/script.py.mako +0 -0
  129. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/sqlalchemy_repository.py +0 -0
  130. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/base.py +0 -0
  131. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/synchronous/__init__.py +0 -0
  132. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/synchronous/session_maker.py +0 -0
  133. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/synchronous/sqlalchemy_repository.py +0 -0
  134. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/pyproject.toml +0 -0
  135. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/pytest.ini +0 -0
  136. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/random_generator.py +0 -0
  137. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/add_dependency.sh +0 -0
  138. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/create_aggregate.py +0 -0
  139. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/insert_template.py +0 -0
  140. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/integration.sh +0 -0
  141. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/local_setup.sh +0 -0
  142. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/makefile +0 -0
  143. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/post-merge +0 -0
  144. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/pre-commit +0 -0
  145. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/pre-push +0 -0
  146. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/remove_dependency.sh +0 -0
  147. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/unit.sh +0 -0
  148. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/__init__.py +0 -0
  149. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/int_value_object.py +0 -0
  150. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/string_value_object.py +0 -0
  151. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/uuid.py +0 -0
  152. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/value_object.py +0 -0
  153. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/alembic_migrator.yml.j2 +0 -0
  154. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/async_alembic.yml.j2 +0 -0
  155. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/async_sqlalchemy.yml.j2 +0 -0
  156. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/clean_architecture/source.yml.j2 +0 -0
  157. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/clean_architecture/test.yml.j2 +0 -0
  158. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/bounded_context.yml.j2 +0 -0
  159. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/source.yml.j2 +0 -0
  160. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/test.yml.j2 +0 -0
  161. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/event_bus_domain.yml.j2 +0 -0
  162. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/event_bus_infra.yml.j2 +0 -0
  163. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/fastapi_app.yml.j2 +0 -0
  164. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/fastapi_infra.yml.j2 +0 -0
  165. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/github_action.yml.j2 +0 -0
  166. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/gitignore.yml.j2 +0 -0
  167. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/license.yml.j2 +0 -0
  168. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/logger.yml.j2 +0 -0
  169. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/macros.j2 +0 -0
  170. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/makefile.yml.j2 +0 -0
  171. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/mypy.yml.j2 +0 -0
  172. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/pre_commit.yml.j2 +0 -0
  173. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/pyproject.yml.j2 +0 -0
  174. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/pytest.yml.j2 +0 -0
  175. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/python_version.yml.j2 +0 -0
  176. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/standard_project/source.yml.j2 +0 -0
  177. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/standard_project/test.yml.j2 +0 -0
  178. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/synchronous_sqlalchemy.yml.j2 +0 -0
  179. {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/value_objects.yml.j2 +0 -0
  180. {instant_python-0.3.0 → instant_python-0.4.0}/tox.ini +0 -0
@@ -17,6 +17,7 @@ jobs:
17
17
  fetch-depth: 0
18
18
 
19
19
  - name: Bump version and update changelog
20
+ id: bump
20
21
  uses: commitizen-tools/commitizen-action@master
21
22
  with:
22
23
  github_token: ${{ secrets.CHANGELOG_TOKEN }}
@@ -34,19 +35,19 @@ jobs:
34
35
  - name: Get release tag
35
36
  id: release_tag
36
37
  run: |
37
- if [ -z "${{ needs.bump_version.outputs.tag }}" ]; then
38
+ if [ -z "${{ needs.bump-version.outputs.tag }}" ]; then
38
39
  echo "No tag provided from bump version job. Running fallback command..."
39
40
  git fetch --tags
40
41
  echo "release_tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
41
42
  else
42
43
  echo "Using tag provided from bump version job."
43
- echo "release_tag=${{ needs.bump_version.outputs.tag }}" >> $GITHUB_OUTPUT
44
+ echo "release_tag=${{ needs.bump-version.outputs.tag }}" >> $GITHUB_OUTPUT
44
45
  fi
45
46
 
46
47
  - name: Extract Changelog for Release
47
48
  id: extract_changelog
48
49
  run: |
49
- release="${{ steps.determine_tag.outputs.release_tag }}"
50
+ release="${{ steps.release_tag.outputs.release_tag }}"
50
51
  echo "Extracting changelog for tag: ${release}"
51
52
 
52
53
  awk -v tag="$release" '
@@ -1,3 +1,9 @@
1
+ ## 0.4.0 (2025-04-11)
2
+
3
+ ### ✨ Features
4
+
5
+ - **template**: add README template and include in main structure
6
+
1
7
  ## 0.3.0 (2025-04-11)
2
8
 
3
9
  ### ✨ Features
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: instant-python
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Instant boilerplate generation for Python projects
5
- Project-URL: documentation, https://dimanu-py.github.io/instant-python/
5
+ Project-URL: documentation, https://dimanu-py.github.io/instant-python/welcome/
6
6
  Project-URL: repository, https://github.com/dimanu-py/instant-python/
7
7
  Author-email: dimanu-py <diegomtz126@gmail.com>
8
8
  License: Apache License
@@ -1,7 +1,7 @@
1
1
  # Installation
2
2
 
3
3
  !!! important
4
- For the moment, `instant-python` is only supported in Unix-like systems. Windows support is coming soon.
4
+ For the moment, `instant-python` is only supported in Unix-like systems. Windows support is coming soon.
5
5
 
6
6
  To ensure a clean and isolated environment, we recommend installing `instant-python` using a virtual environment. At your
7
7
  own risk, you can install it at you system Python installation, but this is not recommended.
@@ -21,43 +21,60 @@ offers a Domain Driven Design, Clean Architecture and Standard templates.
21
21
 
22
22
  ## Examples
23
23
 
24
- ???+ example
25
-
26
- Let's imagine that you want to create a new project using a custom template with Hexagonal Architecture.
24
+ Let's imagine that you want to create a new project using a custom template with Cockburn-style Hexagonal Architecture,
25
+ including a gitignore, README and mypy configuration files.
27
26
  You can create a yaml file with the following content:
28
27
 
29
28
  ```yaml
30
29
  root:
31
30
  - name: src
32
31
  type: directory
33
- python: true
34
- children:
35
- - name: domain
36
- type: directory
37
- python: true
38
- - name: application
39
- type: directory
40
- python: true
41
- - name: ports
42
- type: directory
43
- python: true
44
- - name: adapters
45
- type: directory
46
- python: true
47
- - name: test
48
- type: directory
49
- python: true
32
+ python: True
50
33
  children:
51
- - name: domain
52
- type: directory
53
- python: true
54
- - name: application
34
+ - name: driven_adapters
55
35
  type: directory
56
- python: true
57
- - name: ports
36
+ python: True
37
+ children:
38
+ - name: adapter_for_paying_spy
39
+ type: file
40
+ extension: .py
41
+ - name: adapter_for_obtaining_grates_stup
42
+ type: file
43
+ extension: .py
44
+ - name: driving_adapters
58
45
  type: directory
59
- python: true
60
- - name: adapters
46
+ python: True
47
+ children:
48
+ - name: adapter_for_checking_cars_test
49
+ type: file
50
+ extension: .py
51
+ - name: tax_calculator_app
61
52
  type: directory
62
- python: true
53
+ python: True
54
+ children:
55
+ - name: driven_ports
56
+ type: directory
57
+ python: True
58
+ children:
59
+ - name: for_paying
60
+ type: file
61
+ extension: .py
62
+ - name: driving_ports
63
+ type: directory
64
+ python: True
65
+ children:
66
+ - name: for_checking_cars
67
+ type: file
68
+ extension: .py
69
+ - name: tax_calculator
70
+ type: directory
71
+ python: True
72
+ - name: .gitignore
73
+ type: file
74
+ - name: README
75
+ type: file
76
+ extension: .md
77
+ - name: mypy
78
+ type: file
79
+ extension: .ini
63
80
  ```
@@ -0,0 +1,5 @@
1
+ # {{ project-slug }}
2
+
3
+ ## Description
4
+
5
+ {{ description }}
@@ -11,6 +11,7 @@ root:
11
11
  {{ macros.include_and_indent("project_structure/pyproject.yml.j2", 2) }}
12
12
  {% if git %}
13
13
  {{ macros.include_and_indent("project_structure/gitignore.yml.j2", 2) }}
14
+ {{ macros.include_and_indent("project_structure/readme.yml.j2", 2) }}
14
15
  {% endif %}
15
16
  {{ macros.include_and_indent("project_structure/python_version.yml.j2", 2) }}
16
17
  {% if "pytest" in dependencies %}
@@ -11,6 +11,7 @@ root:
11
11
  {{ macros.include_and_indent("project_structure/pyproject.yml.j2", 2) }}
12
12
  {% if git %}
13
13
  {{ macros.include_and_indent("project_structure/gitignore.yml.j2", 2) }}
14
+ {{ macros.include_and_indent("project_structure/readme.yml.j2", 2) }}
14
15
  {% endif %}
15
16
  {{ macros.include_and_indent("project_structure/python_version.yml.j2", 2) }}
16
17
  {% if "pytest" in dependencies %}
@@ -0,0 +1,3 @@
1
+ - name: README
2
+ type: boilerplate_file
3
+ extension: .md
@@ -11,6 +11,7 @@ root:
11
11
  {{ macros.include_and_indent("project_structure/pyproject.yml.j2", 2) }}
12
12
  {% if git %}
13
13
  {{ macros.include_and_indent("project_structure/gitignore.yml.j2", 2) }}
14
+ {{ macros.include_and_indent("project_structure/readme.yml.j2", 2) }}
14
15
  {% endif %}
15
16
  {{ macros.include_and_indent("project_structure/python_version.yml.j2", 2) }}
16
17
  {% if "pytest" in dependencies %}
@@ -1,5 +1,5 @@
1
1
  site_name: Instant Python Generator
2
- site_url: https://dimanu-py.github.io/instant-python/
2
+ site_url: https://dimanu-py.github.io/instant-python/welcome
3
3
  site_description: >
4
4
  Get you Python project autogenerated, with the Python version you want,
5
5
  dependency manager, create automatically a git repository and even select
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "instant-python"
7
- version = "0.3.0"
7
+ version = "0.4.0"
8
8
  description = "Instant boilerplate generation for Python projects"
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -28,7 +28,7 @@ include = [
28
28
  ]
29
29
 
30
30
  [project.urls]
31
- documentation = "https://dimanu-py.github.io/instant-python/"
31
+ documentation = "https://dimanu-py.github.io/instant-python/welcome/"
32
32
  repository = "https://github.com/dimanu-py/instant-python/"
33
33
 
34
34
  [project.scripts]
@@ -240,7 +240,7 @@ wheels = [
240
240
 
241
241
  [[package]]
242
242
  name = "instant-python"
243
- version = "0.3.0"
243
+ version = "0.4.0"
244
244
  source = { editable = "." }
245
245
  dependencies = [
246
246
  { name = "jinja2" },
File without changes
File without changes
File without changes
File without changes