pybiolib 1.1.1360__tar.gz → 1.1.1365__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 (100) hide show
  1. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/PKG-INFO +1 -1
  2. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/app/app.py +11 -6
  3. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/biolib_job_api.py +4 -0
  4. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/pyproject.toml +1 -1
  5. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/LICENSE +0 -0
  6. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/README.md +0 -0
  7. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/__init__.py +0 -0
  8. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/api/__init__.py +0 -0
  9. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/api/client.py +0 -0
  10. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/app/__init__.py +0 -0
  11. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/app/search_apps.py +0 -0
  12. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/__init__.py +0 -0
  13. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/api_client.py +0 -0
  14. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/app_types.py +0 -0
  15. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/auth.py +0 -0
  16. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/biolib_account_api.py +0 -0
  17. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/biolib_app_api.py +0 -0
  18. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/biolib_large_file_system_api.py +0 -0
  19. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/common_types.py +0 -0
  20. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/job_types.py +0 -0
  21. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/lfs_types.py +0 -0
  22. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_api_client/user_state.py +0 -0
  23. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/__init__.py +0 -0
  24. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/base_bbf_package.py +0 -0
  25. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/file_in_container.py +0 -0
  26. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/module_input.py +0 -0
  27. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/module_output_v2.py +0 -0
  28. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/remote_endpoints.py +0 -0
  29. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/remote_stream_seeker.py +0 -0
  30. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/saved_job.py +0 -0
  31. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/stdout_and_stderr.py +0 -0
  32. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/system_exception.py +0 -0
  33. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/system_status_update.py +0 -0
  34. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_binary_format/utils.py +0 -0
  35. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_docker_client/__init__.py +0 -0
  36. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_errors.py +0 -0
  37. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_logging.py +0 -0
  38. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/biolib_push.py +0 -0
  39. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/__init__.py +0 -0
  40. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/init.py +0 -0
  41. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/lfs.py +0 -0
  42. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/push.py +0 -0
  43. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/run.py +0 -0
  44. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/runtime.py +0 -0
  45. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/cli/start.py +0 -0
  46. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/.gitignore +0 -0
  47. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/__init__.py +0 -0
  48. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/cloud_utils/__init__.py +0 -0
  49. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/cloud_utils/cloud_utils.py +0 -0
  50. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/__init__.py +0 -0
  51. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/cache_state.py +0 -0
  52. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/cache_types.py +0 -0
  53. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/docker_image_cache.py +0 -0
  54. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/executors/__init__.py +0 -0
  55. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/executors/docker_executor.py +0 -0
  56. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/executors/docker_types.py +0 -0
  57. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/executors/tars/__init__.py +0 -0
  58. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/executors/types.py +0 -0
  59. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/job_legacy_input_wait_timeout_thread.py +0 -0
  60. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/job_max_runtime_timer_thread.py +0 -0
  61. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/job_storage.py +0 -0
  62. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/job_worker.py +0 -0
  63. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/large_file_system.py +0 -0
  64. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/mappings.py +0 -0
  65. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/utilization_reporter_thread.py +0 -0
  66. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/job_worker/utils.py +0 -0
  67. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/remote_host_proxy.py +0 -0
  68. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/socker_listener_thread.py +0 -0
  69. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/socket_sender_thread.py +0 -0
  70. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/utils.py +0 -0
  71. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/webserver/__init__.py +0 -0
  72. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/webserver/gunicorn_flask_application.py +0 -0
  73. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/webserver/webserver.py +0 -0
  74. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/webserver/webserver_types.py +0 -0
  75. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/webserver/webserver_utils.py +0 -0
  76. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/compute_node/webserver/worker_thread.py +0 -0
  77. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/experiments/__init__.py +0 -0
  78. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/experiments/experiment.py +0 -0
  79. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/experiments/types.py +0 -0
  80. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/jobs/__init__.py +0 -0
  81. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/jobs/job.py +0 -0
  82. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/jobs/job_result.py +0 -0
  83. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/jobs/types.py +0 -0
  84. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/lfs/__init__.py +0 -0
  85. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/lfs/cache.py +0 -0
  86. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/lfs/utils.py +0 -0
  87. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/runtime/__init__.py +0 -0
  88. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/runtime/results.py +0 -0
  89. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/tables.py +0 -0
  90. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/templates/__init__.py +0 -0
  91. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/templates/example_app.py +0 -0
  92. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/typing_utils.py +0 -0
  93. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/user/__init__.py +0 -0
  94. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/user/sign_in.py +0 -0
  95. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/utils/__init__.py +0 -0
  96. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/utils/app_uri.py +0 -0
  97. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/utils/cache_state.py +0 -0
  98. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/utils/multipart_uploader.py +0 -0
  99. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/utils/seq_util.py +0 -0
  100. {pybiolib-1.1.1360 → pybiolib-1.1.1365}/biolib/utils/zip/remote_zip.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.1.1360
3
+ Version: 1.1.1365
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -55,6 +55,7 @@ class BioLibApp:
55
55
  experiment_id: Optional[str] = None,
56
56
  result_prefix: Optional[str] = None,
57
57
  timeout: Optional[int] = None,
58
+ notify: bool = False,
58
59
  ) -> Job:
59
60
  if not experiment_id:
60
61
  experiment = Experiment.get_experiment_in_context()
@@ -78,9 +79,10 @@ class BioLibApp:
78
79
  experiment_id=experiment_id,
79
80
  machine=machine,
80
81
  module_input_serialized=module_input_serialized,
82
+ notify=notify,
81
83
  override_command=override_command,
82
84
  result_prefix=result_prefix,
83
- timeout=timeout
85
+ timeout=timeout,
84
86
  )
85
87
  if blocking:
86
88
  # TODO: Deprecate utils.STREAM_STDOUT and always stream logs by simply calling job.stream_logs()
@@ -201,26 +203,29 @@ Example: "app.cli('--help')"
201
203
  experiment_id: Optional[str] = None,
202
204
  result_prefix: Optional[str] = None,
203
205
  timeout: Optional[int] = None,
206
+ notify: bool = False,
204
207
  ) -> Job:
205
208
  if len(module_input_serialized) < 500_000:
206
209
  _job_dict = BiolibJobApi.create_job_with_data(
207
- app_version_uuid=self._app_version['public_id'],
208
210
  app_resource_name_prefix=parse_app_uri(self._app_uri)['resource_name_prefix'],
211
+ app_version_uuid=self._app_version['public_id'],
209
212
  arguments_override_command=override_command,
210
213
  experiment_uuid=experiment_id,
211
214
  module_input_serialized=module_input_serialized,
215
+ notify=notify,
212
216
  requested_machine=machine,
213
- result_name_prefix=result_prefix,
214
217
  requested_timeout_seconds=timeout,
218
+ result_name_prefix=result_prefix,
215
219
  )
216
220
  return Job(cast(JobDict, _job_dict))
217
221
 
218
222
  job_dict: CreatedJobDict = BiolibJobApi.create(
219
- app_version_id=self._app_version['public_id'],
220
223
  app_resource_name_prefix=parse_app_uri(self._app_uri)['resource_name_prefix'],
221
- override_command=override_command,
222
- machine=machine,
224
+ app_version_id=self._app_version['public_id'],
223
225
  experiment_uuid=experiment_id,
226
+ machine=machine,
227
+ notify=notify,
228
+ override_command=override_command,
224
229
  timeout=timeout,
225
230
  )
226
231
  JobStorage.upload_module_input(job=job_dict, module_input_serialized=module_input_serialized)
@@ -49,10 +49,12 @@ class BiolibJobApi:
49
49
  machine='',
50
50
  experiment_uuid: Optional[str] = None,
51
51
  timeout: Optional[int] = None,
52
+ notify: bool = False,
52
53
  ):
53
54
  data = {
54
55
  'app_version_id': app_version_id,
55
56
  'client_type': 'biolib-python',
57
+ 'notify': notify,
56
58
  'client_version': BIOLIB_PACKAGE_VERSION,
57
59
  'client_opt_user_info': _get_user_info(),
58
60
  }
@@ -182,6 +184,7 @@ class BiolibJobApi:
182
184
  result_name_prefix: Optional[str],
183
185
  caller_job_uuid: Optional[str] = None,
184
186
  requested_timeout_seconds: Optional[int] = None,
187
+ notify: bool = False,
185
188
  ) -> Dict:
186
189
  job_dict: Dict = biolib.api.client.post(
187
190
  path='/jobs/create_job_with_data/',
@@ -199,6 +202,7 @@ class BiolibJobApi:
199
202
  'requested-machine': requested_machine,
200
203
  'result-name-prefix': result_name_prefix,
201
204
  'requested-timeout-seconds': str(requested_timeout_seconds) if requested_timeout_seconds else None,
205
+ 'notify': 'true' if notify else 'false',
202
206
  }
203
207
  ).json()
204
208
  return job_dict
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pybiolib"
3
- version = "1.1.1360"
3
+ version = "1.1.1365"
4
4
  description = "BioLib Python Client"
5
5
  readme = "README.md"
6
6
  license = "MIT"
File without changes
File without changes