omlish 0.0.0.dev484__py3-none-any.whl → 0.0.0.dev493__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.

Potentially problematic release.


This version of omlish might be problematic. Click here for more details.

Files changed (62) hide show
  1. omlish/README.md +199 -0
  2. omlish/__about__.py +8 -3
  3. omlish/dataclasses/impl/generation/plans.py +2 -17
  4. omlish/dataclasses/impl/generation/processor.py +2 -2
  5. omlish/dataclasses/impl/processing/driving.py +13 -1
  6. omlish/diag/_pycharm/runhack.py +1 -1
  7. omlish/inject/__init__.py +19 -11
  8. omlish/inject/_dataclasses.py +1485 -1323
  9. omlish/inject/binder.py +7 -4
  10. omlish/inject/eagers.py +2 -0
  11. omlish/inject/helpers/late.py +76 -0
  12. omlish/inject/{managed.py → helpers/managed.py} +10 -10
  13. omlish/inject/impl/elements.py +7 -4
  14. omlish/inject/impl/injector.py +10 -7
  15. omlish/inject/inspect.py +1 -1
  16. omlish/lang/__init__.py +2 -0
  17. omlish/lifecycles/README.md +30 -0
  18. omlish/lifecycles/__init__.py +87 -13
  19. omlish/lifecycles/_dataclasses.py +1388 -0
  20. omlish/lifecycles/base.py +178 -64
  21. omlish/lifecycles/contextmanagers.py +113 -4
  22. omlish/lifecycles/controller.py +150 -87
  23. omlish/lifecycles/injection.py +143 -0
  24. omlish/lifecycles/listeners.py +56 -0
  25. omlish/lifecycles/managed.py +142 -0
  26. omlish/lifecycles/manager.py +218 -93
  27. omlish/lifecycles/states.py +2 -0
  28. omlish/lifecycles/transitions.py +3 -0
  29. omlish/lifecycles/unwrap.py +57 -0
  30. omlish/lite/typing.py +18 -0
  31. omlish/logs/_amalg.py +1 -1
  32. omlish/logs/all.py +25 -11
  33. omlish/logs/asyncs.py +73 -0
  34. omlish/logs/base.py +101 -12
  35. omlish/logs/contexts.py +4 -1
  36. omlish/logs/lists.py +125 -0
  37. omlish/logs/modules.py +19 -1
  38. omlish/logs/std/loggers.py +6 -1
  39. omlish/logs/std/noisy.py +11 -9
  40. omlish/logs/{standard.py → std/standard.py} +3 -4
  41. omlish/logs/utils.py +16 -1
  42. omlish/marshal/_dataclasses.py +781 -781
  43. omlish/reflect/__init__.py +43 -26
  44. omlish/reflect/ops.py +10 -1
  45. omlish/specs/jmespath/_dataclasses.py +559 -559
  46. omlish/specs/jsonschema/keywords/_dataclasses.py +220 -220
  47. omlish/sql/__init__.py +24 -5
  48. omlish/sql/api/dbapi.py +1 -1
  49. omlish/sql/dbapi/__init__.py +15 -0
  50. omlish/sql/{dbapi.py → dbapi/drivers.py} +2 -2
  51. omlish/sql/queries/__init__.py +3 -0
  52. omlish/testing/pytest/plugins/asyncs/plugin.py +2 -0
  53. omlish/text/docwrap/cli.py +5 -0
  54. {omlish-0.0.0.dev484.dist-info → omlish-0.0.0.dev493.dist-info}/METADATA +8 -5
  55. {omlish-0.0.0.dev484.dist-info → omlish-0.0.0.dev493.dist-info}/RECORD +61 -51
  56. omlish/lifecycles/abstract.py +0 -86
  57. /omlish/inject/{impl → helpers}/proxy.py +0 -0
  58. /omlish/sql/{abc.py → dbapi/abc.py} +0 -0
  59. {omlish-0.0.0.dev484.dist-info → omlish-0.0.0.dev493.dist-info}/WHEEL +0 -0
  60. {omlish-0.0.0.dev484.dist-info → omlish-0.0.0.dev493.dist-info}/entry_points.txt +0 -0
  61. {omlish-0.0.0.dev484.dist-info → omlish-0.0.0.dev493.dist-info}/licenses/LICENSE +0 -0
  62. {omlish-0.0.0.dev484.dist-info → omlish-0.0.0.dev493.dist-info}/top_level.txt +0 -0
omlish/README.md ADDED
@@ -0,0 +1,199 @@
1
+ # Overview
2
+
3
+ Core utilities and foundational code. It's relatively large but completely self-contained, and has **no required
4
+ dependencies of any kind**.
5
+
6
+ # Notable packages
7
+
8
+ - **[lang](https://github.com/wrmsr/omlish/blob/master/omlish/lang)** - The standard library of this standard library.
9
+ Usually imported as a whole (`from omlish import lang`), it contains an array of general purpose utilities used
10
+ practically everywhere. It is kept relatively lightweight: its heaviest import is stdlib dataclasses and its
11
+ transitives. Some of its contents include:
12
+
13
+ - **[cached](https://github.com/wrmsr/omlish/blob/master/omlish/lang/cached)** - The standard `cached_function` /
14
+ `cached_property` tools, which are more capable than
15
+ [`functools.lru_cache`](https://docs.python.org/3/library/functools.html#functools.lru_cache).
16
+ - **[imports](https://github.com/wrmsr/omlish/blob/master/omlish/lang/imports.py)** - Import tools like:
17
+ - `proxy_import` - For late-loaded imports.
18
+ - `proxy_init` - For late-loaded module globals.
19
+ - `auto_proxy_init` - For automatic late-loaded package exports.
20
+ - **[classes](https://github.com/wrmsr/omlish/blob/master/omlish/lang/classes)** - Class tools and bases, such as
21
+ `Abstract` (which checks at subclass definition not instantiation), `Sealed` / `PackageSealed`, and `Final`.
22
+ - **[maybes](https://github.com/wrmsr/omlish/blob/master/omlish/lite/maybes.py)** - A simple, nestable formalization
23
+ of the presence or absence of an object, as in [many](https://en.cppreference.com/w/cpp/utility/optional)
24
+ [other](https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html)
25
+ [languages](https://doc.rust-lang.org/std/option/).
26
+ - **[maysync](https://github.com/wrmsr/omlish/blob/master/omlish/lite/maysync.py)** - A lightweight means of sharing
27
+ code between sync and async contexts, eliminating the need for maintaining sync and async versions of functions.
28
+
29
+ - **[bootstrap](https://github.com/wrmsr/omlish/blob/master/omlish/bootstrap)** - A centralized, configurable,
30
+ all-in-one collection of various process-initialization minutiae like resource limiting, profiling, remote debugging,
31
+ log configuration, environment variables, et cetera. Usable as a context manager or via its
32
+ [cli](https://github.com/wrmsr/omlish/blob/master/omlish/bootstrap/main.py).
33
+
34
+ - **[collections](https://github.com/wrmsr/omlish/blob/master/omlish/collections)** - A handful of collection utilities
35
+ and simple implementations, including:
36
+
37
+ - **[cache](https://github.com/wrmsr/omlish/blob/master/omlish/collections/cache)** - A configurable LRU / LFU cache
38
+ with options like ttl and max size / weight.
39
+ - **[hasheq](https://github.com/wrmsr/omlish/blob/master/omlish/collections/hasheq.py)** - A dict taking an external
40
+ `__hash__` / `__eq__` implementation.
41
+ - **[identity](https://github.com/wrmsr/omlish/blob/master/omlish/collections/identity.py)** - Identity-keyed
42
+ collections.
43
+ - **[sorted](https://github.com/wrmsr/omlish/blob/master/omlish/collections/sorted)** - Interfaces for value-sorted
44
+ collections and key-sorted mappings, and a simple but correct skiplist-backed implementation.
45
+ - **[persistent](https://github.com/wrmsr/omlish/blob/master/omlish/collections/persistent)** - Interfaces for
46
+ [persistent](https://en.wikipedia.org/wiki/Persistent_data_structure) maps, and a simple but correct treap-backed
47
+ implementation.
48
+
49
+ - **[dataclasses](https://github.com/wrmsr/omlish/blob/master/omlish/dataclasses)** - A fully-compatible
50
+ reimplementation of stdlib [dataclasses](https://docs.python.org/3/library/dataclasses.html) with numerous
51
+ enhancements and additional features. The
52
+ [full stdlib test suite](https://github.com/wrmsr/omlish/blob/master/omlish/dataclasses/tests/cpython) is run against
53
+ it ensuring compatibility - they *are* dataclasses. Current enhancements include:
54
+
55
+ - Simple field coercion and validation.
56
+ - Any number of `@dc.init` or `@dc.validate` methods, not just a central `__post_init__`.
57
+ - Optional generic type parameter substitution in generated `__init__` methods, enabling accurate reflection.
58
+ - An optional [metaclass](https://github.com/wrmsr/omlish/blob/master/omlish/dataclasses/metaclass) which removes the
59
+ need for re-decorating subclasses (with support for inheritance of dataclass parameters like `frozen`), and some
60
+ basic [base classes](https://github.com/wrmsr/omlish/blob/master/omlish/dataclasses/metaclass/bases.py).
61
+ - Support for ahead-of-time / build-time code generation, significantly reducing import times.
62
+
63
+ The stdlib-equivalent api is exported in such a way as to appear to be direct aliases for the stdlib api itself,
64
+ simplifying tool support.
65
+
66
+ - **[dispatch](https://github.com/wrmsr/omlish/blob/master/omlish/dispatch)** - A beefed-up version of
67
+ [functools.singledispatch](https://docs.python.org/3/library/functools.html#functools.singledispatch), most notably
68
+ supporting MRO-honoring method impl dispatch.
69
+
70
+ - **[formats](https://github.com/wrmsr/omlish/blob/master/omlish/formats)** - Tools for various data formats, including:
71
+
72
+ - **[json](https://github.com/wrmsr/omlish/blob/master/omlish/formats/json)** - Tools for json, including abstraction
73
+ over various backends and a self-contained streaming / incremental parser.
74
+ - **[json5](https://github.com/wrmsr/omlish/blob/master/omlish/formats/json5)** - A self-contained and tested
75
+ [Json5](https://json5.org/) parser.
76
+ - **[toml](https://github.com/wrmsr/omlish/blob/master/omlish/formats/toml)** - Toml tools, including a
77
+ [lite](#lite-code) version of the stdlib parser (for use in older pythons).
78
+
79
+ - **[http](https://github.com/wrmsr/omlish/blob/master/omlish/http)** - HTTP code, including:
80
+
81
+ - **[clients](https://github.com/wrmsr/omlish/blob/master/omlish/http/clients)** - An abstraction over HTTP clients,
82
+ with urllib and httpx implementations.
83
+ - **[coro](https://github.com/wrmsr/omlish/blob/master/omlish/http/coro)** - Coroutine /
84
+ [sans-io](https://sans-io.readthedocs.io/) style reformulation of some stdlib http machinery - namely `http.server`
85
+ (and soon `http.client`). This style of code can run the same in sync, async, or
86
+ [any](https://docs.python.org/3/library/selectors.html)
87
+ [other](https://github.com/wrmsr/omlish/blob/master/omlish/asyncs/bluelet) context.
88
+
89
+ - **[inject](https://github.com/wrmsr/omlish/blob/master/omlish/inject)** - A
90
+ [guice](https://github.com/google/guice)-style dependency injector.
91
+
92
+ - **[io](https://github.com/wrmsr/omlish/blob/master/omlish/io)** - IO tools, including:
93
+
94
+ - **[compress](https://github.com/wrmsr/omlish/blob/master/omlish/io/compress)** - Abstraction over various
95
+ compression schemes, with particular attention to incremental operation. For example it includes
96
+ [an incremental reformulation of stdlib's gzip](https://github.com/wrmsr/omlish/blob/master/omlish/io/compress/gzip.py).
97
+ - **[coro](https://github.com/wrmsr/omlish/blob/master/omlish/io/coro)** - Utilities for coroutine / sans-io style
98
+ code.
99
+ - **[fdio](https://github.com/wrmsr/omlish/blob/master/omlish/io/fdio)** - An implementation of classic
100
+ [selector](https://docs.python.org/3/library/selectors.html)-style IO dispatch, akin to the deprecated
101
+ [asyncore](https://docs.python.org/3.11/library/asyncore.html). While more modern asyncio style code is generally
102
+ preferred, it nearly always involves
103
+ [background threads](https://github.com/python/cpython/blob/95d9dea1c4ed1b1de80074b74301cee0b38d5541/Lib/asyncio/unix_events.py#L1349)
104
+ making it [unsuitable for forking processes](https://rachelbythebay.com/w/2011/06/07/forked/) like
105
+ [process supervisors](https://github.com/wrmsr/omlish/blob/master/ominfra/supervisor).
106
+
107
+ - **[jmespath](https://github.com/wrmsr/omlish/blob/master/omlish/specs/jmespath)** - A vendoring of
108
+ [jmespath community edition](https://github.com/jmespath-community/python-jmespath), modernized and adapted to this
109
+ codebase.
110
+
111
+ - **[marshal](https://github.com/wrmsr/omlish/blob/master/omlish/marshal)** - A
112
+ [jackson](https://github.com/FasterXML/jackson)-style serde system.
113
+
114
+ - **[manifests](https://github.com/wrmsr/omlish/blob/master/omlish/manifests)** - A system for sharing lightweight
115
+ metadata within / across codebases.
116
+
117
+ - **[reflect](https://github.com/wrmsr/omlish/blob/master/omlish/reflect)** - Reflection utilities, including primarily
118
+ a formalization of stdlib type annotations for use at runtime, decoupled from stdlib impl detail. Keeping this working
119
+ is notoriously difficult across python versions (one of the primary reasons for only supporting 3.13+).
120
+
121
+ - **[sql](https://github.com/wrmsr/omlish/blob/master/omlish/sql)** - A collection of SQL utilities, including:
122
+
123
+ - **[api](https://github.com/wrmsr/omlish/blob/master/omlish/sql/api)** - An abstracted api for SQL interaction, with
124
+ support for dbapi compatible drivers (and a SQLAlchemy adapter).
125
+ - **[queries](https://github.com/wrmsr/omlish/blob/master/omlish/sql/queries)** - A SQL query builder with a fluent
126
+ interface.
127
+ - **[alchemy](https://github.com/wrmsr/omlish/blob/master/omlish/sql/alchemy)** - SQLAlchemy utilities. The codebase
128
+ has moved away from SQLAlchemy in favor of its own internal SQL api, but it will likely still remain as an optional
129
+ dep for the api adapter.
130
+
131
+ - **[testing](https://github.com/wrmsr/omlish/blob/master/omlish/testing)** - Test - primarily pytest - helpers,
132
+ including:
133
+
134
+ - **['harness'](https://github.com/wrmsr/omlish/blob/master/omlish/testing/pytest/inject/harness.py)** - An all-in-one
135
+ fixture marrying it to the codebase's dependency injector.
136
+ - **[plugins/async](https://github.com/wrmsr/omlish/blob/master/omlish/testing/pytest/plugins/asyncs)** - An in-house
137
+ async-backend abstraction plugin, capable of handling all of asyncio / trio / trio-asyncio /
138
+ *any-future-event-loop-impl* without having multiple fighting plugins (*[I know, I know](https://xkcd.com/927/)*).
139
+ - **[plugins](https://github.com/wrmsr/omlish/blob/master/omlish/testing/pytest/plugins)** - Various other plugins.
140
+
141
+ - **[typedvalues](https://github.com/wrmsr/omlish/blob/master/omlish/typedvalues)** - A little toolkit around 'boxed'
142
+ values, whose 'box' types convey more information than the bare values themselves. A rebellion against kwargs and env
143
+ vars: instead of `foo(bar=1, baz=2)`, you do `foo(Bar(1), Baz(2))`.
144
+
145
+ - **[lite](https://github.com/wrmsr/omlish/blob/master/omlish/lite)** - The standard library of 'lite' code. This is the
146
+ only package beneath `lang`, and parts of it are re-exported by it for deduplication. On top of miscellaneous
147
+ utilities it contains a handful of independent, self-contained, significantly simplified 'lite' equivalents of some
148
+ major core packages:
149
+
150
+ - **[lite/inject.py](https://github.com/wrmsr/omlish/blob/master/omlish/lite/inject.py)** - The lite injector, which
151
+ is more conservative with features and reflection than the core injector. The codebase's
152
+ [MiniGuice](https://github.com/google/guice/commit/70248eafa90cd70a68b293763e53f6aec656e73c).
153
+ - **[lite/marshal.py](https://github.com/wrmsr/omlish/blob/master/omlish/lite/marshal.py)** - The lite marshalling
154
+ system, which is a classic canned setup of simple type-specific 2-method classes and limited generic handling.
155
+
156
+ # Lite code
157
+
158
+ A subset of this codebase is written in a 'lite' style (non-'lite' code is referred to as *standard* code). While
159
+ standard code is written for python 3.13+, 'lite' code is written for 3.8+, and is written in a style conducive to
160
+ [amalgamation](https://github.com/wrmsr/omlish/blob/master/omdev#amalgamation) in which multiple python source files are
161
+ stitched together into one single self-contained python script.
162
+
163
+ Code written in this style has notable differences from standard code, including (but not limited to):
164
+
165
+ - No name mangling is done in amalgamation, which means (among other things) that code must be written expecting to be
166
+ all dumped into the same giant namespace. Where a standard class might be
167
+ [`omlish.inject.keys.Key`](https://github.com/wrmsr/omlish/blob/master/omlish/inject/keys.py), a lite equivalent might
168
+ be [`omlish.lite.inject.InjectorKey`](https://github.com/wrmsr/omlish/blob/master/omlish/lite/inject.py).
169
+ - All internal imports `import` each individual item out of modules rather than importing the modules and referencing
170
+ their contents. Where standard code would `from .. import x; x.y`, lite code would `from ..x import y; y`. As a result
171
+ there are frequently 'api' non-instantiated namespace classes serving the purpose of modules - just handy bags of
172
+ stuff with shortened names.
173
+ - As lite code is tested in 3.8+ but core code requires 3.13+, packages containing lite code can't import anything
174
+ standard in their (and their ancestors') `__init__.py`'s. Furthermore, `__init__.py` files are omitted outright in
175
+ amalgamation, so they effectively must be empty in any package containing any lite code. As a result there are
176
+ frequently [`all.py`](https://github.com/wrmsr/omlish/blob/master/omlish/configs/all.py) files in mixed-lite packages
177
+ which serve the purpose of `__init__.py` for standard usage - where importing standard packages from standard code
178
+ would be done via `from .. import lang`, importing mixed-lite packages from standard code would be done via
179
+ `from ..configs import all as cfgs`.
180
+
181
+ # Dependencies
182
+
183
+ This library has no required dependencies of any kind, but there are some optional integrations - see
184
+ [`__about__.py`](https://github.com/wrmsr/omlish/blob/master/omlish/__about__.py) for a full list, but some specific
185
+ examples are:
186
+
187
+ - **asttokens / executing** - For getting runtime source representations of function call arguments, an optional
188
+ capability of [check](https://github.com/wrmsr/omlish/blob/master/omlish/check.py).
189
+ - **anyio** - While lite code must use only asyncio, non-trivial async standard code prefers to be written to anyio.
190
+ - **pytest** - What is used for all standard testing - as lite code has no dependencies of any kind its testing uses
191
+ stdlib's [unittest](https://docs.python.org/3/library/unittest.html).
192
+ - **sqlalchemy** - The codebase has migrated away from SQLAlchemy in favor of the internal api but it retains it as an
193
+ optional dep to support adapting the internal api to it.
194
+
195
+ Additionally, some catchall dep categories include:
196
+
197
+ - **compression** - Various preferred compression backends like lz4, python-snappy, zstandard, and brotli.
198
+ - **formats** - Various preferred data format backends like orjson/ujson, pyyaml, cbor2, and cloudpickle.
199
+ - **sql drivers** - Various preferred and tested sql drivers.
omlish/__about__.py CHANGED
@@ -1,5 +1,5 @@
1
- __version__ = '0.0.0.dev484'
2
- __revision__ = '7c8d11bd7ee674238104cc5940ee4971dbf70a29'
1
+ __version__ = '0.0.0.dev493'
2
+ __revision__ = 'def7f860da290b32214a8db616442d7d9759fb58'
3
3
 
4
4
 
5
5
  #
@@ -100,7 +100,7 @@ class Project(ProjectBase):
100
100
  # 'mysqlclient ~= 2.2',
101
101
 
102
102
  'aiomysql ~= 0.3',
103
- 'aiosqlite ~= 0.21',
103
+ 'aiosqlite ~= 0.22',
104
104
  'asyncpg ~= 0.31',
105
105
 
106
106
  'apsw ~= 3.51',
@@ -178,8 +178,13 @@ class SetuptoolsBase:
178
178
 
179
179
  '.omlish-manifests.json',
180
180
 
181
+ 'README',
182
+ 'README.md',
183
+
181
184
  'LICENSE',
182
185
  'LICENSE.txt',
186
+
187
+ 'AUTHORS',
183
188
  ],
184
189
  }
185
190
 
@@ -1,9 +1,4 @@
1
- """
2
- TODO:
3
- - sha1 is slow :/ key by repr but name by sha1
4
- """
5
1
  import dataclasses as dc
6
- import re
7
2
  import typing as ta
8
3
 
9
4
  from .... import lang
@@ -21,15 +16,5 @@ class Plans:
21
16
  return iter(self.tup)
22
17
 
23
18
  @lang.cached_function(no_wrapper_update=True)
24
- def render(self) -> str:
25
- return _render(self)
26
-
27
-
28
- ##
29
-
30
-
31
- _WS_PAT = re.compile(r'\s+')
32
-
33
-
34
- def _render(plans: Plans) -> str:
35
- return _WS_PAT.sub('', repr(plans.tup))
19
+ def repr(self) -> str:
20
+ return repr(self)
@@ -126,7 +126,7 @@ class GeneratorProcessor(Processor):
126
126
  ])
127
127
 
128
128
  if (vo := gp._ctx.option(Verbosity)) is not None and vo.debug: # noqa
129
- print(gp.prepare().plans.render(), file=sys.stderr)
129
+ print(gp.prepare().plans.repr(), file=sys.stderr)
130
130
  print(file=sys.stderr)
131
131
  print(comp_src, file=sys.stderr)
132
132
  print(file=sys.stderr)
@@ -235,7 +235,7 @@ class GeneratorProcessor(Processor):
235
235
  #
236
236
 
237
237
  prep = self.prepare()
238
- prep_plan_repr = repr(prep.plans)
238
+ prep_plan_repr = prep.plans.repr()
239
239
 
240
240
  #
241
241
 
@@ -1,5 +1,6 @@
1
1
  import contextlib
2
2
  import contextvars
3
+ import sys
3
4
  import typing as ta
4
5
 
5
6
  from .... import lang
@@ -36,6 +37,14 @@ def processing_options_context(*opts: ProcessingOption) -> ta.Iterator[None]:
36
37
  ##
37
38
 
38
39
 
40
+ def _is_pkg_init_mod(mod_name: str) -> bool:
41
+ if (mod_obj := sys.modules.get(mod_name)) is None:
42
+ return False
43
+ if (mod_spec := getattr(mod_obj, '__spec__', None)) is None:
44
+ return False
45
+ return bool(mod_spec.submodule_search_locations)
46
+
47
+
39
48
  def drive_cls_processing(
40
49
  cls: type,
41
50
  cs: ClassSpec,
@@ -53,7 +62,10 @@ def drive_cls_processing(
53
62
  #
54
63
 
55
64
  cls_mod = cls.__module__
56
- cls_pkg = cls_mod.rpartition('.')[0]
65
+ if _is_pkg_init_mod(cls_mod):
66
+ cls_pkg = cls_mod
67
+ else:
68
+ cls_pkg = cls_mod.rpartition('.')[0]
57
69
  pkg_cfg = lang.coalesce(PACKAGE_CONFIG_CACHE.get(cls_pkg), DEFAULT_NAMED_PACKAGE_CONFIG)
58
70
 
59
71
  #
@@ -95,7 +95,7 @@ _BOOL_ENV_VAR_VALUES = {
95
95
  def _get_opt_env_bool(n, d): # type: (str | None, bool) -> bool
96
96
  if n is None or n not in os.environ:
97
97
  return d
98
- return _BOOL_ENV_VAR_VALUES[os.environ[n]]
98
+ return _BOOL_ENV_VAR_VALUES[os.environ[n].lower()]
99
99
 
100
100
 
101
101
  def _get_env_path_list(k): # type: (str) -> list[str]
omlish/inject/__init__.py CHANGED
@@ -27,6 +27,25 @@ with _lang.auto_proxy_init(globals()):
27
27
  Id,
28
28
  )
29
29
 
30
+ from .helpers.late import ( # noqa
31
+ Late,
32
+ AsyncLate,
33
+
34
+ bind_late,
35
+ bind_async_late,
36
+ )
37
+
38
+ from .helpers.managed import ( # noqa
39
+ create_async_managed_injector,
40
+ make_async_managed_provider,
41
+
42
+ create_managed_injector,
43
+ make_managed_provider,
44
+
45
+ create_maysync_managed_injector,
46
+ make_maysync_managed_provider,
47
+ )
48
+
30
49
  from .helpers.multis import ( # noqa
31
50
  bind_map_entry_const,
32
51
  bind_set_entry_const,
@@ -98,17 +117,6 @@ with _lang.auto_proxy_init(globals()):
98
117
  bind_provision_listener,
99
118
  )
100
119
 
101
- from .managed import ( # noqa
102
- create_async_managed_injector,
103
- make_async_managed_provider,
104
-
105
- create_managed_injector,
106
- make_managed_provider,
107
-
108
- create_maysync_managed_injector,
109
- make_maysync_managed_provider,
110
- )
111
-
112
120
  from .maysync import ( # noqa
113
121
  MaysyncInjector,
114
122
  create_maysync_injector,