haiway 0.10.13__py3-none-any.whl → 0.10.14__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.
Files changed (43) hide show
  1. {haiway-0.10.13.dist-info → haiway-0.10.14.dist-info}/METADATA +1 -1
  2. haiway-0.10.14.dist-info/RECORD +4 -0
  3. haiway/__init__.py +0 -111
  4. haiway/context/__init__.py +0 -27
  5. haiway/context/access.py +0 -615
  6. haiway/context/disposables.py +0 -78
  7. haiway/context/identifier.py +0 -92
  8. haiway/context/logging.py +0 -176
  9. haiway/context/metrics.py +0 -165
  10. haiway/context/state.py +0 -113
  11. haiway/context/tasks.py +0 -64
  12. haiway/context/types.py +0 -12
  13. haiway/helpers/__init__.py +0 -21
  14. haiway/helpers/asynchrony.py +0 -225
  15. haiway/helpers/caching.py +0 -326
  16. haiway/helpers/metrics.py +0 -459
  17. haiway/helpers/retries.py +0 -223
  18. haiway/helpers/throttling.py +0 -133
  19. haiway/helpers/timeouted.py +0 -112
  20. haiway/helpers/tracing.py +0 -137
  21. haiway/py.typed +0 -0
  22. haiway/state/__init__.py +0 -12
  23. haiway/state/attributes.py +0 -747
  24. haiway/state/path.py +0 -524
  25. haiway/state/requirement.py +0 -229
  26. haiway/state/structure.py +0 -414
  27. haiway/state/validation.py +0 -468
  28. haiway/types/__init__.py +0 -14
  29. haiway/types/default.py +0 -108
  30. haiway/types/frozen.py +0 -5
  31. haiway/types/missing.py +0 -95
  32. haiway/utils/__init__.py +0 -28
  33. haiway/utils/always.py +0 -61
  34. haiway/utils/collections.py +0 -185
  35. haiway/utils/env.py +0 -230
  36. haiway/utils/freezing.py +0 -28
  37. haiway/utils/logs.py +0 -57
  38. haiway/utils/mimic.py +0 -77
  39. haiway/utils/noop.py +0 -24
  40. haiway/utils/queue.py +0 -82
  41. haiway-0.10.13.dist-info/RECORD +0 -42
  42. {haiway-0.10.13.dist-info → haiway-0.10.14.dist-info}/WHEEL +0 -0
  43. {haiway-0.10.13.dist-info → haiway-0.10.14.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haiway
3
- Version: 0.10.13
3
+ Version: 0.10.14
4
4
  Summary: Framework for dependency injection and state management within structured concurrency model.
5
5
  Project-URL: Homepage, https://miquido.com
6
6
  Project-URL: Repository, https://github.com/miquido/haiway.git
@@ -0,0 +1,4 @@
1
+ haiway-0.10.14.dist-info/METADATA,sha256=ItAhIVflHKH9f2mlW3FHkTT_JfbrsFKpsdmMB2xbTU8,3858
2
+ haiway-0.10.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
3
+ haiway-0.10.14.dist-info/licenses/LICENSE,sha256=GehQEW_I1pkmxkkj3NEa7rCTQKYBn7vTPabpDYJlRuo,1063
4
+ haiway-0.10.14.dist-info/RECORD,,
haiway/__init__.py DELETED
@@ -1,111 +0,0 @@
1
- from haiway.context import (
2
- Disposable,
3
- Disposables,
4
- MetricsContext,
5
- MetricsHandler,
6
- MetricsReading,
7
- MetricsRecording,
8
- MetricsScopeEntering,
9
- MetricsScopeExiting,
10
- MissingContext,
11
- MissingState,
12
- ScopeIdentifier,
13
- ctx,
14
- )
15
- from haiway.helpers import (
16
- ArgumentsTrace,
17
- MetricsHolder,
18
- MetricsLogger,
19
- ResultTrace,
20
- asynchronous,
21
- cache,
22
- retry,
23
- throttle,
24
- timeout,
25
- traced,
26
- wrap_async,
27
- )
28
- from haiway.state import AttributePath, AttributeRequirement, State
29
- from haiway.types import (
30
- MISSING,
31
- Default,
32
- DefaultValue,
33
- Missing,
34
- frozenlist,
35
- is_missing,
36
- not_missing,
37
- when_missing,
38
- )
39
- from haiway.utils import (
40
- AsyncQueue,
41
- always,
42
- as_dict,
43
- as_list,
44
- as_set,
45
- as_tuple,
46
- async_always,
47
- async_noop,
48
- freeze,
49
- getenv_bool,
50
- getenv_float,
51
- getenv_int,
52
- getenv_str,
53
- load_env,
54
- mimic_function,
55
- noop,
56
- setup_logging,
57
- )
58
-
59
- __all__ = [
60
- "MISSING",
61
- "ArgumentsTrace",
62
- "AsyncQueue",
63
- "AttributePath",
64
- "AttributeRequirement",
65
- "Default",
66
- "DefaultValue",
67
- "Disposable",
68
- "Disposables",
69
- "MetricsContext",
70
- "MetricsHandler",
71
- "MetricsHolder",
72
- "MetricsLogger",
73
- "MetricsReading",
74
- "MetricsRecording",
75
- "MetricsScopeEntering",
76
- "MetricsScopeExiting",
77
- "Missing",
78
- "MissingContext",
79
- "MissingState",
80
- "ResultTrace",
81
- "ScopeIdentifier",
82
- "State",
83
- "always",
84
- "as_dict",
85
- "as_list",
86
- "as_set",
87
- "as_tuple",
88
- "async_always",
89
- "async_noop",
90
- "asynchronous",
91
- "cache",
92
- "ctx",
93
- "freeze",
94
- "frozenlist",
95
- "getenv_bool",
96
- "getenv_float",
97
- "getenv_int",
98
- "getenv_str",
99
- "is_missing",
100
- "load_env",
101
- "mimic_function",
102
- "noop",
103
- "not_missing",
104
- "retry",
105
- "setup_logging",
106
- "throttle",
107
- "timeout",
108
- "traced",
109
- "when_missing",
110
- "wrap_async",
111
- ]
@@ -1,27 +0,0 @@
1
- from haiway.context.access import ctx
2
- from haiway.context.disposables import Disposable, Disposables
3
- from haiway.context.identifier import ScopeIdentifier
4
- from haiway.context.metrics import (
5
- MetricsContext,
6
- MetricsHandler,
7
- MetricsReading,
8
- MetricsRecording,
9
- MetricsScopeEntering,
10
- MetricsScopeExiting,
11
- )
12
- from haiway.context.types import MissingContext, MissingState
13
-
14
- __all__ = [
15
- "Disposable",
16
- "Disposables",
17
- "MetricsContext",
18
- "MetricsHandler",
19
- "MetricsReading",
20
- "MetricsRecording",
21
- "MetricsScopeEntering",
22
- "MetricsScopeExiting",
23
- "MissingContext",
24
- "MissingState",
25
- "ScopeIdentifier",
26
- "ctx",
27
- ]