pythagoras 0.21.3__py3-none-any.whl → 0.21.4__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.
@@ -1,3 +1,4 @@
1
+ from .._070_protected_code_portals import SimplePreValidatorFn
1
2
  from .._060_autonomous_code_portals import autonomous
2
3
  from .OK_const import OK, OKClass
3
4
  from .system_utils import *
@@ -44,7 +45,7 @@ def at_least_X_G_RAM_free_check(x:int)->bool|OKClass:
44
45
  def unused_ram(Gb:int):
45
46
  assert isinstance(Gb, int)
46
47
  assert Gb > 0
47
- return at_least_X_G_RAM_free_check.fix_kwargs(x=Gb)
48
+ return SimplePreValidatorFn(at_least_X_G_RAM_free_check.fix_kwargs(x=Gb))
48
49
 
49
50
  at_least_1_G_RAM_free = unused_ram(Gb=1)
50
51
  at_least_2_G_RAM_free = unused_ram(Gb=2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pythagoras
3
- Version: 0.21.3
3
+ Version: 0.21.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
@@ -33,7 +33,7 @@ pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py,sha256
33
33
  pythagoras/_060_autonomous_code_portals/names_usage_analyzer.py,sha256=1e0e84854ac630b204878fecde48a16739fd2663709fcee2ec0a8844f4fd4f13,7470
34
34
  pythagoras/_070_protected_code_portals/GPU_pre_validators.py,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
35
35
  pythagoras/_070_protected_code_portals/OK_const.py,sha256=17ea314496f44b422f9936585c3bb3749c960bc779b4f74962ec04e3fa4d2494,186
36
- pythagoras/_070_protected_code_portals/RAM_pre_validators.py,sha256=f2475cc5ae76dcdfd5973d43e244cc452792cafb2a09c0780405ad749085f57a,1648
36
+ pythagoras/_070_protected_code_portals/RAM_pre_validators.py,sha256=4fee1d8e8dd45bb9d3b4419c968919528defceae6fe89e55ceea43ca2ceae716,1733
37
37
  pythagoras/_070_protected_code_portals/__init__.py,sha256=4bb7fc29f18fc5018388f6f0c0f4ec66c29185f9e1396f9d106cc8c14ad61fc4,247
38
38
  pythagoras/_070_protected_code_portals/fn_arg_names_checker.py,sha256=e858ce5099868030a39057177f93a893e13d7a210582e6ab636aaaccec898fb0,1230
39
39
  pythagoras/_070_protected_code_portals/list_flattener.py,sha256=9a54b512ad9dc201db348e7908f5ca5f36d171ae3da433511d38023a6ba8d4b5,331
@@ -62,6 +62,6 @@ pythagoras/_900_project_stats_collector/__init__.py,sha256=e3b0c44298fc1c149afbf
62
62
  pythagoras/_900_project_stats_collector/project_analyzer.py,sha256=d06e9d7b516cb7424ef777e70abe9d5220e09b0b19476326b8974b4dc3917f89,3506
63
63
  pythagoras/__init__.py,sha256=13b5aaf4128704dea052fc03a3a3488f1b14c3638dec45a9a29c74a4fbed7e24,1089
64
64
  pythagoras/core/__init__.py,sha256=6872efc506b375f46a9577e1a4a1b2e9751a71834c1acda923b6214b32ad7f6e,286
65
- pythagoras-0.21.3.dist-info/WHEEL,sha256=607c46fee47e440c91332c738096ff0f5e54ca3b0818ee85462dd5172a38e793,79
66
- pythagoras-0.21.3.dist-info/METADATA,sha256=787fed7b1c9e98a64692ee74ac2ac463b9485740a2d10560f3aa9fbe3bd89622,4241
67
- pythagoras-0.21.3.dist-info/RECORD,,
65
+ pythagoras-0.21.4.dist-info/WHEEL,sha256=607c46fee47e440c91332c738096ff0f5e54ca3b0818ee85462dd5172a38e793,79
66
+ pythagoras-0.21.4.dist-info/METADATA,sha256=8970f6e018587ee4b6be338fb5ab23d592a8e33276803e13da0a58af2079b3b7,4241
67
+ pythagoras-0.21.4.dist-info/RECORD,,