pythagoras 0.23.2__tar.gz → 0.23.4__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.2 → pythagoras-0.23.4}/PKG-INFO +9 -5
  2. {pythagoras-0.23.2 → pythagoras-0.23.4}/README.md +7 -4
  3. {pythagoras-0.23.2 → pythagoras-0.23.4}/pyproject.toml +2 -1
  4. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py +3 -2
  5. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/protected_portal_core_classes.py +6 -4
  6. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/.DS_Store +0 -0
  7. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/__init__.py +0 -0
  8. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/basic_portal_core_classes.py +0 -0
  9. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/exceptions.py +0 -0
  10. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/long_infoname.py +0 -0
  11. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/not_picklable_class.py +0 -0
  12. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/portal_tester.py +0 -0
  13. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_010_basic_portals/post_init_metaclass.py +0 -0
  14. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_020_ordinary_code_portals/__init__.py +0 -0
  15. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_020_ordinary_code_portals/code_normalizer.py +0 -0
  16. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_020_ordinary_code_portals/function_processing.py +0 -0
  17. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_020_ordinary_code_portals/ordinary_decorator.py +0 -0
  18. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_020_ordinary_code_portals/ordinary_portal_core_classes.py +0 -0
  19. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_030_data_portals/__init__.py +0 -0
  20. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_030_data_portals/data_portal_core_classes.py +0 -0
  21. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_030_data_portals/ready_and_get.py +0 -0
  22. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_030_data_portals/storable_decorator.py +0 -0
  23. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/__init__.py +0 -0
  24. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/exception_processing_tracking.py +0 -0
  25. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/execution_environment_summary.py +0 -0
  26. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/kw_args.py +0 -0
  27. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/logging_decorator.py +0 -0
  28. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/logging_portal_core_classes.py +0 -0
  29. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/notebook_checker.py +0 -0
  30. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/output_capturer.py +0 -0
  31. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_040_logging_code_portals/uncaught_exceptions.py +0 -0
  32. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_050_safe_code_portals/__init__.py +0 -0
  33. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_050_safe_code_portals/safe_decorator.py +0 -0
  34. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_050_safe_code_portals/safe_portal_core_classes.py +0 -0
  35. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_060_autonomous_code_portals/__init__.py +0 -0
  36. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_060_autonomous_code_portals/autonomous_decorators.py +0 -0
  37. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_060_autonomous_code_portals/names_usage_analyzer.py +0 -0
  38. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/__init__.py +0 -0
  39. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/basic_pre_validators.py +0 -0
  40. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/fn_arg_names_checker.py +0 -0
  41. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/list_flattener.py +0 -0
  42. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/package_manager.py +0 -0
  43. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/protected_decorators.py +0 -0
  44. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/system_utils.py +0 -0
  45. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/validation_succesful_const.py +0 -0
  46. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_070_protected_code_portals/validator_fn_classes.py +0 -0
  47. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_080_pure_code_portals/__init__.py +0 -0
  48. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_080_pure_code_portals/pure_core_classes.py +0 -0
  49. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_080_pure_code_portals/pure_decorator.py +0 -0
  50. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_090_swarming_portals/__init__.py +0 -0
  51. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_090_swarming_portals/output_suppressor.py +0 -0
  52. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_090_swarming_portals/swarming_portals.py +0 -0
  53. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_100_top_level_API/__init__.py +0 -0
  54. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_100_top_level_API/default_local_portal.py +0 -0
  55. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_100_top_level_API/top_level_API.py +0 -0
  56. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_800_signatures_and_converters/__init__.py +0 -0
  57. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_800_signatures_and_converters/base_16_32_convertors.py +0 -0
  58. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_800_signatures_and_converters/current_date_gmt_str.py +0 -0
  59. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_800_signatures_and_converters/hash_signatures.py +0 -0
  60. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_800_signatures_and_converters/node_signatures.py +0 -0
  61. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_800_signatures_and_converters/random_signatures.py +0 -0
  62. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_900_project_stats_collector/__init__.py +0 -0
  63. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/_900_project_stats_collector/project_analyzer.py +0 -0
  64. {pythagoras-0.23.2 → pythagoras-0.23.4}/src/pythagoras/__init__.py +0 -0
  65. {pythagoras-0.23.2 → pythagoras-0.23.4}/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.2
3
+ Version: 0.23.4
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
@@ -26,6 +26,7 @@ Requires-Dist: jsonpickle
26
26
  Requires-Dist: psutil
27
27
  Requires-Dist: autopep8
28
28
  Requires-Dist: deepdiff
29
+ Requires-Dist: numpy
29
30
  Requires-Dist: pytest
30
31
  Requires-Dist: boto3
31
32
  Requires-Dist: moto
@@ -70,7 +71,7 @@ with intelligent data and code change tracking;
70
71
  * simple and budget-friendly orchestration backend.
71
72
 
72
73
  Pythagoras excels at optimizing complex, long-running,
73
- resource-demanding computations. It’s not the optimal choice for real-time,
74
+ resource-demanding computations. It’s not the best choice for real-time,
74
75
  latency-sensitive workflows.
75
76
 
76
77
  ## Usage
@@ -82,6 +83,9 @@ that were previously out of reach.
82
83
  * `Introduction to Pythagoras` notebook:
83
84
  https://colab.research.google.com/drive/117rAtaWxjfSubzGx0shgqNjONY3E5jgd
84
85
 
86
+
87
+ **!!! BOOKMARK THIS PAGE AND COME BACK LATER, WE WILL PUBLISH MORE TUTORIALS SOON !!!**
88
+
85
89
  ## How to get it?
86
90
 
87
91
  The source code is hosted on GitHub at: https://github.com/pythagoras-dev/pythagoras
@@ -102,6 +106,7 @@ pip install pythagoras
102
106
  ## Dependencies
103
107
 
104
108
  * [persidict](https://pypi.org/project/persidict)
109
+ * [parameterizable](https://pypi.org/project/parameterizable/)
105
110
  * [jsonpickle](https://jsonpickle.github.io)
106
111
  * [joblib](https://joblib.readthedocs.io)
107
112
  * [lz4](https://python-lz4.readthedocs.io)
@@ -116,10 +121,9 @@ pip install pythagoras
116
121
  * [jsonpickle](https://jsonpickle.github.io)
117
122
  * [scikit-learn](https://scikit-learn.org)
118
123
  * [autopep8](https://pypi.org/project/autopep8)
119
- * [pytorch](https://pytorch.org)
120
- * [tensorflow](https://www.tensorflow.org)
121
- * [keras](https://keras.io)
122
124
  * [deepdiff](https://zepworks.com/deepdiff/current/)
125
+ * [nvidia-ml-p](https://pypi.org/project/nvidia-ml-py/)
126
+ * [uv](https://docs.astral.sh/uv/)
123
127
 
124
128
  ## Key Contacts
125
129
 
@@ -19,7 +19,7 @@ with intelligent data and code change tracking;
19
19
  * simple and budget-friendly orchestration backend.
20
20
 
21
21
  Pythagoras excels at optimizing complex, long-running,
22
- resource-demanding computations. It’s not the optimal choice for real-time,
22
+ resource-demanding computations. It’s not the best choice for real-time,
23
23
  latency-sensitive workflows.
24
24
 
25
25
  ## Usage
@@ -31,6 +31,9 @@ that were previously out of reach.
31
31
  * `Introduction to Pythagoras` notebook:
32
32
  https://colab.research.google.com/drive/117rAtaWxjfSubzGx0shgqNjONY3E5jgd
33
33
 
34
+
35
+ **!!! BOOKMARK THIS PAGE AND COME BACK LATER, WE WILL PUBLISH MORE TUTORIALS SOON !!!**
36
+
34
37
  ## How to get it?
35
38
 
36
39
  The source code is hosted on GitHub at: https://github.com/pythagoras-dev/pythagoras
@@ -51,6 +54,7 @@ pip install pythagoras
51
54
  ## Dependencies
52
55
 
53
56
  * [persidict](https://pypi.org/project/persidict)
57
+ * [parameterizable](https://pypi.org/project/parameterizable/)
54
58
  * [jsonpickle](https://jsonpickle.github.io)
55
59
  * [joblib](https://joblib.readthedocs.io)
56
60
  * [lz4](https://python-lz4.readthedocs.io)
@@ -65,10 +69,9 @@ pip install pythagoras
65
69
  * [jsonpickle](https://jsonpickle.github.io)
66
70
  * [scikit-learn](https://scikit-learn.org)
67
71
  * [autopep8](https://pypi.org/project/autopep8)
68
- * [pytorch](https://pytorch.org)
69
- * [tensorflow](https://www.tensorflow.org)
70
- * [keras](https://keras.io)
71
72
  * [deepdiff](https://zepworks.com/deepdiff/current/)
73
+ * [nvidia-ml-p](https://pypi.org/project/nvidia-ml-py/)
74
+ * [uv](https://docs.astral.sh/uv/)
72
75
 
73
76
  ## Key Contacts
74
77
 
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "pythagoras"
7
- version = "0.23.2"
7
+ version = "0.23.4"
8
8
  authors = [
9
9
  {name = "Volodymyr (Vlad) Pavlov", email = "vlpavlov@ieee.org"},
10
10
  ]
@@ -36,6 +36,7 @@ dependencies = [
36
36
  "psutil",
37
37
  "autopep8",
38
38
  "deepdiff",
39
+ "numpy",
39
40
  "pytest",
40
41
  "boto3",
41
42
  "moto",
@@ -152,6 +152,7 @@ class AutonomousFn(SafeFn):
152
152
  """
153
153
  super()._invalidate_cache()
154
154
  if hasattr(self, "_fixed_kwargs_cached"):
155
- assert (hasattr(self, "_fixed_kwargs_packed")
156
- , "Premature cache invalidation: fixed_kwargs_packed is missing.")
155
+ if not hasattr(self, "_fixed_kwargs_packed"):
156
+ raise AttributeError("Premature cache invalidation: "
157
+ "fixed_kwargs_packed is missing.")
157
158
  del self._fixed_kwargs_cached
@@ -222,10 +222,12 @@ class ProtectedFn(AutonomousFn):
222
222
  """
223
223
  super()._invalidate_cache()
224
224
  if hasattr(self, "_post_validators_cached"):
225
- assert (hasattr(self, "_post_validators_addrs")
226
- , "Premature cache invalidation: _post_validators_addrs is missing.")
225
+ if not hasattr(self, "_post_validators_addrs"):
226
+ raise AttributeError("Premature cache invalidation: "
227
+ "_post_validators_addrs is missing.")
227
228
  del self._post_validators_cached
228
229
  if hasattr(self, "_pre_validators_cached"):
229
- assert (hasattr(self, "_pre_validators_addrs")
230
- , "Premature cache invalidation: _pre_validators_addrs is missing.")
230
+ if not hasattr(self, "_pre_validators_addrs"):
231
+ raise AttributeError("Premature cache invalidation: "
232
+ "_pre_validators_addrs is missing.")
231
233
  del self._pre_validators_cached