zrb 0.0.86__py3-none-any.whl → 0.0.87__py3-none-any.whl

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 (112) hide show
  1. zrb/__init__.py +3 -1
  2. zrb/action/runner.py +7 -3
  3. zrb/builtin/__init__.py +1 -1
  4. zrb/builtin/base64.py +1 -1
  5. zrb/builtin/devtool/devtool_install.py +3 -1
  6. zrb/builtin/env.py +6 -3
  7. zrb/builtin/explain.py +3 -1
  8. zrb/builtin/generator/__init__.py +4 -8
  9. zrb/builtin/generator/app_generator/add.py +6 -6
  10. zrb/builtin/generator/app_generator/template/_automate/snake_zrb_meta_template_name/add.py +60 -50
  11. zrb/builtin/generator/app_generator/template/_automate/snake_zrb_meta_template_name/template/_automate/snake_zrb_app_name/container.py +1 -1
  12. zrb/builtin/generator/app_generator/template/_automate/snake_zrb_meta_template_name/template/_automate/snake_zrb_app_name/deployment.py +2 -2
  13. zrb/builtin/generator/app_generator/template/_automate/snake_zrb_meta_template_name/template/_automate/snake_zrb_app_name/image.py +1 -1
  14. zrb/builtin/generator/app_generator/template/_automate/snake_zrb_meta_template_name/template/_automate/snake_zrb_app_name/local.py +4 -2
  15. zrb/builtin/generator/cmd_task/add.py +6 -6
  16. zrb/builtin/generator/cmd_task/template/_automate/snake_zrb_task_name.py +1 -1
  17. zrb/builtin/generator/{_common → common}/helper.py +6 -0
  18. zrb/builtin/generator/{_common → common}/task_factory.py +9 -5
  19. zrb/builtin/generator/docker_compose_task/add.py +8 -8
  20. zrb/builtin/generator/docker_compose_task/template/_automate/snake_zrb_task_name.py +1 -1
  21. zrb/builtin/generator/fastapp/add.py +24 -24
  22. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/_common.py +2 -1
  23. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/container.py +1 -1
  24. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/deployment.py +1 -1
  25. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/frontend.py +1 -1
  26. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/image.py +1 -1
  27. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/load_test.py +3 -2
  28. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/local.py +1 -1
  29. zrb/builtin/generator/fastapp/template/_automate/snake_zrb_app_name/test.py +2 -4
  30. zrb/builtin/generator/fastapp_crud/add.py +8 -121
  31. zrb/builtin/generator/fastapp_crud/helper.py +115 -0
  32. zrb/builtin/generator/fastapp_crud/{add_navigation.py → task_factory.py} +5 -3
  33. zrb/builtin/generator/fastapp_field/add.py +8 -280
  34. zrb/builtin/generator/fastapp_field/helper.py +283 -0
  35. zrb/builtin/generator/fastapp_module/add.py +19 -328
  36. zrb/builtin/generator/fastapp_module/helper.py +326 -0
  37. zrb/builtin/generator/pip_package/add.py +8 -8
  38. zrb/builtin/generator/pip_package/template/_automate/snake_zrb_package_name/local.py +1 -1
  39. zrb/builtin/generator/project/create.py +5 -3
  40. zrb/builtin/generator/project_task/task_factory.py +33 -21
  41. zrb/builtin/generator/project_task/template/_automate/_project/build_project_images.py +1 -1
  42. zrb/builtin/generator/project_task/template/_automate/_project/deploy_project.py +1 -1
  43. zrb/builtin/generator/project_task/template/_automate/_project/destroy_project.py +1 -1
  44. zrb/builtin/generator/project_task/template/_automate/_project/push_project_images.py +1 -1
  45. zrb/builtin/generator/project_task/template/_automate/_project/remove_project_containers.py +1 -1
  46. zrb/builtin/generator/project_task/template/_automate/_project/start_project.py +1 -1
  47. zrb/builtin/generator/project_task/template/_automate/_project/start_project_containers.py +1 -1
  48. zrb/builtin/generator/project_task/template/_automate/_project/stop_project_containers.py +1 -1
  49. zrb/builtin/generator/python_task/add.py +6 -6
  50. zrb/builtin/generator/python_task/template/_automate/snake_zrb_task_name.py +1 -1
  51. zrb/builtin/generator/simple_python_app/add.py +28 -30
  52. zrb/builtin/generator/simple_python_app/template/_automate/snake_zrb_app_name/container.py +1 -1
  53. zrb/builtin/generator/simple_python_app/template/_automate/snake_zrb_app_name/deployment.py +1 -1
  54. zrb/builtin/generator/simple_python_app/template/_automate/snake_zrb_app_name/image.py +1 -1
  55. zrb/builtin/generator/simple_python_app/template/_automate/snake_zrb_app_name/local.py +1 -1
  56. zrb/builtin/git.py +1 -1
  57. zrb/builtin/md5.py +1 -1
  58. zrb/builtin/project.py +1 -1
  59. zrb/builtin/ubuntu.py +1 -1
  60. zrb/config/config.py +8 -6
  61. zrb/helper/accessories/color.py +5 -1
  62. zrb/helper/accessories/icon.py +2 -0
  63. zrb/helper/accessories/name.py +2 -0
  64. zrb/helper/advertisement.py +1 -0
  65. zrb/helper/cli.py +5 -1
  66. zrb/helper/codemod/add_argument_to_function.py +3 -0
  67. zrb/helper/codemod/add_argument_to_function_call.py +3 -0
  68. zrb/helper/codemod/add_assert_resource.py +2 -0
  69. zrb/helper/codemod/add_function_call.py +2 -0
  70. zrb/helper/codemod/add_import_module.py +3 -0
  71. zrb/helper/codemod/add_key_value_to_dict.py +2 -0
  72. zrb/helper/codemod/add_property_to_class.py +3 -0
  73. zrb/helper/codemod/add_upstream_to_task.py +3 -0
  74. zrb/helper/codemod/append_code_to_function.py +3 -0
  75. zrb/helper/codemod/format_code.py +2 -0
  76. zrb/helper/default_env.py +2 -0
  77. zrb/helper/docker_compose/fetch_external_env.py +3 -0
  78. zrb/helper/docker_compose/file.py +4 -0
  79. zrb/helper/env_map/fetch.py +7 -0
  80. zrb/helper/file/text.py +4 -0
  81. zrb/helper/git/detect_changes.py +4 -0
  82. zrb/helper/loader/load_module.py +2 -0
  83. zrb/helper/map/conversion.py +2 -0
  84. zrb/helper/string/conversion.py +5 -0
  85. zrb/helper/string/double_quote.py +6 -2
  86. zrb/helper/string/jinja.py +2 -0
  87. zrb/helper/string/parse_replacement.py +2 -0
  88. zrb/helper/util.py +13 -0
  89. zrb/task/any_task.py +2 -2
  90. zrb/task/base_task.py +15 -15
  91. zrb/task/base_task_composite.py +3 -3
  92. zrb/task/cmd_task.py +2 -2
  93. zrb/task/decorator.py +2 -2
  94. zrb/task/docker_compose_task.py +2 -2
  95. zrb/task/flow_task.py +5 -5
  96. zrb/task/http_checker.py +2 -2
  97. zrb/task/path_checker.py +2 -2
  98. zrb/task/port_checker.py +2 -2
  99. zrb/task/resource_maker.py +3 -5
  100. zrb/task_input/any_input.py +23 -0
  101. zrb/task_input/base_input.py +46 -43
  102. zrb/task_input/float_input.py +0 -1
  103. {zrb-0.0.86.dist-info → zrb-0.0.87.dist-info}/METADATA +1 -1
  104. {zrb-0.0.86.dist-info → zrb-0.0.87.dist-info}/RECORD +111 -108
  105. zrb/config.toml +0 -0
  106. /zrb/builtin/generator/{_common → common}/__init__.py +0 -0
  107. /zrb/builtin/generator/{_common → common}/task_input.py +0 -0
  108. /zrb/builtin/{_group.py → group.py} +0 -0
  109. /zrb/task_input/{_constant.py → constant.py} +0 -0
  110. {zrb-0.0.86.dist-info → zrb-0.0.87.dist-info}/LICENSE +0 -0
  111. {zrb-0.0.86.dist-info → zrb-0.0.87.dist-info}/WHEEL +0 -0
  112. {zrb-0.0.86.dist-info → zrb-0.0.87.dist-info}/entry_points.txt +0 -0
File without changes