code0-hercules 1.4.5__tar.gz → 1.5.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 (268) hide show
  1. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/PKG-INFO +3 -3
  2. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/README.md +2 -2
  3. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/code0_hercules.egg-info/PKG-INFO +3 -3
  4. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/code0_hercules.egg-info/SOURCES.txt +1 -0
  5. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/connection.py +5 -1
  6. code0_hercules-1.5.0/hercules/internal/jwt.py +28 -0
  7. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/pyproject.toml +1 -1
  8. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/code0_hercules.egg-info/dependency_links.txt +0 -0
  9. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/code0_hercules.egg-info/entry_points.txt +0 -0
  10. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/code0_hercules.egg-info/requires.txt +0 -0
  11. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/code0_hercules.egg-info/top_level.txt +0 -0
  12. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/__init__.py +0 -0
  13. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/_metadata.py +0 -0
  14. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/_tsgen/convert.mjs +0 -0
  15. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/_tsgen/package-lock.json +0 -0
  16. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/_tsgen/package.json +0 -0
  17. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/_tucana/__init__.py +0 -0
  18. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/_tucana/helpers.py +0 -0
  19. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/action.py +0 -0
  20. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/actions/__init__.py +0 -0
  21. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/actions/execution.py +0 -0
  22. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/actions/flow_execution.py +0 -0
  23. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/actions/flow_update.py +0 -0
  24. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/actions/module_configurations.py +0 -0
  25. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/actions/sub_flow_execution.py +0 -0
  26. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/cli.py +0 -0
  27. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/__init__.py +0 -0
  28. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/datatype.py +0 -0
  29. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/event.py +0 -0
  30. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/function.py +0 -0
  31. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/meta.py +0 -0
  32. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/runtime_event.py +0 -0
  33. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/decorators/runtime_function.py +0 -0
  34. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/__init__.py +0 -0
  35. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/__init__.py +0 -0
  36. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/data_types/__init__.py +0 -0
  37. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/data_types/cron_day_of_month.py +0 -0
  38. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/data_types/cron_day_of_week.py +0 -0
  39. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/data_types/cron_hour.py +0 -0
  40. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/data_types/cron_minute.py +0 -0
  41. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/data_types/cron_month.py +0 -0
  42. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/runtime_flow_types/__init__.py +0 -0
  43. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/cron_action/runtime_flow_types/cron.py +0 -0
  44. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/__init__.py +0 -0
  45. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/data_types/__init__.py +0 -0
  46. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/data_types/rest_adapter_input.py +0 -0
  47. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/data_types/rest_auth_type.py +0 -0
  48. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/data_types/rest_auth_value.py +0 -0
  49. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/runtime_flow_types/__init__.py +0 -0
  50. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/runtime_flow_types/rest.py +0 -0
  51. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/runtime_functions/__init__.py +0 -0
  52. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/rest_action/runtime_functions/rest_control_respond.py +0 -0
  53. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/__init__.py +0 -0
  54. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/data_types/__init__.py +0 -0
  55. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/data_types/boolean.py +0 -0
  56. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/__init__.py +0 -0
  57. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/std_boolean_as_number.py +0 -0
  58. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/std_boolean_as_text.py +0 -0
  59. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/std_boolean_from_number.py +0 -0
  60. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/std_boolean_from_text.py +0 -0
  61. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/std_boolean_is_equal.py +0 -0
  62. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_boolean/runtime_functions/std_boolean_negate.py +0 -0
  63. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/__init__.py +0 -0
  64. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/data_types/__init__.py +0 -0
  65. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/data_types/color.py +0 -0
  66. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/__init__.py +0 -0
  67. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/std_color_as_hex.py +0 -0
  68. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/std_color_as_hsl.py +0 -0
  69. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/std_color_as_rgb.py +0 -0
  70. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/std_color_from_hex.py +0 -0
  71. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/std_color_from_hsl.py +0 -0
  72. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_color/runtime_functions/std_color_from_rgb.py +0 -0
  73. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/__init__.py +0 -0
  74. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/data_types/__init__.py +0 -0
  75. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/data_types/comparator.py +0 -0
  76. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/data_types/consumer.py +0 -0
  77. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/data_types/predicate.py +0 -0
  78. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/data_types/runnable.py +0 -0
  79. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/data_types/transform.py +0 -0
  80. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/runtime_functions/__init__.py +0 -0
  81. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/runtime_functions/std_control_if.py +0 -0
  82. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/runtime_functions/std_control_if_else.py +0 -0
  83. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/runtime_functions/std_control_return.py +0 -0
  84. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/runtime_functions/std_control_stop.py +0 -0
  85. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_control/runtime_functions/std_control_value.py +0 -0
  86. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/__init__.py +0 -0
  87. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/data_types/__init__.py +0 -0
  88. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/data_types/date.py +0 -0
  89. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/data_types/hour.py +0 -0
  90. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/data_types/minute.py +0 -0
  91. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/data_types/month.py +0 -0
  92. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/runtime_functions/__init__.py +0 -0
  93. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/runtime_functions/std_date_format.py +0 -0
  94. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/runtime_functions/std_date_from.py +0 -0
  95. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/runtime_functions/std_date_from_text.py +0 -0
  96. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/runtime_functions/std_date_from_unix.py +0 -0
  97. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_date/runtime_functions/std_date_now.py +0 -0
  98. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_file/__init__.py +0 -0
  99. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_file/data_types/__init__.py +0 -0
  100. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_file/data_types/file.py +0 -0
  101. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_file/runtime_functions/__init__.py +0 -0
  102. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_file/runtime_functions/std_file_size.py +0 -0
  103. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/__init__.py +0 -0
  104. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/__init__.py +0 -0
  105. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_auth_place.py +0 -0
  106. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_auth_type.py +0 -0
  107. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_auth_value.py +0 -0
  108. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_method.py +0 -0
  109. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_payload.py +0 -0
  110. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_request.py +0 -0
  111. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_response.py +0 -0
  112. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_schema.py +0 -0
  113. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_status_code.py +0 -0
  114. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/data_types/http_url.py +0 -0
  115. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/runtime_functions/__init__.py +0 -0
  116. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_http/runtime_functions/http_request_send.py +0 -0
  117. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/__init__.py +0 -0
  118. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/data_types/__init__.py +0 -0
  119. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/data_types/list.py +0 -0
  120. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/__init__.py +0 -0
  121. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_at.py +0 -0
  122. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_concat.py +0 -0
  123. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_filter.py +0 -0
  124. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_find.py +0 -0
  125. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_find_index.py +0 -0
  126. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_find_last.py +0 -0
  127. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_first.py +0 -0
  128. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_flat.py +0 -0
  129. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_for_each.py +0 -0
  130. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_index_of.py +0 -0
  131. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_is_empty.py +0 -0
  132. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_join.py +0 -0
  133. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_last.py +0 -0
  134. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_map.py +0 -0
  135. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_max.py +0 -0
  136. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_min.py +0 -0
  137. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_pop.py +0 -0
  138. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_push.py +0 -0
  139. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_remove.py +0 -0
  140. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_reverse.py +0 -0
  141. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_size.py +0 -0
  142. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_sort.py +0 -0
  143. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_sort_reverse.py +0 -0
  144. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_sum.py +0 -0
  145. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_list/runtime_functions/std_list_to_unique.py +0 -0
  146. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/__init__.py +0 -0
  147. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/data_types/__init__.py +0 -0
  148. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/data_types/number.py +0 -0
  149. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/__init__.py +0 -0
  150. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_abs.py +0 -0
  151. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_add.py +0 -0
  152. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_arccos.py +0 -0
  153. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_arcsin.py +0 -0
  154. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_arctan.py +0 -0
  155. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_as_text.py +0 -0
  156. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_clamp.py +0 -0
  157. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_cos.py +0 -0
  158. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_cosh.py +0 -0
  159. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_divide.py +0 -0
  160. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_euler.py +0 -0
  161. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_exponential.py +0 -0
  162. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_from_text.py +0 -0
  163. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_has_digits.py +0 -0
  164. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_is_equal.py +0 -0
  165. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_is_greater.py +0 -0
  166. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_is_less.py +0 -0
  167. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_is_positive.py +0 -0
  168. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_is_zero.py +0 -0
  169. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_ln.py +0 -0
  170. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_log.py +0 -0
  171. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_max.py +0 -0
  172. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_min.py +0 -0
  173. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_modulo.py +0 -0
  174. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_multiply.py +0 -0
  175. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_negate.py +0 -0
  176. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_pi.py +0 -0
  177. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_random_number.py +0 -0
  178. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_remove_digits.py +0 -0
  179. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_root.py +0 -0
  180. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_round.py +0 -0
  181. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_round_down.py +0 -0
  182. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_round_up.py +0 -0
  183. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_sin.py +0 -0
  184. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_sinh.py +0 -0
  185. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_square.py +0 -0
  186. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_square_root.py +0 -0
  187. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_subtract.py +0 -0
  188. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_number/runtime_functions/std_number_tan.py +0 -0
  189. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/__init__.py +0 -0
  190. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/data_types/__init__.py +0 -0
  191. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/data_types/object.py +0 -0
  192. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/data_types/type.py +0 -0
  193. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/runtime_functions/__init__.py +0 -0
  194. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/runtime_functions/std_object_contains_key.py +0 -0
  195. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/runtime_functions/std_object_get.py +0 -0
  196. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/runtime_functions/std_object_keys.py +0 -0
  197. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/runtime_functions/std_object_set.py +0 -0
  198. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_object/runtime_functions/std_object_size.py +0 -0
  199. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/__init__.py +0 -0
  200. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/data_types/__init__.py +0 -0
  201. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/data_types/text.py +0 -0
  202. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/data_types/text_encoding.py +0 -0
  203. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/__init__.py +0 -0
  204. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_append.py +0 -0
  205. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_as_bytes.py +0 -0
  206. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_at.py +0 -0
  207. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_byte_size.py +0 -0
  208. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_capitalize.py +0 -0
  209. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_chars.py +0 -0
  210. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_contains.py +0 -0
  211. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_decode.py +0 -0
  212. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_encode.py +0 -0
  213. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_ends_with.py +0 -0
  214. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_from_ascii.py +0 -0
  215. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_hex.py +0 -0
  216. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_index_of.py +0 -0
  217. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_insert.py +0 -0
  218. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_is_equal.py +0 -0
  219. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_length.py +0 -0
  220. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_lowercase.py +0 -0
  221. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_octal.py +0 -0
  222. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_prepend.py +0 -0
  223. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_remove.py +0 -0
  224. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_replace.py +0 -0
  225. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_replace_first.py +0 -0
  226. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_replace_last.py +0 -0
  227. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_reverse.py +0 -0
  228. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_split.py +0 -0
  229. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_starts_with.py +0 -0
  230. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_swapcase.py +0 -0
  231. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_to_ascii.py +0 -0
  232. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_trim.py +0 -0
  233. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/definitions/taurus_text/runtime_functions/std_text_uppercase.py +0 -0
  234. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/events.py +0 -0
  235. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/__init__.py +0 -0
  236. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/literal.py +0 -0
  237. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/module_builder.py +0 -0
  238. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/pydantic_codegen.py +0 -0
  239. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/schema.py +0 -0
  240. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/internal/tsgen.py +0 -0
  241. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/__init__.py +0 -0
  242. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/base.py +0 -0
  243. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/config.py +0 -0
  244. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/datatype.py +0 -0
  245. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/event.py +0 -0
  246. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/flow.py +0 -0
  247. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/function.py +0 -0
  248. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/runtime_event.py +0 -0
  249. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/manager/runtime_function.py +0 -0
  250. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/map/__init__.py +0 -0
  251. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/map/datatype.py +0 -0
  252. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/map/event.py +0 -0
  253. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/map/function.py +0 -0
  254. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/map/runtime_event.py +0 -0
  255. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/map/runtime_function.py +0 -0
  256. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/models/__init__.py +0 -0
  257. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/models/datatype.py +0 -0
  258. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/models/event.py +0 -0
  259. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/models/function.py +0 -0
  260. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/models/runtime_event.py +0 -0
  261. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/models/runtime_function.py +0 -0
  262. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/schema.py +0 -0
  263. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/hercules/types.py +0 -0
  264. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/setup.cfg +0 -0
  265. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/tests/test_datatype.py +0 -0
  266. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/tests/test_export.py +0 -0
  267. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/tests/test_index.py +0 -0
  268. {code0_hercules-1.4.5 → code0_hercules-1.5.0}/tests/test_literal.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code0-hercules
3
- Version: 1.4.5
3
+ Version: 1.5.0
4
4
  Summary: Python SDK for the hercules action runner
5
5
  License-Expression: MIT
6
6
  Project-URL: Repository, https://github.com/code0-tech/hercules
@@ -51,7 +51,7 @@ The built-in data types / functions in `hercules/definitions/` are **generated**
51
51
  release:
52
52
 
53
53
  ```bash
54
- uv run python scripts/build_definitions.py --version def-0.0.35
54
+ uv run python scripts/build_definitions.py --version def-0.0.36
55
55
  ```
56
56
 
57
57
  ## Build & release
@@ -70,7 +70,7 @@ git tag 0.1.0 && git push origin 0.1.0
70
70
  ```
71
71
 
72
72
  The `code0-definition` release used for the built-in definitions is controlled by
73
- the `HERCULES_DEFINITIONS_VERSION` repository variable (default `def-0.0.35`).
73
+ the `HERCULES_DEFINITIONS_VERSION` repository variable (default `def-0.0.36`).
74
74
 
75
75
  Build locally:
76
76
 
@@ -36,7 +36,7 @@ The built-in data types / functions in `hercules/definitions/` are **generated**
36
36
  release:
37
37
 
38
38
  ```bash
39
- uv run python scripts/build_definitions.py --version def-0.0.35
39
+ uv run python scripts/build_definitions.py --version def-0.0.36
40
40
  ```
41
41
 
42
42
  ## Build & release
@@ -55,7 +55,7 @@ git tag 0.1.0 && git push origin 0.1.0
55
55
  ```
56
56
 
57
57
  The `code0-definition` release used for the built-in definitions is controlled by
58
- the `HERCULES_DEFINITIONS_VERSION` repository variable (default `def-0.0.35`).
58
+ the `HERCULES_DEFINITIONS_VERSION` repository variable (default `def-0.0.36`).
59
59
 
60
60
  Build locally:
61
61
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code0-hercules
3
- Version: 1.4.5
3
+ Version: 1.5.0
4
4
  Summary: Python SDK for the hercules action runner
5
5
  License-Expression: MIT
6
6
  Project-URL: Repository, https://github.com/code0-tech/hercules
@@ -51,7 +51,7 @@ The built-in data types / functions in `hercules/definitions/` are **generated**
51
51
  release:
52
52
 
53
53
  ```bash
54
- uv run python scripts/build_definitions.py --version def-0.0.35
54
+ uv run python scripts/build_definitions.py --version def-0.0.36
55
55
  ```
56
56
 
57
57
  ## Build & release
@@ -70,7 +70,7 @@ git tag 0.1.0 && git push origin 0.1.0
70
70
  ```
71
71
 
72
72
  The `code0-definition` release used for the built-in definitions is controlled by
73
- the `HERCULES_DEFINITIONS_VERSION` repository variable (default `def-0.0.35`).
73
+ the `HERCULES_DEFINITIONS_VERSION` repository variable (default `def-0.0.36`).
74
74
 
75
75
  Build locally:
76
76
 
@@ -233,6 +233,7 @@ hercules/definitions/taurus_text/runtime_functions/std_text_trim.py
233
233
  hercules/definitions/taurus_text/runtime_functions/std_text_uppercase.py
234
234
  hercules/internal/__init__.py
235
235
  hercules/internal/connection.py
236
+ hercules/internal/jwt.py
236
237
  hercules/internal/literal.py
237
238
  hercules/internal/module_builder.py
238
239
  hercules/internal/pydantic_codegen.py
@@ -12,6 +12,8 @@ import grpc
12
12
  from tucana.generated.aquila import action_pb2, action_pb2_grpc
13
13
  from tucana.generated.shared import module_pb2
14
14
 
15
+ from hercules.internal.jwt import build_logon_token
16
+
15
17
 
16
18
  async def create_connection(
17
19
  module: module_pb2.Module,
@@ -22,8 +24,10 @@ async def create_connection(
22
24
  channel = grpc.aio.insecure_channel(aquila_url, options=grpc_options)
23
25
  stub = action_pb2_grpc.ActionTransferServiceStub(channel)
24
26
 
27
+ logon_token = build_logon_token(auth_token, module.identifier)
28
+
25
29
  # Bi-directional stream. Authorization is passed as call metadata.
26
- stream = stub.Transfer(metadata=(("authorization", auth_token),))
30
+ stream = stub.Transfer(metadata=(("authorization", logon_token),))
27
31
 
28
32
  await stream.write(
29
33
  action_pb2.ActionTransferRequest(
@@ -0,0 +1,28 @@
1
+ from __future__ import annotations
2
+
3
+ import base64
4
+ import hashlib
5
+ import hmac
6
+ import json
7
+ import time
8
+
9
+ TOKEN_LIFETIME_SECS = 300
10
+
11
+ _HEADER = base64.urlsafe_b64encode(
12
+ json.dumps({"alg": "HS256", "typ": "JWT"}, separators=(",", ":")).encode()
13
+ ).rstrip(b"=")
14
+
15
+
16
+ def build_logon_token(secret: str, identifier: str) -> str:
17
+ payload = base64.urlsafe_b64encode(
18
+ json.dumps(
19
+ {"sub": identifier, "exp": int(time.time()) + TOKEN_LIFETIME_SECS},
20
+ separators=(",", ":"),
21
+ ).encode()
22
+ ).rstrip(b"=")
23
+
24
+ signing_input = _HEADER + b"." + payload
25
+ signature = hmac.new(secret.encode(), signing_input, hashlib.sha256).digest()
26
+ encoded_signature = base64.urlsafe_b64encode(signature).rstrip(b"=")
27
+
28
+ return (signing_input + b"." + encoded_signature).decode()
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "code0-hercules"
7
- version = "1.4.5"
7
+ version = "1.5.0"
8
8
  description = "Python SDK for the hercules action runner"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"