pythagoras 0.23.19__py3-none-any.whl → 0.24.0__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.
@@ -75,7 +75,7 @@ class DataPortal(OrdinaryCodePortal):
75
75
  config_settings_prototype = self._root_dict.get_subdict("config_settings")
76
76
  config_settings_params = config_settings_prototype.get_params()
77
77
  config_settings_params.update(
78
- digest_len=0, immutable_items=False, file_type="pkl")
78
+ digest_len=0, append_only=False, serialization_format="pkl")
79
79
  config_settings = type(self._root_dict)(**config_settings_params)
80
80
  self._config_settings = config_settings
81
81
 
@@ -90,7 +90,7 @@ class DataPortal(OrdinaryCodePortal):
90
90
  value_store_prototype = self._root_dict.get_subdict("value_store")
91
91
  value_store_params = value_store_prototype.get_params()
92
92
  value_store_params.update(
93
- digest_len=0, immutable_items=True, file_type = "pkl")
93
+ digest_len=0, append_only=True, serialization_format = "pkl")
94
94
  value_store = type(self._root_dict)(**value_store_params)
95
95
  value_store = WriteOnceDict(value_store, 0)
96
96
  self._value_store = value_store
@@ -551,13 +551,13 @@ class LoggingCodePortal(DataPortal):
551
551
  crash_history_prototype = self._root_dict.get_subdict("crash_history")
552
552
  crash_history_params = crash_history_prototype.get_params()
553
553
  crash_history_params.update(
554
- dict(file_type="json", immutable_items=True , digest_len=0))
554
+ dict(serialization_format="json", append_only=True , digest_len=0))
555
555
  self._crash_history = type(self._root_dict)(**crash_history_params)
556
556
 
557
557
  event_history_prototype = self._root_dict.get_subdict("event_history")
558
558
  event_history_params = event_history_prototype.get_params()
559
559
  event_history_params.update(
560
- dict(file_type="json", immutable_items=True, digest_len=0))
560
+ dict(serialization_format="json", append_only=True, digest_len=0))
561
561
  self._event_history = type(self._root_dict)(**event_history_params)
562
562
 
563
563
  run_history_prototype = self._root_dict.get_subdict("run_history")
@@ -566,10 +566,10 @@ class LoggingCodePortal(DataPortal):
566
566
  run_history = OverlappingMultiDict(
567
567
  dict_type=dict_type
568
568
  , shared_subdicts_params=run_history_shared_params
569
- , json=dict(immutable_items=True)
570
- , py=dict(base_class_for_values=str, immutable_items=False) # Immutable items????
571
- , txt=dict(base_class_for_values=str, immutable_items=True)
572
- , pkl=dict(immutable_items=True)
569
+ , json=dict(append_only=True)
570
+ , py=dict(base_class_for_values=str, append_only=False) # Immutable items????
571
+ , txt=dict(base_class_for_values=str, append_only=True)
572
+ , pkl=dict(append_only=True)
573
573
  )
574
574
  self._run_history = run_history
575
575
 
@@ -68,7 +68,7 @@ class PureCodePortal(ProtectedCodePortal):
68
68
  results_dict_prototype = self._root_dict.get_subdict(
69
69
  "execution_results")
70
70
  results_dict_params = results_dict_prototype.get_params()
71
- results_dict_params.update(immutable_items=True, file_type = "pkl")
71
+ results_dict_params.update(append_only=True, serialization_format = "pkl")
72
72
  execution_results = type(self._root_dict)(**results_dict_params)
73
73
  execution_results = WriteOnceDict(execution_results, 0)
74
74
  self._execution_results = execution_results
@@ -76,7 +76,7 @@ class PureCodePortal(ProtectedCodePortal):
76
76
  requests_dict_prototype = self._root_dict.get_subdict(
77
77
  "execution_requests")
78
78
  requests_dict_params = requests_dict_prototype.get_params()
79
- requests_dict_params.update(immutable_items=False, file_type="pkl")
79
+ requests_dict_params.update(append_only=False, serialization_format="pkl")
80
80
  execution_requests = type(self._root_dict)(**requests_dict_params)
81
81
  self._execution_requests = execution_requests
82
82
 
@@ -77,8 +77,8 @@ class SwarmingPortal(PureCodePortal):
77
77
  compute_nodes = OverlappingMultiDict(
78
78
  dict_type=dict_type
79
79
  , shared_subdicts_params=compute_nodes_shared_params
80
- , json=dict(immutable_items=False)
81
- , pkl=dict(immutable_items=False)
80
+ , json=dict(append_only=False)
81
+ , pkl=dict(append_only=False)
82
82
  )
83
83
  self._compute_nodes = compute_nodes
84
84
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pythagoras
3
- Version: 0.23.19
3
+ Version: 0.24.0
4
4
  Summary: Planet-scale distributed computing in Python.
5
5
  Keywords: cloud,ML,AI,serverless,distributed,parallel,machine-learning,deep-learning,pythagoras
6
6
  Author: Volodymyr (Vlad) Pavlov
@@ -12,7 +12,7 @@ pythagoras/_020_ordinary_code_portals/function_processing.py,sha256=rlhB0dpaUztv
12
12
  pythagoras/_020_ordinary_code_portals/ordinary_decorator.py,sha256=J4qx03NEEgpYWvg4D8UkAL0PdtAt2sQyMN1op6LMFsA,1028
13
13
  pythagoras/_020_ordinary_code_portals/ordinary_portal_core_classes.py,sha256=bY2Hzy19lTezv96dSc1l5SsaGxNkMTOq8IsfnkdV1wY,9743
14
14
  pythagoras/_030_data_portals/__init__.py,sha256=f_F9DCmuVgPMgzwRjuNj6FI63S3oXu7lj3zU66Nw7Hc,1427
15
- pythagoras/_030_data_portals/data_portal_core_classes.py,sha256=6MPs9hIzvSro-6UBWa_Ph1wOQsgjj8pwTaerVF-r4bE,20406
15
+ pythagoras/_030_data_portals/data_portal_core_classes.py,sha256=_K7diNol7Wl0YLUI2VC3cn7djm0wFQ7rcvflpyIP84w,20420
16
16
  pythagoras/_030_data_portals/ready_and_get.py,sha256=UKiQHkLhdAdvEwP5BTdoAnp4XEs7HDGx6026M2eMuc0,2842
17
17
  pythagoras/_030_data_portals/storable_decorator.py,sha256=l8W3GhVmIscgjoCTGq3tmdehKGDLIVnFbTM-GW-1G4g,578
18
18
  pythagoras/_040_logging_code_portals/__init__.py,sha256=q2hVyOVgE-9Ru3ycilK98YS9Rat8tSc6erd7AtGxpaA,996
@@ -20,7 +20,7 @@ pythagoras/_040_logging_code_portals/exception_processing_tracking.py,sha256=sU-
20
20
  pythagoras/_040_logging_code_portals/execution_environment_summary.py,sha256=hTvTbadYAtisZ4H8rq-n_hsKPCS38jsSz8lw_A1DIqY,2268
21
21
  pythagoras/_040_logging_code_portals/kw_args.py,sha256=4EYpPrr2xCgFAarmdFRKlEvGhIHC9kk9kc-VPW4S-XA,2717
22
22
  pythagoras/_040_logging_code_portals/logging_decorator.py,sha256=079w2_Z5HhXFLrgyXQekjuOby9CdUgFUGRbRT5lpujU,891
23
- pythagoras/_040_logging_code_portals/logging_portal_core_classes.py,sha256=JgULrn--nrQnqknUT5eEEq24pbgn-ec8zNss-AIHGyo,21970
23
+ pythagoras/_040_logging_code_portals/logging_portal_core_classes.py,sha256=8jDjprlnpo7cXW9dhv-VdVF8eCMRRRTPZngol5xjiqw,21968
24
24
  pythagoras/_040_logging_code_portals/notebook_checker.py,sha256=5lQJDIDzhRIRSmX1T88nAREMEMoDDFf0OIKcvTpnhzk,541
25
25
  pythagoras/_040_logging_code_portals/output_capturer.py,sha256=ohCp6qqxL7IuJGfnFuCIgj5Oc4HmC8c7uZGE_uzWkZk,4216
26
26
  pythagoras/_040_logging_code_portals/uncaught_exceptions.py,sha256=B3bPvX5nnJJx4JjLSGdl1xXOBU2pqo3CP-MomJAfXaE,3121
@@ -41,12 +41,12 @@ pythagoras/_070_protected_code_portals/protected_portal_core_classes.py,sha256=Z
41
41
  pythagoras/_070_protected_code_portals/system_utils.py,sha256=h4oiEQFAyFKzqvd0ywwAI0WDYKSuIh_vif86XQIXYwE,2360
42
42
  pythagoras/_070_protected_code_portals/validation_succesful_const.py,sha256=4NWGwN5Gu6kbbHTMkmJs8Ym0rFee_cIE2VlAPonmlJI,298
43
43
  pythagoras/_080_pure_code_portals/__init__.py,sha256=OI7836lLHT51SYdFfmWp4GdGRgcAkpLiAj-Zj_g2Gxo,1052
44
- pythagoras/_080_pure_code_portals/pure_core_classes.py,sha256=EaJEvx8CH4523APjsEgc5LkKFV0h5se7F4o2Xy-XUfs,20441
44
+ pythagoras/_080_pure_code_portals/pure_core_classes.py,sha256=6AjtE9QdiG84e9WuJtsrvkuHTRC4MovC31xItGn2PD8,20455
45
45
  pythagoras/_080_pure_code_portals/pure_decorator.py,sha256=WHZQzmyxgCpALHrqfeiOMrM6TDkZcv0Y2b756ez4Q2k,2279
46
46
  pythagoras/_080_pure_code_portals/recursion_pre_validator.py,sha256=n03ooGISJvuwNWteBN9t7CFFSLYAu86AHHFJVcywPqg,1865
47
47
  pythagoras/_090_swarming_portals/__init__.py,sha256=TuA17PftTBudptAblNtBlD46BqUiitksOtf3y01QKm0,514
48
48
  pythagoras/_090_swarming_portals/output_suppressor.py,sha256=g-bMm8xioia6uxFlkS71CV6pSEmc5RNqdRasi1RSJgc,626
49
- pythagoras/_090_swarming_portals/swarming_portals.py,sha256=is47E5fxziUKMDJciZG0s4-jYjMln3f51eUt_fWTufs,12294
49
+ pythagoras/_090_swarming_portals/swarming_portals.py,sha256=YKs7JDUp7ifqZSSkkAVkJ73IdyxCwkvArQW9C-cCIfk,12286
50
50
  pythagoras/_100_top_level_API/__init__.py,sha256=s5LtwskY2nwkRPFKzP0PrCzQ1c9oScZO0kM9_bWLi3U,64
51
51
  pythagoras/_100_top_level_API/default_local_portal.py,sha256=SnykTpTXg1KuT1qwDnrAZ63lYshMy-0nNiUgoOVMxCs,339
52
52
  pythagoras/_100_top_level_API/top_level_API.py,sha256=S2NXW4bfL98o6Txn6NM0EeBb1nzwFtPSl-yWNevAQIE,906
@@ -60,6 +60,6 @@ pythagoras/_900_project_stats_collector/__init__.py,sha256=Eagt-BhPPtBGgpMywx2lk
60
60
  pythagoras/_900_project_stats_collector/project_analyzer.py,sha256=uhycFKjUIXEpYcZYnak3yn4JFhchl-oZ7wt6spFxhoY,3574
61
61
  pythagoras/__init__.py,sha256=TMPtJdSi_WShCpJnsVVdO48Wcvs78GMbUi5gHc1eMLw,1233
62
62
  pythagoras/core/__init__.py,sha256=cXtQ-Vbm8TqzazvkFws5cV3AEEYbEKzNXYeuHeLGFK0,328
63
- pythagoras-0.23.19.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
64
- pythagoras-0.23.19.dist-info/METADATA,sha256=mt8R2ABYjQAvwEH_Mpi3enG3Z8eBTYevJ-UTPWF3Ddk,7450
65
- pythagoras-0.23.19.dist-info/RECORD,,
63
+ pythagoras-0.24.0.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
64
+ pythagoras-0.24.0.dist-info/METADATA,sha256=oCp51VLtdtZ93XR25Nv-FQIu-VG0rU770nm6WWug_vU,7449
65
+ pythagoras-0.24.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.17
2
+ Generator: uv 0.8.22
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any