omlish 0.0.0.dev177__tar.gz → 0.0.0.dev179__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omlish-0.0.0.dev177/omlish.egg-info → omlish-0.0.0.dev179}/PKG-INFO +1 -1
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/__about__.py +2 -2
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/hashing.py +2 -1
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/elements.py +8 -9
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/scopes.py +1 -1
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/inject.py +224 -29
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/inject/harness.py +1 -1
- omlish-0.0.0.dev179/omlish/text/minja.py +223 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179/omlish.egg-info}/PKG-INFO +1 -1
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish.egg-info/SOURCES.txt +1 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/pyproject.toml +1 -1
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/LICENSE +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/MANIFEST.in +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/README.rst +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/.manifests.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/BufferedTokenStream.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/CommonTokenFactory.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/CommonTokenStream.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/FileStream.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/InputStream.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/IntervalSet.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/LICENSE.txt +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/LL1Analyzer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/Lexer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/ListTokenSource.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/Parser.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/ParserInterpreter.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/ParserRuleContext.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/PredictionContext.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/Recognizer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/RuleContext.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/StdinStream.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/Token.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/TokenStreamRewriter.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/Utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/_all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/_pygrun.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATN.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNConfig.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNConfigSet.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNDeserializationOptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNDeserializer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNSimulator.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNState.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ATNType.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/LexerATNSimulator.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/LexerAction.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/LexerActionExecutor.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/ParserATNSimulator.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/PredictionMode.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/SemanticContext.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/Transition.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/atn/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/dfa/DFA.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/dfa/DFASerializer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/dfa/DFAState.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/dfa/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/error/DiagnosticErrorListener.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/error/ErrorListener.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/error/ErrorStrategy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/error/Errors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/error/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/Chunk.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/ParseTreeMatch.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/ParseTreePattern.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/ParseTreePatternMatcher.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/RuleTagToken.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/TokenTagToken.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/Tree.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/Trees.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/tree/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/xpath/XPath.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/xpath/XPathLexer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/_runtime/xpath/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/delimit.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/dot.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/errors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/input.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/parsing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/runtime.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/antlr/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/argparse/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/argparse/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/argparse/cli.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/anyio.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/asyncio.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/channels.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/streams.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/subprocesses.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncio/timeouts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/asyncs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/LICENSE +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/api.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/core.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/events.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/files.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/runner.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bluelet/sockets.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/bridge.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/flavors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/trio.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/asyncs/trio_asyncio.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/__main__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/diag.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/harness.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/main.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/bootstrap/sys.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/c3.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/cached.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/check.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/bytes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/chain.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/funcs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/registry.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/standard.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/codecs/text.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/abc.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/cache/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/cache/descriptor.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/cache/impl.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/cache/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/coerce.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/exceptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/frozen.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/hasheq.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/identity.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/indexed.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/mappings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/ordered.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/persistent.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/skiplist.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/sorted.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/treap.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/treapmap.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/unmodifiable.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/collections/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/concurrent/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/concurrent/executors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/concurrent/futures.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/concurrent/threadlets.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/configs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/configs/classes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/configs/flattening.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/configs/strings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/LICENSE +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/api.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/as_.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/copy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/descriptors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/exceptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/fields.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/frozen.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/init.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/internals.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/main.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/metaclass.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/metadata.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/order.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/params.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/processing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/reflect.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/replace.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/repr.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/simple.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/slots.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/impl/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dataclasses/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/datetimes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/defs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/_pycharm/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/_pycharm/runhack.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/asts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/debug.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/procfs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/procstats.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/ps.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/pycharm.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/pydevd.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/replserver/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/replserver/__main__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/replserver/console.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/replserver/server.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/diag/threads.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dispatch/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dispatch/_dispatch2.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dispatch/_dispatch3.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dispatch/dispatch.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dispatch/functions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dispatch/methods.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/cli.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/compose.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/consts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/detect.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/hub.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/manifests.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/docker/timebomb.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/dynamic.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/cbor.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/cloudpickle.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/codecs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/dotenv.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/default.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/jiter.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/orjson.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/std.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/backends/ujson.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/codecs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/consts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/delimted.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/encoding.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/json.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/literals.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/render.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/stream/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/stream/build.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/stream/errors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/stream/lex.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/stream/parse.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/stream/render.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/json5.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/pickle.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/props.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/repr.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/toml.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/xml.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/formats/yaml.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/funcs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/funcs/genmachine.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/funcs/match.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/funcs/pairs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/funcs/pipes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/dags.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/domination.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/dot/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/dot/items.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/dot/make.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/dot/rendering.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/dot/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/graphs/trees.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/asgi.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/clients.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/consts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/cookies.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/coro/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/coro/fdio.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/coro/server.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/dates.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/encodings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/handlers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/headers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/json.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/jwt.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/multipart.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/parsing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/sessions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/sse.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/versions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/http/wsgi.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/binder.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/bindings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/eagers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/exceptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/bindings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/elements.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/injector.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/inspect.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/multis.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/origins.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/privates.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/providers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/proxy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/impl/scopes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/injector.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/inspect.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/keys.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/listeners.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/managed.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/multis.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/origins.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/overrides.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/privates.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/providers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/inject/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/abc.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/buffers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/abc.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/adapters.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/brotli.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/bz2.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/codecs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/gzip.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/lz4.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/lzma.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/snappy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/zlib.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/compress/zstd.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/fdio/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/fdio/handlers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/fdio/kqueue.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/fdio/manager.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/fdio/pollers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/generators/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/generators/consts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/generators/direct.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/generators/readers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/generators/stepped.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/pyio.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/io/trampoline.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/iterators/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/iterators/iterators.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/iterators/recipes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/iterators/tools.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/iterators/unique.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/cached.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/classes/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/classes/abstract.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/classes/restrict.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/classes/simple.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/classes/virtual.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/clsdct.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/cmp.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/contextmanagers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/datetimes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/descriptors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/exceptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/functions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/generators.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/imports.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/iterables.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/maybes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/objects.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/resolving.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/resources.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/strings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/sys.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/timeouts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lang/typing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/libc.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/abstract.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/contextmanagers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/controller.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/manager.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/states.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lifecycles/transitions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/cached.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/check.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/contextmanagers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/dataclasses.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/json.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/logs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/maybes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/pycharm.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/reflect.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/resources.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/runtime.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/secrets.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/shlex.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/socket.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/socketserver.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/strings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/lite/typing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/abc.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/all.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/color.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/configs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/filters.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/handlers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/json.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/noisy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/proxy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/standard.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/logs/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/manifests/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/manifests/load.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/manifests/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/any.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/base64.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/dataclasses.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/datetimes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/enums.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/exceptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/factories.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/forbidden.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/global_.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/helpers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/iterables.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/literals.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/mappings.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/maybes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/namedtuples.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/naming.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/newtypes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/nop.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/numbers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/objects.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/optionals.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/polymorphism.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/primitives.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/registries.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/standard.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/unions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/uuids.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/marshal/values.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/math/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/math/bits.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/math/floats.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/math/stats.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/multiprocessing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/atomics.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/deathsig.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/files.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/journald.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/linux.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/paths.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/pidfile.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/os/sizes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/reflect/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/reflect/inspect.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/reflect/ops.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/reflect/subst.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/reflect/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/runmodule.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/crypto.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/openssl.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/pwgen.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/pwhash.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/secrets.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/secrets/subprocesses.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/LICENSE +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/__main__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/ast.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/cli.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/exceptions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/functions.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/lexer.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/parser.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/scope.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jmespath/visitor.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonrpc/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonrpc/errors.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonrpc/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonrpc/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/core.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/metadata.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/parse.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/render.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/keywords/validation.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/metaschema.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/applicator.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/content.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/core.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-annotation.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-assertion.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/meta-data.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/unevaluated.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/validation.json +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/jsonschema/types.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/openapi/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/openapi/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/specs/openapi/openapi.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/abc.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/alchemy/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/alchemy/asyncs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/alchemy/duckdb.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/alchemy/exprs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/alchemy/secrets.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/alchemy/sqlean.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/dbapi.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/dbs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/params.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/qualifiedname.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/base.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/binary.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/building.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/exprs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/idents.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/inserts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/multi.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/names.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/ops.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/params.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/relations.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/rendering.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/selects.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/stmts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/queries/unary.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/alchemy.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/dtypes.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/elements.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/lower.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/marshal.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sql/tabledefs/tabledefs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/subprocesses.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/sync.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/term.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/helpers.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/inject/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/marks.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/_registry.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/asyncs.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/depskip.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/logging.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/managermarks.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/pydevd.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/repeat.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/skips.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/spacing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/switches.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/plugins/utils.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/pytest/skip.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/testing/testing.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/__init__.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/asdl.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/delimit.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/glyphsplit.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/indent.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/parts.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish/text/random.py +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish.egg-info/dependency_links.txt +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish.egg-info/entry_points.txt +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish.egg-info/requires.txt +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/omlish.egg-info/top_level.txt +0 -0
- {omlish-0.0.0.dev177 → omlish-0.0.0.dev179}/setup.cfg +0 -0
@@ -50,7 +50,8 @@ class HashProcessor(Processor):
|
|
50
50
|
if self._info.params_extras.cache_hash:
|
51
51
|
body = [
|
52
52
|
f'try: return self.{self.CACHED_HASH_ATTR}',
|
53
|
-
f'except AttributeError:
|
53
|
+
f'except AttributeError: pass',
|
54
|
+
f'object.__setattr__(self, {self.CACHED_HASH_ATTR!r}, h := hash({self_tuple}))',
|
54
55
|
f'return h',
|
55
56
|
]
|
56
57
|
else:
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import abc
|
2
2
|
import typing as ta
|
3
3
|
|
4
|
-
from .. import check
|
5
4
|
from .. import dataclasses as dc
|
6
5
|
from .. import lang
|
7
6
|
from .impl.origins import HasOriginsImpl
|
@@ -19,8 +18,8 @@ class ElementGenerator(lang.Abstract, lang.PackageSealed):
|
|
19
18
|
|
20
19
|
@dc.dataclass(frozen=True)
|
21
20
|
class Elements(lang.Final):
|
22
|
-
es:
|
23
|
-
cs:
|
21
|
+
es: ta.Collection[Element] | None = None
|
22
|
+
cs: ta.Collection['Elements'] | None = None
|
24
23
|
|
25
24
|
def __iter__(self) -> ta.Generator[Element, None, None]:
|
26
25
|
if self.es:
|
@@ -38,14 +37,14 @@ Elemental = ta.Union[ # noqa
|
|
38
37
|
|
39
38
|
|
40
39
|
def as_elements(*args: Elemental) -> Elements:
|
41
|
-
es:
|
42
|
-
cs:
|
40
|
+
es: list[Element] = []
|
41
|
+
cs: list[Elements] = []
|
43
42
|
|
44
43
|
def rec(a):
|
45
44
|
if isinstance(a, Element):
|
46
|
-
es.
|
45
|
+
es.append(a)
|
47
46
|
elif isinstance(a, Elements):
|
48
|
-
cs.
|
47
|
+
cs.append(a)
|
49
48
|
elif isinstance(a, ElementGenerator):
|
50
49
|
for n in a:
|
51
50
|
rec(n)
|
@@ -59,6 +58,6 @@ def as_elements(*args: Elemental) -> Elements:
|
|
59
58
|
return next(iter(cs))
|
60
59
|
|
61
60
|
return Elements(
|
62
|
-
|
63
|
-
|
61
|
+
es if es else None,
|
62
|
+
cs if cs else None,
|
64
63
|
)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007
|
2
2
|
import abc
|
3
3
|
import contextlib
|
4
|
+
import contextvars
|
4
5
|
import dataclasses as dc
|
5
6
|
import functools
|
6
7
|
import inspect
|
@@ -70,6 +71,10 @@ class InjectorBinding:
|
|
70
71
|
key: InjectorKey
|
71
72
|
provider: InjectorProvider
|
72
73
|
|
74
|
+
def __post_init__(self) -> None:
|
75
|
+
check.isinstance(self.key, InjectorKey)
|
76
|
+
check.isinstance(self.provider, InjectorProvider)
|
77
|
+
|
73
78
|
|
74
79
|
class InjectorBindings(abc.ABC):
|
75
80
|
@abc.abstractmethod
|
@@ -286,6 +291,33 @@ def as_injector_bindings(*args: InjectorBindingOrBindings) -> InjectorBindings:
|
|
286
291
|
##
|
287
292
|
|
288
293
|
|
294
|
+
def build_injector_provider_map(bs: InjectorBindings) -> ta.Mapping[InjectorKey, InjectorProvider]:
|
295
|
+
pm: ta.Dict[InjectorKey, InjectorProvider] = {}
|
296
|
+
am: ta.Dict[InjectorKey, ta.List[InjectorProvider]] = {}
|
297
|
+
|
298
|
+
for b in bs.bindings():
|
299
|
+
if b.key.array:
|
300
|
+
al = am.setdefault(b.key, [])
|
301
|
+
if isinstance(b.provider, ArrayInjectorProvider):
|
302
|
+
al.extend(b.provider.ps)
|
303
|
+
else:
|
304
|
+
al.append(b.provider)
|
305
|
+
else:
|
306
|
+
if b.key in pm:
|
307
|
+
raise KeyError(b.key)
|
308
|
+
pm[b.key] = b.provider
|
309
|
+
|
310
|
+
if am:
|
311
|
+
for k, aps in am.items():
|
312
|
+
pm[k] = ArrayInjectorProvider(aps)
|
313
|
+
|
314
|
+
return pm
|
315
|
+
|
316
|
+
|
317
|
+
###
|
318
|
+
# overrides
|
319
|
+
|
320
|
+
|
289
321
|
@dc.dataclass(frozen=True)
|
290
322
|
class OverridesInjectorBindings(InjectorBindings):
|
291
323
|
p: InjectorBindings
|
@@ -307,30 +339,160 @@ def injector_override(p: InjectorBindings, *args: InjectorBindingOrBindings) ->
|
|
307
339
|
return OverridesInjectorBindings(p, m)
|
308
340
|
|
309
341
|
|
310
|
-
|
342
|
+
###
|
343
|
+
# scopes
|
311
344
|
|
312
345
|
|
313
|
-
|
314
|
-
|
315
|
-
|
346
|
+
class InjectorScope(abc.ABC): # noqa
|
347
|
+
def __init__(
|
348
|
+
self,
|
349
|
+
*,
|
350
|
+
_i: Injector,
|
351
|
+
) -> None:
|
352
|
+
check.not_in(abc.ABC, type(self).__bases__)
|
316
353
|
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
354
|
+
super().__init__()
|
355
|
+
|
356
|
+
self._i = _i
|
357
|
+
|
358
|
+
all_seeds: ta.Iterable[_InjectorScopeSeed] = self._i.provide(InjectorKey(_InjectorScopeSeed, array=True))
|
359
|
+
self._sks = {s.k for s in all_seeds if s.sc is type(self)}
|
360
|
+
|
361
|
+
#
|
362
|
+
|
363
|
+
@dc.dataclass(frozen=True)
|
364
|
+
class State:
|
365
|
+
seeds: ta.Dict[InjectorKey, ta.Any]
|
366
|
+
provisions: ta.Dict[InjectorKey, ta.Any] = dc.field(default_factory=dict)
|
367
|
+
|
368
|
+
def new_state(self, vs: ta.Mapping[InjectorKey, ta.Any]) -> State:
|
369
|
+
vs = dict(vs)
|
370
|
+
check.equal(set(vs.keys()), self._sks)
|
371
|
+
return InjectorScope.State(vs)
|
372
|
+
|
373
|
+
#
|
374
|
+
|
375
|
+
@abc.abstractmethod
|
376
|
+
def state(self) -> State:
|
377
|
+
raise NotImplementedError
|
378
|
+
|
379
|
+
@abc.abstractmethod
|
380
|
+
def enter(self, vs: ta.Mapping[InjectorKey, ta.Any]) -> ta.ContextManager[None]:
|
381
|
+
raise NotImplementedError
|
382
|
+
|
383
|
+
|
384
|
+
class ExclusiveInjectorScope(InjectorScope, abc.ABC):
|
385
|
+
_st: ta.Optional[InjectorScope.State] = None
|
386
|
+
|
387
|
+
def state(self) -> InjectorScope.State:
|
388
|
+
return check.not_none(self._st)
|
389
|
+
|
390
|
+
@contextlib.contextmanager
|
391
|
+
def enter(self, vs: ta.Mapping[InjectorKey, ta.Any]) -> ta.Iterator[None]:
|
392
|
+
check.none(self._st)
|
393
|
+
self._st = self.new_state(vs)
|
394
|
+
try:
|
395
|
+
yield
|
396
|
+
finally:
|
397
|
+
self._st = None
|
398
|
+
|
399
|
+
|
400
|
+
class ContextvarInjectorScope(InjectorScope, abc.ABC):
|
401
|
+
_cv: contextvars.ContextVar
|
402
|
+
|
403
|
+
def __init_subclass__(cls, **kwargs: ta.Any) -> None:
|
404
|
+
super().__init_subclass__(**kwargs)
|
405
|
+
check.not_in(abc.ABC, cls.__bases__)
|
406
|
+
check.state(not hasattr(cls, '_cv'))
|
407
|
+
cls._cv = contextvars.ContextVar(f'{cls.__name__}_cv')
|
408
|
+
|
409
|
+
def state(self) -> InjectorScope.State:
|
410
|
+
return self._cv.get()
|
411
|
+
|
412
|
+
@contextlib.contextmanager
|
413
|
+
def enter(self, vs: ta.Mapping[InjectorKey, ta.Any]) -> ta.Iterator[None]:
|
414
|
+
try:
|
415
|
+
self._cv.get()
|
416
|
+
except LookupError:
|
417
|
+
pass
|
324
418
|
else:
|
325
|
-
|
326
|
-
|
327
|
-
|
419
|
+
raise RuntimeError(f'Scope already entered: {self}')
|
420
|
+
st = self.new_state(vs)
|
421
|
+
tok = self._cv.set(st)
|
422
|
+
try:
|
423
|
+
yield
|
424
|
+
finally:
|
425
|
+
self._cv.reset(tok)
|
328
426
|
|
329
|
-
if am:
|
330
|
-
for k, aps in am.items():
|
331
|
-
pm[k] = ArrayInjectorProvider(aps)
|
332
427
|
|
333
|
-
|
428
|
+
#
|
429
|
+
|
430
|
+
|
431
|
+
@dc.dataclass(frozen=True)
|
432
|
+
class ScopedInjectorProvider(InjectorProvider):
|
433
|
+
p: InjectorProvider
|
434
|
+
k: InjectorKey
|
435
|
+
sc: ta.Type[InjectorScope]
|
436
|
+
|
437
|
+
def __post_init__(self) -> None:
|
438
|
+
check.isinstance(self.p, InjectorProvider)
|
439
|
+
check.isinstance(self.k, InjectorKey)
|
440
|
+
check.issubclass(self.sc, InjectorScope)
|
441
|
+
|
442
|
+
def provider_fn(self) -> InjectorProviderFn:
|
443
|
+
def pfn(i: Injector) -> ta.Any:
|
444
|
+
st = i[self.sc].state()
|
445
|
+
try:
|
446
|
+
return st.provisions[self.k]
|
447
|
+
except KeyError:
|
448
|
+
pass
|
449
|
+
v = ufn(i)
|
450
|
+
st.provisions[self.k] = v
|
451
|
+
return v
|
452
|
+
|
453
|
+
ufn = self.p.provider_fn()
|
454
|
+
return pfn
|
455
|
+
|
456
|
+
|
457
|
+
@dc.dataclass(frozen=True)
|
458
|
+
class _ScopeSeedInjectorProvider(InjectorProvider):
|
459
|
+
k: InjectorKey
|
460
|
+
sc: ta.Type[InjectorScope]
|
461
|
+
|
462
|
+
def __post_init__(self) -> None:
|
463
|
+
check.isinstance(self.k, InjectorKey)
|
464
|
+
check.issubclass(self.sc, InjectorScope)
|
465
|
+
|
466
|
+
def provider_fn(self) -> InjectorProviderFn:
|
467
|
+
def pfn(i: Injector) -> ta.Any:
|
468
|
+
st = i[self.sc].state()
|
469
|
+
return st.seeds[self.k]
|
470
|
+
return pfn
|
471
|
+
|
472
|
+
|
473
|
+
def bind_injector_scope(sc: ta.Type[InjectorScope]) -> InjectorBindingOrBindings:
|
474
|
+
return InjectorBinder.bind(sc, singleton=True)
|
475
|
+
|
476
|
+
|
477
|
+
#
|
478
|
+
|
479
|
+
|
480
|
+
@dc.dataclass(frozen=True)
|
481
|
+
class _InjectorScopeSeed:
|
482
|
+
sc: ta.Type['InjectorScope']
|
483
|
+
k: InjectorKey
|
484
|
+
|
485
|
+
def __post_init__(self) -> None:
|
486
|
+
check.issubclass(self.sc, InjectorScope)
|
487
|
+
check.isinstance(self.k, InjectorKey)
|
488
|
+
|
489
|
+
|
490
|
+
def bind_injector_scope_seed(k: ta.Any, sc: ta.Type[InjectorScope]) -> InjectorBindingOrBindings:
|
491
|
+
kk = as_injector_key(k)
|
492
|
+
return as_injector_bindings(
|
493
|
+
InjectorBinding(kk, _ScopeSeedInjectorProvider(kk, sc)),
|
494
|
+
InjectorBinder.bind(_InjectorScopeSeed(sc, kk), array=True),
|
495
|
+
)
|
334
496
|
|
335
497
|
|
336
498
|
###
|
@@ -477,13 +639,21 @@ _INJECTOR_EAGER_ARRAY_KEY: InjectorKey[_InjectorEager] = InjectorKey(_InjectorEa
|
|
477
639
|
|
478
640
|
|
479
641
|
class _Injector(Injector):
|
642
|
+
_DEFAULT_BINDINGS: ta.ClassVar[ta.List[InjectorBinding]] = []
|
643
|
+
|
480
644
|
def __init__(self, bs: InjectorBindings, p: ta.Optional[Injector] = None) -> None:
|
481
645
|
super().__init__()
|
482
646
|
|
483
647
|
self._bs = check.isinstance(bs, InjectorBindings)
|
484
648
|
self._p: ta.Optional[Injector] = check.isinstance(p, (Injector, type(None)))
|
485
649
|
|
486
|
-
self._pfm = {
|
650
|
+
self._pfm = {
|
651
|
+
k: v.provider_fn()
|
652
|
+
for k, v in build_injector_provider_map(as_injector_bindings(
|
653
|
+
*self._DEFAULT_BINDINGS,
|
654
|
+
bs,
|
655
|
+
)).items()
|
656
|
+
}
|
487
657
|
|
488
658
|
if _INJECTOR_INJECTOR_KEY in self._pfm:
|
489
659
|
raise DuplicateInjectorKeyError(_INJECTOR_INJECTOR_KEY)
|
@@ -650,6 +820,7 @@ class InjectorBinder:
|
|
650
820
|
to_const: ta.Any = None,
|
651
821
|
to_key: ta.Any = None,
|
652
822
|
|
823
|
+
in_: ta.Optional[ta.Type[InjectorScope]] = None,
|
653
824
|
singleton: bool = False,
|
654
825
|
|
655
826
|
eager: bool = False,
|
@@ -659,12 +830,12 @@ class InjectorBinder:
|
|
659
830
|
if isinstance(obj, cls._BANNED_BIND_TYPES):
|
660
831
|
raise TypeError(obj)
|
661
832
|
|
662
|
-
|
833
|
+
#
|
663
834
|
|
664
835
|
if key is not None:
|
665
836
|
key = as_injector_key(key)
|
666
837
|
|
667
|
-
|
838
|
+
#
|
668
839
|
|
669
840
|
has_to = (
|
670
841
|
to_fn is not None or
|
@@ -694,7 +865,7 @@ class InjectorBinder:
|
|
694
865
|
key = InjectorKey(type(obj))
|
695
866
|
del has_to
|
696
867
|
|
697
|
-
|
868
|
+
#
|
698
869
|
|
699
870
|
if tag is not None:
|
700
871
|
if key.tag is not None:
|
@@ -704,7 +875,7 @@ class InjectorBinder:
|
|
704
875
|
if array is not None:
|
705
876
|
key = dc.replace(key, array=array)
|
706
877
|
|
707
|
-
|
878
|
+
#
|
708
879
|
|
709
880
|
providers: ta.List[InjectorProvider] = []
|
710
881
|
if to_fn is not None:
|
@@ -719,23 +890,34 @@ class InjectorBinder:
|
|
719
890
|
raise TypeError('Must specify provider')
|
720
891
|
if len(providers) > 1:
|
721
892
|
raise TypeError('May not specify multiple providers')
|
722
|
-
provider
|
893
|
+
provider = check.single(providers)
|
723
894
|
|
724
|
-
|
895
|
+
#
|
725
896
|
|
897
|
+
pws: ta.List[ta.Any] = []
|
898
|
+
if in_ is not None:
|
899
|
+
check.issubclass(in_, InjectorScope)
|
900
|
+
check.not_in(abc.ABC, in_.__bases__)
|
901
|
+
pws.append(functools.partial(ScopedInjectorProvider, k=key, sc=in_))
|
726
902
|
if singleton:
|
727
|
-
|
903
|
+
pws.append(SingletonInjectorProvider)
|
904
|
+
if len(pws) > 1:
|
905
|
+
raise TypeError('May not specify multiple provider wrappers')
|
906
|
+
elif pws:
|
907
|
+
provider = check.single(pws)(provider)
|
908
|
+
|
909
|
+
#
|
728
910
|
|
729
911
|
binding = InjectorBinding(key, provider)
|
730
912
|
|
731
|
-
|
913
|
+
#
|
732
914
|
|
733
915
|
extras: ta.List[InjectorBinding] = []
|
734
916
|
|
735
917
|
if eager:
|
736
918
|
extras.append(bind_injector_eager_key(key))
|
737
919
|
|
738
|
-
|
920
|
+
#
|
739
921
|
|
740
922
|
if extras:
|
741
923
|
return as_injector_bindings(binding, *extras)
|
@@ -808,7 +990,8 @@ def bind_injector_eager_key(key: ta.Any) -> InjectorBinding:
|
|
808
990
|
return InjectorBinding(_INJECTOR_EAGER_ARRAY_KEY, ConstInjectorProvider(_InjectorEager(as_injector_key(key))))
|
809
991
|
|
810
992
|
|
811
|
-
|
993
|
+
###
|
994
|
+
# api
|
812
995
|
|
813
996
|
|
814
997
|
class InjectionApi:
|
@@ -828,9 +1011,19 @@ class InjectionApi:
|
|
828
1011
|
def as_bindings(self, *args: InjectorBindingOrBindings) -> InjectorBindings:
|
829
1012
|
return as_injector_bindings(*args)
|
830
1013
|
|
1014
|
+
# overrides
|
1015
|
+
|
831
1016
|
def override(self, p: InjectorBindings, *args: InjectorBindingOrBindings) -> InjectorBindings:
|
832
1017
|
return injector_override(p, *args)
|
833
1018
|
|
1019
|
+
# scopes
|
1020
|
+
|
1021
|
+
def bind_scope(self, sc: ta.Type[InjectorScope]) -> InjectorBindingOrBindings:
|
1022
|
+
return bind_injector_scope(sc)
|
1023
|
+
|
1024
|
+
def bind_scope_seed(self, k: ta.Any, sc: ta.Type[InjectorScope]) -> InjectorBindingOrBindings:
|
1025
|
+
return bind_injector_scope_seed(k, sc)
|
1026
|
+
|
834
1027
|
# injector
|
835
1028
|
|
836
1029
|
def create_injector(self, *args: InjectorBindingOrBindings, parent: ta.Optional[Injector] = None) -> Injector:
|
@@ -851,6 +1044,7 @@ class InjectionApi:
|
|
851
1044
|
to_const: ta.Any = None,
|
852
1045
|
to_key: ta.Any = None,
|
853
1046
|
|
1047
|
+
in_: ta.Optional[ta.Type[InjectorScope]] = None,
|
854
1048
|
singleton: bool = False,
|
855
1049
|
|
856
1050
|
eager: bool = False,
|
@@ -867,6 +1061,7 @@ class InjectionApi:
|
|
867
1061
|
to_const=to_const,
|
868
1062
|
to_key=to_key,
|
869
1063
|
|
1064
|
+
in_=in_,
|
870
1065
|
singleton=singleton,
|
871
1066
|
|
872
1067
|
eager=eager,
|
@@ -54,7 +54,7 @@ class Harness:
|
|
54
54
|
*[
|
55
55
|
inj.as_elements(
|
56
56
|
inj.bind_scope(ss),
|
57
|
-
inj.bind_scope_seed(
|
57
|
+
inj.bind_scope_seed(inj.Key(pytest.FixtureRequest, tag=pts), ss),
|
58
58
|
)
|
59
59
|
for pts, ss in _SCOPES_BY_PYTEST_SCOPE.items()
|
60
60
|
],
|
@@ -0,0 +1,223 @@
|
|
1
|
+
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
3
|
+
"""
|
4
|
+
TODO:
|
5
|
+
- raw
|
6
|
+
- blocks / inheritance
|
7
|
+
"""
|
8
|
+
import io
|
9
|
+
import re
|
10
|
+
import typing as ta
|
11
|
+
|
12
|
+
from omlish.lite.cached import cached_nullary
|
13
|
+
from omlish.lite.check import check
|
14
|
+
|
15
|
+
|
16
|
+
##
|
17
|
+
|
18
|
+
|
19
|
+
class MinjaTemplate:
|
20
|
+
def __init__(self, fn: ta.Callable) -> None:
|
21
|
+
super().__init__()
|
22
|
+
|
23
|
+
self._fn = fn
|
24
|
+
|
25
|
+
def __call__(self, **kwargs: ta.Any) -> str:
|
26
|
+
return self._fn(**kwargs)
|
27
|
+
|
28
|
+
|
29
|
+
##
|
30
|
+
|
31
|
+
|
32
|
+
class MinjaTemplateCompiler:
|
33
|
+
"""
|
34
|
+
Compiles a template string into a Python function. The returned function takes a dictionary 'context' and returns
|
35
|
+
the rendered string.
|
36
|
+
|
37
|
+
Supported syntax:
|
38
|
+
- Literal text remains literal.
|
39
|
+
- {{ expr }}: Evaluates 'expr' in the given context and writes its str() to output.
|
40
|
+
- {% code %}: Executes the given Python code (e.g. 'for x in items:'), must be terminated appropriately.
|
41
|
+
- {% endfor %} to close for loops.
|
42
|
+
- {% endif %} to close if blocks.
|
43
|
+
- {# comment #}: Ignored completely.
|
44
|
+
"""
|
45
|
+
|
46
|
+
DEFAULT_INDENT: str = ' '
|
47
|
+
|
48
|
+
def __init__(
|
49
|
+
self,
|
50
|
+
src: str,
|
51
|
+
args: ta.Sequence[str],
|
52
|
+
*,
|
53
|
+
indent: str = DEFAULT_INDENT,
|
54
|
+
) -> None:
|
55
|
+
super().__init__()
|
56
|
+
|
57
|
+
self._src = check.isinstance(src, str)
|
58
|
+
self._args = check.not_isinstance(args, str)
|
59
|
+
self._indent_str: str = check.non_empty_str(indent)
|
60
|
+
|
61
|
+
self._stack: ta.List[ta.Literal['for', 'if']] = []
|
62
|
+
self._lines: ta.List[str] = []
|
63
|
+
|
64
|
+
#
|
65
|
+
|
66
|
+
_TAG_PAT = re.compile(
|
67
|
+
r'({{.*?}}|{%.*?%}|{#.*?#})',
|
68
|
+
flags=re.DOTALL,
|
69
|
+
)
|
70
|
+
|
71
|
+
@classmethod
|
72
|
+
def _split_tags(cls, src: str) -> ta.List[ta.Tuple[str, str]]:
|
73
|
+
raw = cls._TAG_PAT.split(src)
|
74
|
+
|
75
|
+
#
|
76
|
+
|
77
|
+
parts: ta.List[ta.Tuple[str, str]] = []
|
78
|
+
for s in raw:
|
79
|
+
if not s:
|
80
|
+
continue
|
81
|
+
|
82
|
+
for g, l, r in [
|
83
|
+
('{', '{{', '}}'),
|
84
|
+
('%', '{%', '%}'),
|
85
|
+
('#', '{#', '#}'),
|
86
|
+
]:
|
87
|
+
if s.startswith(l) and s.endswith(r):
|
88
|
+
parts.append((g, s[len(l):-len(r)]))
|
89
|
+
break
|
90
|
+
else:
|
91
|
+
parts.append(('', s))
|
92
|
+
|
93
|
+
#
|
94
|
+
|
95
|
+
for i, (g, s) in enumerate(parts):
|
96
|
+
if s.startswith('-'):
|
97
|
+
if i > 0:
|
98
|
+
lg, ls = parts[i - 1]
|
99
|
+
parts[i - 1] = (lg, ls.rstrip())
|
100
|
+
s = s[1:].lstrip()
|
101
|
+
|
102
|
+
if s.endswith('-'):
|
103
|
+
if i < len(parts) - 1:
|
104
|
+
rg, rs = parts[i + 1]
|
105
|
+
parts[i + 1] = (rg, rs.lstrip())
|
106
|
+
s = s[:-1].rstrip()
|
107
|
+
|
108
|
+
parts[i] = (g, s)
|
109
|
+
|
110
|
+
#
|
111
|
+
|
112
|
+
parts = [(g, s) for g, s in parts if g or s]
|
113
|
+
|
114
|
+
#
|
115
|
+
|
116
|
+
return parts
|
117
|
+
|
118
|
+
#
|
119
|
+
|
120
|
+
def _indent(self, line: str, ofs: int = 0) -> str:
|
121
|
+
return self._indent_str * (len(self._stack) + 1 + ofs) + line
|
122
|
+
|
123
|
+
#
|
124
|
+
|
125
|
+
_RENDER_FN_NAME = '__render'
|
126
|
+
|
127
|
+
@cached_nullary
|
128
|
+
def render(self) -> ta.Tuple[str, ta.Mapping[str, ta.Any]]:
|
129
|
+
parts = self._split_tags(self._src)
|
130
|
+
|
131
|
+
self._lines.append(f'def {self._RENDER_FN_NAME}({", ".join(self._args)}):')
|
132
|
+
self._lines.append(self._indent('__output = __StringIO()'))
|
133
|
+
|
134
|
+
for g, s in parts:
|
135
|
+
if g == '{':
|
136
|
+
expr = s.strip()
|
137
|
+
self._lines.append(self._indent(f'__output.write(str({expr}))'))
|
138
|
+
|
139
|
+
elif g == '%':
|
140
|
+
stmt = s.strip()
|
141
|
+
|
142
|
+
if stmt.startswith('for '):
|
143
|
+
self._lines.append(self._indent(stmt + ':'))
|
144
|
+
self._stack.append('for')
|
145
|
+
elif stmt.startswith('endfor'):
|
146
|
+
check.equal(self._stack.pop(), 'for')
|
147
|
+
|
148
|
+
elif stmt.startswith('if '):
|
149
|
+
self._lines.append(self._indent(stmt + ':'))
|
150
|
+
self._stack.append('if')
|
151
|
+
elif stmt.startswith('elif '):
|
152
|
+
check.equal(self._stack[-1], 'if')
|
153
|
+
self._lines.append(self._indent(stmt + ':', -1))
|
154
|
+
elif stmt.strip() == 'else':
|
155
|
+
check.equal(self._stack[-1], 'if')
|
156
|
+
self._lines.append(self._indent('else:', -1))
|
157
|
+
elif stmt.startswith('endif'):
|
158
|
+
check.equal(self._stack.pop(), 'if')
|
159
|
+
|
160
|
+
else:
|
161
|
+
self._lines.append(self._indent(stmt))
|
162
|
+
|
163
|
+
elif g == '#':
|
164
|
+
pass
|
165
|
+
|
166
|
+
elif not g:
|
167
|
+
if s:
|
168
|
+
safe_text = s.replace('"""', '\\"""')
|
169
|
+
self._lines.append(self._indent(f'__output.write("""{safe_text}""")'))
|
170
|
+
|
171
|
+
else:
|
172
|
+
raise KeyError(g)
|
173
|
+
|
174
|
+
check.empty(self._stack)
|
175
|
+
|
176
|
+
self._lines.append(self._indent('return __output.getvalue()'))
|
177
|
+
|
178
|
+
ns = {
|
179
|
+
'__StringIO': io.StringIO,
|
180
|
+
}
|
181
|
+
|
182
|
+
return ('\n'.join(self._lines), ns)
|
183
|
+
|
184
|
+
#
|
185
|
+
|
186
|
+
@classmethod
|
187
|
+
def _make_fn(
|
188
|
+
cls,
|
189
|
+
name: str,
|
190
|
+
src: str,
|
191
|
+
ns: ta.Optional[ta.Mapping[str, ta.Any]] = None,
|
192
|
+
) -> ta.Callable:
|
193
|
+
glo: dict = {}
|
194
|
+
if ns:
|
195
|
+
glo.update(ns)
|
196
|
+
exec(src, glo)
|
197
|
+
return glo[name]
|
198
|
+
|
199
|
+
#
|
200
|
+
|
201
|
+
@cached_nullary
|
202
|
+
def compile(self) -> MinjaTemplate:
|
203
|
+
render_src, render_ns = self.render()
|
204
|
+
|
205
|
+
render_fn = self._make_fn(
|
206
|
+
self._RENDER_FN_NAME,
|
207
|
+
render_src,
|
208
|
+
render_ns,
|
209
|
+
)
|
210
|
+
|
211
|
+
return MinjaTemplate(render_fn)
|
212
|
+
|
213
|
+
|
214
|
+
##
|
215
|
+
|
216
|
+
|
217
|
+
def compile_minja_template(src: str, args: ta.Sequence[str] = ()) -> MinjaTemplate:
|
218
|
+
return MinjaTemplateCompiler(src, args).compile()
|
219
|
+
|
220
|
+
|
221
|
+
def render_minja_template(src: str, **kwargs: ta.Any) -> str:
|
222
|
+
tmpl = compile_minja_template(src, list(kwargs))
|
223
|
+
return tmpl(**kwargs)
|