pythagoras 0.20.50__tar.gz → 0.20.52__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.
- {pythagoras-0.20.50 → pythagoras-0.20.52}/PKG-INFO +4 -2
- {pythagoras-0.20.50 → pythagoras-0.20.52}/README.md +3 -1
- {pythagoras-0.20.50 → pythagoras-0.20.52}/pyproject.toml +1 -1
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/swarming_portals.py +2 -3
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/.DS_Store +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/basic_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/exceptions.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/long_infoname.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/not_picklable_class.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/portal_tester.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/post_init_metaclass.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_020_ordinary_code_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_020_ordinary_code_portals/code_normalizer.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_020_ordinary_code_portals/function_processing.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_020_ordinary_code_portals/ordinary_decorator.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_020_ordinary_code_portals/ordinary_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_030_data_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_030_data_portals/data_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_030_data_portals/ready_and_get.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_030_data_portals/storable_decorator.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/exception_processing_tracking.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/execution_environment_summary.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/kw_args.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/logging_decorator.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/logging_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/notebook_checker.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/output_capturer.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/uncaught_exceptions.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_050_safe_code_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_050_safe_code_portals/safe_decorator.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_050_safe_code_portals/safe_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_060_autonomous_code_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_060_autonomous_code_portals/autonomous_decorators.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_060_autonomous_code_portals/names_usage_analyzer.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/GPU_guards.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/OK_const.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/RAM_guards.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/fn_arg_names_checker.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/list_flattener.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/package_manager.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/protected_decorators.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/protected_portal_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/python_packages_guards.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_080_pure_code_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_080_pure_code_portals/pure_core_classes.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_080_pure_code_portals/pure_decorator.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/output_suppressor.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/system_utils.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_100_top_level_API/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_100_top_level_API/default_local_portal.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_100_top_level_API/top_level_API.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/base_16_32_convertors.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/current_date_gmt_str.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/hash_signatures.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/node_signatures.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/random_signatures.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_900_project_stats_collector/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_900_project_stats_collector/project_analyzer.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/__init__.py +0 -0
- {pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/core/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pythagoras
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.52
|
|
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
|
|
@@ -52,6 +52,8 @@ Description-Content-Type: text/markdown
|
|
|
52
52
|
|
|
53
53
|
Planet-scale distributed computing in Python.
|
|
54
54
|
|
|
55
|
+
!!! RESEARCH PREVIEW !!!
|
|
56
|
+
|
|
55
57
|
## What is it?
|
|
56
58
|
|
|
57
59
|
`Pythagoras` is an easy-to-use framework for cost-efficient
|
|
@@ -69,7 +71,7 @@ with intelligent data and code change tracking;
|
|
|
69
71
|
## Usage
|
|
70
72
|
|
|
71
73
|
* `Introduction to Pythagoras` notebook:
|
|
72
|
-
https://colab.research.google.com/drive/
|
|
74
|
+
https://colab.research.google.com/drive/117rAtaWxjfSubzGx0shgqNjONY3E5jgd
|
|
73
75
|
|
|
74
76
|
## How to get it?
|
|
75
77
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Planet-scale distributed computing in Python.
|
|
4
4
|
|
|
5
|
+
!!! RESEARCH PREVIEW !!!
|
|
6
|
+
|
|
5
7
|
## What is it?
|
|
6
8
|
|
|
7
9
|
`Pythagoras` is an easy-to-use framework for cost-efficient
|
|
@@ -19,7 +21,7 @@ with intelligent data and code change tracking;
|
|
|
19
21
|
## Usage
|
|
20
22
|
|
|
21
23
|
* `Introduction to Pythagoras` notebook:
|
|
22
|
-
https://colab.research.google.com/drive/
|
|
24
|
+
https://colab.research.google.com/drive/117rAtaWxjfSubzGx0shgqNjONY3E5jgd
|
|
23
25
|
|
|
24
26
|
## How to get it?
|
|
25
27
|
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/swarming_portals.py
RENAMED
|
@@ -190,8 +190,8 @@ parameterizable.register_parameterizable_class(SwarmingPortal)
|
|
|
190
190
|
def _launch_many_background_workers(**portal_init_params) -> None:
|
|
191
191
|
"""Launch many background worker processes."""
|
|
192
192
|
n_workers_to_launch = portal_init_params["max_n_workers"]
|
|
193
|
-
n_workers_to_launch =
|
|
194
|
-
|
|
193
|
+
n_workers_to_launch = int(n_workers_to_launch)
|
|
194
|
+
|
|
195
195
|
portal_init_params["max_n_workers"] = 0
|
|
196
196
|
current_process_id = get_current_process_id()
|
|
197
197
|
portal_init_params["parent_process_id"] = current_process_id
|
|
@@ -207,7 +207,6 @@ def _launch_many_background_workers(**portal_init_params) -> None:
|
|
|
207
207
|
|
|
208
208
|
list_of_all_workers = []
|
|
209
209
|
|
|
210
|
-
n_workers_to_launch = int(n_workers_to_launch)
|
|
211
210
|
with portal:
|
|
212
211
|
for i in range(n_workers_to_launch):
|
|
213
212
|
portal._randomly_delay_execution(p=1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/long_infoname.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/not_picklable_class.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/portal_tester.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_010_basic_portals/post_init_metaclass.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_020_ordinary_code_portals/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_030_data_portals/storable_decorator.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_040_logging_code_portals/kw_args.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_050_safe_code_portals/safe_decorator.py
RENAMED
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_060_autonomous_code_portals/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/GPU_guards.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/OK_const.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/RAM_guards.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_070_protected_code_portals/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_080_pure_code_portals/pure_core_classes.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_080_pure_code_portals/pure_decorator.py
RENAMED
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/output_suppressor.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_090_swarming_portals/system_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_100_top_level_API/default_local_portal.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_100_top_level_API/top_level_API.py
RENAMED
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_800_signatures_and_converters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythagoras-0.20.50 → pythagoras-0.20.52}/src/pythagoras/_900_project_stats_collector/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|