pythagoras 0.10.11__tar.gz → 0.10.12__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 (62) hide show
  1. {pythagoras-0.10.11/pythagoras.egg-info → pythagoras-0.10.12}/PKG-INFO +1 -1
  2. pythagoras-0.10.12/pythagoras/_06_swarming/output_suppressor.py +23 -0
  3. {pythagoras-0.10.11 → pythagoras-0.10.12/pythagoras.egg-info}/PKG-INFO +1 -1
  4. {pythagoras-0.10.11 → pythagoras-0.10.12}/setup.py +1 -1
  5. pythagoras-0.10.11/pythagoras/_06_swarming/output_suppressor.py +0 -16
  6. {pythagoras-0.10.11 → pythagoras-0.10.12}/LICENSE +0 -0
  7. {pythagoras-0.10.11 → pythagoras-0.10.12}/README.md +0 -0
  8. {pythagoras-0.10.11 → pythagoras-0.10.12}/pyproject.toml +0 -0
  9. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_01_foundational_objects/__init__.py +0 -0
  10. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_01_foundational_objects/base_16_32_convertors.py +0 -0
  11. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_01_foundational_objects/hash_addresses.py +0 -0
  12. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_01_foundational_objects/hash_and_random_signatures.py +0 -0
  13. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_01_foundational_objects/multipersidict.py +0 -0
  14. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_01_foundational_objects/value_addresses.py +0 -0
  15. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/__init__.py +0 -0
  16. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/assert_ordinarity.py +0 -0
  17. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/check_n_positional_args.py +0 -0
  18. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/code_normalizer.py +0 -0
  19. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/code_normalizer_implementation.py +0 -0
  20. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/function_name.py +0 -0
  21. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/ordinary_decorator.py +0 -0
  22. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_02_ordinary_functions/ordinary_funcs.py +0 -0
  23. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/__init__.py +0 -0
  24. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/autonomicity_checks.py +0 -0
  25. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/autonomous_decorators.py +0 -0
  26. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/autonomous_funcs.py +0 -0
  27. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/call_graph_explorer.py +0 -0
  28. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/default_island_singleton.py +0 -0
  29. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/names_usage_analyzer.py +0 -0
  30. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_03_autonomous_functions/pth_available_names_retriever.py +0 -0
  31. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/__init__.py +0 -0
  32. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/astkeywords_dict_convertors.py +0 -0
  33. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/idempotency_checks.py +0 -0
  34. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/idempotent_decorator.py +0 -0
  35. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/idempotent_func_address_context.py +0 -0
  36. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/kw_args.py +0 -0
  37. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/output_capturer.py +0 -0
  38. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_04_idempotent_functions/process_augmented_func_src.py +0 -0
  39. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/__init__.py +0 -0
  40. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/current_date_gmt_str.py +0 -0
  41. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/event_posters.py +0 -0
  42. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/execution_environment_summary.py +0 -0
  43. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/find_in_callstack.py +0 -0
  44. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/global_event_loggers.py +0 -0
  45. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/notebook_checker.py +0 -0
  46. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/type_retrievers.py +0 -0
  47. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_05_events_and_exceptions/uncaught_exception_handlers.py +0 -0
  48. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_06_swarming/__init__.py +0 -0
  49. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_06_swarming/background_worker.py +0 -0
  50. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_07_mission_control/__init__.py +0 -0
  51. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_07_mission_control/global_state_management.py +0 -0
  52. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_07_mission_control/summary.py +0 -0
  53. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_99_misc_utils/__init__.py +0 -0
  54. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_99_misc_utils/id_examiner.py +0 -0
  55. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_99_misc_utils/long_infoname.py +0 -0
  56. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/_99_misc_utils/package_manager.py +0 -0
  57. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras/__init__.py +0 -0
  58. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras.egg-info/SOURCES.txt +0 -0
  59. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras.egg-info/dependency_links.txt +0 -0
  60. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras.egg-info/requires.txt +0 -0
  61. {pythagoras-0.10.11 → pythagoras-0.10.12}/pythagoras.egg-info/top_level.txt +0 -0
  62. {pythagoras-0.10.11 → pythagoras-0.10.12}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pythagoras
3
- Version: 0.10.11
3
+ Version: 0.10.12
4
4
  Summary: Simple framework for planet-scale idempotent computations in Python.
5
5
  Home-page: https://github.com/vladlpavlov/pythagoras
6
6
  Author: Volodymyr (Vlad) Pavlov
@@ -0,0 +1,23 @@
1
+ import os
2
+ import sys
3
+
4
+
5
+ class OutputSuppressor:
6
+ """A context manager that suppresses stdout and stderr output."""
7
+ def __init__(self):
8
+ pass
9
+
10
+ def __enter__(self):
11
+ """Redirect stdout and stderr to os.devnull."""
12
+ self.old_stdout = sys.stdout
13
+ self.old_stderr = sys.stderr
14
+ self.devnull = open(os.devnull, 'w')
15
+ sys.stdout = self.devnull
16
+ sys.stderr = self.devnull
17
+ return self
18
+
19
+ def __exit__(self, exc_type, exc_val, exc_tb):
20
+ sys.stdout = self.old_stdout
21
+ sys.stderr = self.old_stderr
22
+ if self.devnull:
23
+ self.devnull.close()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pythagoras
3
- Version: 0.10.11
3
+ Version: 0.10.12
4
4
  Summary: Simple framework for planet-scale idempotent computations in Python.
5
5
  Home-page: https://github.com/vladlpavlov/pythagoras
6
6
  Author: Volodymyr (Vlad) Pavlov
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
5
5
 
6
6
  setuptools.setup(
7
7
  name="pythagoras"
8
- ,version="0.10.11"
8
+ ,version="0.10.12"
9
9
  ,author="Volodymyr (Vlad) Pavlov"
10
10
  ,author_email="vlpavlov@ieee.org"
11
11
  ,description= "Simple framework for planet-scale "
@@ -1,16 +0,0 @@
1
- import os
2
- import sys
3
-
4
-
5
- class OutputSuppressor:
6
- def __init__(self):
7
- self.old_stdout = sys.stdout
8
- self.old_stderr = sys.stderr
9
-
10
- def __enter__(self):
11
- sys.stdout = open(os.devnull, 'w')
12
- sys.stderr = open(os.devnull, 'w')
13
-
14
- def __exit__(self, exc_type, exc_val, exc_tb):
15
- sys.stdout = self.old_stdout
16
- sys.stderr = self.old_stderr
File without changes
File without changes
File without changes