pythagoras 0.23.19__tar.gz → 0.24.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 (65) hide show
  1. {pythagoras-0.23.19 → pythagoras-0.24.0}/PKG-INFO +1 -1
  2. {pythagoras-0.23.19 → pythagoras-0.24.0}/pyproject.toml +1 -1
  3. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_030_data_portals/data_portal_core_classes.py +2 -2
  4. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/logging_portal_core_classes.py +6 -6
  5. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_080_pure_code_portals/pure_core_classes.py +2 -2
  6. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_090_swarming_portals/swarming_portals.py +2 -2
  7. {pythagoras-0.23.19 → pythagoras-0.24.0}/README.md +0 -0
  8. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/.DS_Store +0 -0
  9. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/__init__.py +0 -0
  10. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/basic_portal_core_classes.py +0 -0
  11. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/exceptions.py +0 -0
  12. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/long_infoname.py +0 -0
  13. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/not_picklable_class.py +0 -0
  14. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/portal_tester.py +0 -0
  15. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_010_basic_portals/post_init_metaclass.py +0 -0
  16. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_020_ordinary_code_portals/__init__.py +0 -0
  17. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_020_ordinary_code_portals/code_normalizer.py +0 -0
  18. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_020_ordinary_code_portals/function_processing.py +0 -0
  19. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_020_ordinary_code_portals/ordinary_decorator.py +0 -0
  20. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_020_ordinary_code_portals/ordinary_portal_core_classes.py +0 -0
  21. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_030_data_portals/__init__.py +0 -0
  22. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_030_data_portals/ready_and_get.py +0 -0
  23. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_030_data_portals/storable_decorator.py +0 -0
  24. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/__init__.py +0 -0
  25. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/exception_processing_tracking.py +0 -0
  26. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/execution_environment_summary.py +0 -0
  27. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/kw_args.py +0 -0
  28. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/logging_decorator.py +0 -0
  29. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/notebook_checker.py +0 -0
  30. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/output_capturer.py +0 -0
  31. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_040_logging_code_portals/uncaught_exceptions.py +0 -0
  32. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_050_safe_code_portals/__init__.py +0 -0
  33. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_050_safe_code_portals/safe_decorator.py +0 -0
  34. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_050_safe_code_portals/safe_portal_core_classes.py +0 -0
  35. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_060_autonomous_code_portals/__init__.py +0 -0
  36. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_060_autonomous_code_portals/autonomous_decorators.py +0 -0
  37. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py +0 -0
  38. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_060_autonomous_code_portals/names_usage_analyzer.py +0 -0
  39. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/__init__.py +0 -0
  40. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/basic_pre_validators.py +0 -0
  41. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/fn_arg_names_checker.py +0 -0
  42. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/list_flattener.py +0 -0
  43. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/package_manager.py +0 -0
  44. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/protected_decorators.py +0 -0
  45. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/protected_portal_core_classes.py +0 -0
  46. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/system_utils.py +0 -0
  47. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_070_protected_code_portals/validation_succesful_const.py +0 -0
  48. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_080_pure_code_portals/__init__.py +0 -0
  49. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_080_pure_code_portals/pure_decorator.py +0 -0
  50. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_080_pure_code_portals/recursion_pre_validator.py +0 -0
  51. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_090_swarming_portals/__init__.py +0 -0
  52. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_090_swarming_portals/output_suppressor.py +0 -0
  53. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_100_top_level_API/__init__.py +0 -0
  54. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_100_top_level_API/default_local_portal.py +0 -0
  55. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_100_top_level_API/top_level_API.py +0 -0
  56. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_800_signatures_and_converters/__init__.py +0 -0
  57. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_800_signatures_and_converters/base_16_32_convertors.py +0 -0
  58. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_800_signatures_and_converters/current_date_gmt_str.py +0 -0
  59. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_800_signatures_and_converters/hash_signatures.py +0 -0
  60. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_800_signatures_and_converters/node_signature.py +0 -0
  61. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_800_signatures_and_converters/random_signatures.py +0 -0
  62. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_900_project_stats_collector/__init__.py +0 -0
  63. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/_900_project_stats_collector/project_analyzer.py +0 -0
  64. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/__init__.py +0 -0
  65. {pythagoras-0.23.19 → pythagoras-0.24.0}/src/pythagoras/core/__init__.py +0 -0
@@ -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
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "pythagoras"
7
- version = "0.23.19"
7
+ version = "0.24.0"
8
8
  authors = [
9
9
  {name = "Volodymyr (Vlad) Pavlov", email = "vlpavlov@ieee.org"},
10
10
  ]
@@ -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
 
File without changes