omlish 0.0.0.dev156__tar.gz → 0.0.0.dev158__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omlish-0.0.0.dev156/omlish.egg-info → omlish-0.0.0.dev158}/PKG-INFO +1 -1
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/__about__.py +2 -2
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/argparse/cli.py +4 -0
- {omlish-0.0.0.dev156/omlish/lite → omlish-0.0.0.dev158/omlish/asyncs}/asyncio/subprocesses.py +19 -54
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/sys.py +1 -1
- omlish-0.0.0.dev156/omlish/io/fdio/corohttp.py → omlish-0.0.0.dev158/omlish/http/coro/fdio.py +6 -5
- omlish-0.0.0.dev156/omlish/http/coroserver.py → omlish-0.0.0.dev158/omlish/http/coro/server.py +12 -12
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/handlers.py +1 -1
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/cached.py +2 -2
- omlish-0.0.0.dev158/omlish/lite/logs.py +4 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/marshal.py +1 -0
- omlish-0.0.0.dev156/omlish/logs/__init__.py → omlish-0.0.0.dev158/omlish/logs/all.py +20 -15
- omlish-0.0.0.dev156/omlish/logs/formatters.py → omlish-0.0.0.dev158/omlish/logs/color.py +1 -2
- omlish-0.0.0.dev158/omlish/logs/configs.py +26 -0
- omlish-0.0.0.dev158/omlish/logs/filters.py +10 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/logs/handlers.py +4 -1
- omlish-0.0.0.dev158/omlish/logs/json.py +56 -0
- omlish-0.0.0.dev158/omlish/logs/proxy.py +99 -0
- omlish-0.0.0.dev158/omlish/logs/standard.py +126 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/logs/utils.py +2 -2
- {omlish-0.0.0.dev156/omlish/lite → omlish-0.0.0.dev158/omlish}/subprocesses.py +98 -9
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/logging.py +1 -1
- omlish-0.0.0.dev158/omlish/text/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158/omlish.egg-info}/PKG-INFO +1 -1
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish.egg-info/SOURCES.txt +11 -6
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/pyproject.toml +1 -1
- omlish-0.0.0.dev156/omlish/lite/logs.py +0 -274
- omlish-0.0.0.dev156/omlish/logs/configs.py +0 -57
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/LICENSE +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/MANIFEST.in +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/README.rst +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/.manifests.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/BufferedTokenStream.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/CommonTokenFactory.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/CommonTokenStream.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/FileStream.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/InputStream.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/IntervalSet.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/LICENSE.txt +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/LL1Analyzer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/Lexer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/ListTokenSource.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/Parser.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/ParserInterpreter.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/ParserRuleContext.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/PredictionContext.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/Recognizer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/RuleContext.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/StdinStream.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/Token.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/TokenStreamRewriter.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/Utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/_pygrun.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATN.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNConfig.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNConfigSet.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNDeserializationOptions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNDeserializer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNSimulator.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNState.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ATNType.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/LexerATNSimulator.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/LexerAction.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/LexerActionExecutor.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/ParserATNSimulator.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/PredictionMode.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/SemanticContext.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/Transition.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/atn/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/dfa/DFA.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/dfa/DFASerializer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/dfa/DFAState.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/dfa/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/error/DiagnosticErrorListener.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/error/ErrorListener.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/error/ErrorStrategy.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/error/Errors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/error/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/Chunk.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/ParseTreeMatch.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/ParseTreePattern.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/ParseTreePatternMatcher.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/RuleTagToken.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/TokenTagToken.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/Tree.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/Trees.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/tree/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/xpath/XPath.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/xpath/XPathLexer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/antlr/_runtime/xpath/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/argparse/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/argparse/all.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/all.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/anyio.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncio/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncio/all.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncio/asyncio.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncio/channels.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncio/streams.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncio/timeouts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/asyncs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/bridge.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/flavors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/trio.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/asyncs/trio_asyncio.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/__main__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/diag.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/harness.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/main.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/bootstrap/marshal.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/c3.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/cached.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/check.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/abc.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/cache/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/cache/descriptor.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/cache/impl.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/cache/types.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/coerce.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/exceptions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/frozen.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/hasheq.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/identity.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/indexed.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/mappings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/ordered.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/persistent.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/skiplist.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/sorted.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/treap.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/treapmap.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/unmodifiable.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/collections/utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/concurrent/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/concurrent/executors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/concurrent/futures.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/concurrent/threadlets.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/configs/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/configs/classes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/configs/flattening.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/configs/strings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/LICENSE +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/api.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/as_.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/copy.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/descriptors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/exceptions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/fields.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/frozen.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/hashing.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/init.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/internals.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/main.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/metaclass.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/metadata.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/order.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/params.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/processing.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/reflect.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/replace.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/repr.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/simple.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/slots.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/impl/utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dataclasses/utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/datetimes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/defs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/_pycharm/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/_pycharm/runhack.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/asts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/debug.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/procfs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/procstats.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/ps.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/pycharm.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/pydevd.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/replserver/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/replserver/__main__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/replserver/console.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/replserver/server.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/diag/threads.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dispatch/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dispatch/_dispatch2.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dispatch/_dispatch3.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dispatch/dispatch.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dispatch/functions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dispatch/methods.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/all.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/cli.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/compose.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/consts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/detect.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/hub.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/manifests.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/docker/timebomb.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/dynamic.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/dotenv.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/default.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/jiter.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/orjson.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/std.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/backends/ujson.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/consts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/encoding.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/json.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/literals.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/render.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/stream/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/stream/build.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/stream/errors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/stream/lex.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/stream/parse.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/stream/render.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/json/types.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/props.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/xml.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/formats/yaml.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/funcs/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/funcs/genmachine.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/funcs/match.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/funcs/pairs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/funcs/pipes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/dags.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/domination.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/dot/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/dot/items.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/dot/make.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/dot/rendering.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/dot/utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/graphs/trees.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/all.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/asgi.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/clients.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/consts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/cookies.py +0 -0
- {omlish-0.0.0.dev156/omlish/inject/impl → omlish-0.0.0.dev158/omlish/http/coro}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/dates.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/encodings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/headers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/json.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/jwt.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/multipart.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/parsing.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/sessions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/sse.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/versions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/http/wsgi.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/binder.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/bindings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/eagers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/elements.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/exceptions.py +0 -0
- {omlish-0.0.0.dev156/omlish/io → omlish-0.0.0.dev158/omlish/inject/impl}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/bindings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/elements.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/injector.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/inspect.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/multis.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/origins.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/privates.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/providers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/proxy.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/impl/scopes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/injector.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/inspect.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/keys.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/listeners.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/managed.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/multis.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/origins.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/overrides.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/privates.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/providers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/scopes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/types.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/inject/utils.py +0 -0
- {omlish-0.0.0.dev156/omlish/lite/asyncio → omlish-0.0.0.dev158/omlish/io}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/abc.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/buffers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/abc.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/adapters.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/brotli.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/bz2.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/gzip.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/lz4.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/lzma.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/snappy.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/zlib.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/compress/zstd.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/fdio/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/fdio/handlers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/fdio/kqueue.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/fdio/manager.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/fdio/pollers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/generators/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/generators/consts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/generators/direct.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/generators/readers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/generators/stepped.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/pyio.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/io/trampoline.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/iterators.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/cached.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/classes/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/classes/abstract.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/classes/restrict.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/classes/simple.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/classes/virtual.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/clsdct.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/cmp.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/contextmanagers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/datetimes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/descriptors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/exceptions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/functions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/generators.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/imports.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/iterables.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/maybes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/objects.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/resolving.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/resources.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/strings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/sys.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/timeouts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lang/typing.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/libc.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/abstract.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/contextmanagers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/controller.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/manager.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/states.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lifecycles/transitions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/check.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/contextmanagers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/inject.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/json.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/maybes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/pycharm.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/reflect.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/resources.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/runtime.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/secrets.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/socket.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/socketserver.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/strings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/lite/typing.py +0 -0
- {omlish-0.0.0.dev156/omlish/math → omlish-0.0.0.dev158/omlish/logs}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/logs/abc.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/logs/noisy.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/manifests/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/manifests/load.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/manifests/types.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/any.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/base64.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/dataclasses.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/datetimes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/enums.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/exceptions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/factories.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/forbidden.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/global_.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/helpers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/iterables.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/mappings.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/maybes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/namedtuples.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/naming.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/newtypes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/nop.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/numbers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/objects.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/optionals.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/polymorphism.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/primitives.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/registries.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/standard.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/unions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/uuids.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/marshal/values.py +0 -0
- {omlish-0.0.0.dev156/omlish/os → omlish-0.0.0.dev158/omlish/math}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/math/bits.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/math/floats.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/math/stats.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/multiprocessing.py +0 -0
- {omlish-0.0.0.dev156/omlish/specs/jsonschema → omlish-0.0.0.dev158/omlish/os}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/os/deathsig.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/os/files.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/os/journald.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/os/linux.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/os/pidfile.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/os/sizes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/reflect/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/reflect/inspect.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/reflect/ops.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/reflect/subst.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/reflect/types.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/runmodule.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/crypto.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/marshal.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/openssl.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/pwgen.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/pwhash.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/secrets.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/secrets/subprocesses.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/LICENSE +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/__main__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/ast.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/cli.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/exceptions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/functions.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/lexer.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/parser.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/scope.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jmespath/visitor.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonrpc/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonrpc/errors.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonrpc/marshal.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonrpc/types.py +0 -0
- {omlish-0.0.0.dev156/omlish/specs/jsonschema/schemas → omlish-0.0.0.dev158/omlish/specs/jsonschema}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/core.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/metadata.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/parse.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/render.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/keywords/validation.py +0 -0
- {omlish-0.0.0.dev156/omlish/specs/jsonschema/schemas/draft202012 → omlish-0.0.0.dev158/omlish/specs/jsonschema/schemas}/__init__.py +0 -0
- {omlish-0.0.0.dev156/omlish/specs/jsonschema/schemas/draft202012/vocabularies → omlish-0.0.0.dev158/omlish/specs/jsonschema/schemas/draft202012}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/metaschema.json +0 -0
- {omlish-0.0.0.dev156/omlish/text → omlish-0.0.0.dev158/omlish/specs/jsonschema/schemas/draft202012/vocabularies}/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/applicator.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/content.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/core.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-annotation.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-assertion.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/meta-data.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/unevaluated.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/validation.json +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/jsonschema/types.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/openapi/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/openapi/marshal.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/specs/openapi/openapi.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/abc.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/alchemy/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/alchemy/asyncs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/alchemy/duckdb.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/alchemy/exprs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/alchemy/secrets.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/alchemy/sqlean.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/dbapi.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/dbs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/params.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/qualifiedname.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/base.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/binary.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/building.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/exprs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/idents.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/inserts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/marshal.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/multi.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/names.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/ops.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/relations.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/rendering.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/selects.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/stmts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/queries/unary.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/alchemy.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/dtypes.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/elements.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/lower.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/marshal.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sql/tabledefs/tabledefs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/sync.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/term.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/helpers.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/inject/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/inject/harness.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/marks.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/__init__.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/_registry.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/asyncs.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/depskip.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/managermarks.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/pydevd.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/repeat.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/skips.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/spacing.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/switches.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/plugins/utils.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/pytest/skip.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/testing/testing.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/text/asdl.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/text/delimit.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/text/glyphsplit.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/text/indent.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/text/parts.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish/text/random.py +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish.egg-info/dependency_links.txt +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish.egg-info/entry_points.txt +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish.egg-info/requires.txt +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/omlish.egg-info/top_level.txt +0 -0
- {omlish-0.0.0.dev156 → omlish-0.0.0.dev158}/setup.cfg +0 -0
@@ -14,6 +14,8 @@ import sys
|
|
14
14
|
import typing as ta
|
15
15
|
|
16
16
|
from ..lite.check import check
|
17
|
+
from ..lite.reflect import get_optional_alias_arg
|
18
|
+
from ..lite.reflect import is_optional_alias
|
17
19
|
|
18
20
|
|
19
21
|
T = ta.TypeVar('T')
|
@@ -120,6 +122,8 @@ def _get_argparse_arg_ann_kwargs(ann: ta.Any) -> ta.Mapping[str, ta.Any]:
|
|
120
122
|
return {'action': 'store_true'}
|
121
123
|
elif ann is list:
|
122
124
|
return {'action': 'append'}
|
125
|
+
elif is_optional_alias(ann):
|
126
|
+
return _get_argparse_arg_ann_kwargs(get_optional_alias_arg(ann))
|
123
127
|
else:
|
124
128
|
raise TypeError(ann)
|
125
129
|
|
{omlish-0.0.0.dev156/omlish/lite → omlish-0.0.0.dev158/omlish/asyncs}/asyncio/subprocesses.py
RENAMED
@@ -1,17 +1,18 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
2
3
|
import asyncio.base_subprocess
|
3
4
|
import asyncio.subprocess
|
4
5
|
import contextlib
|
5
6
|
import dataclasses as dc
|
6
7
|
import functools
|
8
|
+
import logging
|
7
9
|
import subprocess
|
8
10
|
import sys
|
9
11
|
import typing as ta
|
10
12
|
|
11
|
-
from ...
|
12
|
-
from
|
13
|
-
from
|
14
|
-
from ..subprocesses import AbstractSubprocesses
|
13
|
+
from ...lite.check import check
|
14
|
+
from ...subprocesses import AbstractAsyncSubprocesses
|
15
|
+
from .timeouts import asyncio_maybe_timeout
|
15
16
|
|
16
17
|
|
17
18
|
T = ta.TypeVar('T')
|
@@ -25,6 +26,8 @@ class AsyncioProcessCommunicator:
|
|
25
26
|
self,
|
26
27
|
proc: asyncio.subprocess.Process,
|
27
28
|
loop: ta.Optional[ta.Any] = None,
|
29
|
+
*,
|
30
|
+
log: ta.Optional[logging.Logger] = None,
|
28
31
|
) -> None:
|
29
32
|
super().__init__()
|
30
33
|
|
@@ -33,6 +36,7 @@ class AsyncioProcessCommunicator:
|
|
33
36
|
|
34
37
|
self._proc = proc
|
35
38
|
self._loop = loop
|
39
|
+
self._log = log
|
36
40
|
|
37
41
|
self._transport: asyncio.base_subprocess.BaseSubprocessTransport = check.isinstance(
|
38
42
|
proc._transport, # type: ignore # noqa
|
@@ -48,19 +52,19 @@ class AsyncioProcessCommunicator:
|
|
48
52
|
try:
|
49
53
|
if input is not None:
|
50
54
|
stdin.write(input)
|
51
|
-
if self._debug:
|
52
|
-
|
55
|
+
if self._debug and self._log is not None:
|
56
|
+
self._log.debug('%r communicate: feed stdin (%s bytes)', self, len(input))
|
53
57
|
|
54
58
|
await stdin.drain()
|
55
59
|
|
56
60
|
except (BrokenPipeError, ConnectionResetError) as exc:
|
57
61
|
# communicate() ignores BrokenPipeError and ConnectionResetError. write() and drain() can raise these
|
58
62
|
# exceptions.
|
59
|
-
if self._debug:
|
60
|
-
|
63
|
+
if self._debug and self._log is not None:
|
64
|
+
self._log.debug('%r communicate: stdin got %r', self, exc)
|
61
65
|
|
62
|
-
if self._debug:
|
63
|
-
|
66
|
+
if self._debug and self._log is not None:
|
67
|
+
self._log.debug('%r communicate: close stdin', self)
|
64
68
|
|
65
69
|
stdin.close()
|
66
70
|
|
@@ -76,15 +80,15 @@ class AsyncioProcessCommunicator:
|
|
76
80
|
check.equal(fd, 1)
|
77
81
|
stream = check.not_none(self._proc.stdout)
|
78
82
|
|
79
|
-
if self._debug:
|
83
|
+
if self._debug and self._log is not None:
|
80
84
|
name = 'stdout' if fd == 1 else 'stderr'
|
81
|
-
|
85
|
+
self._log.debug('%r communicate: read %s', self, name)
|
82
86
|
|
83
87
|
output = await stream.read()
|
84
88
|
|
85
|
-
if self._debug:
|
89
|
+
if self._debug and self._log is not None:
|
86
90
|
name = 'stdout' if fd == 1 else 'stderr'
|
87
|
-
|
91
|
+
self._log.debug('%r communicate: close %s', self, name)
|
88
92
|
|
89
93
|
transport.close()
|
90
94
|
|
@@ -133,7 +137,7 @@ class AsyncioProcessCommunicator:
|
|
133
137
|
##
|
134
138
|
|
135
139
|
|
136
|
-
class AsyncioSubprocesses(
|
140
|
+
class AsyncioSubprocesses(AbstractAsyncSubprocesses):
|
137
141
|
async def communicate(
|
138
142
|
self,
|
139
143
|
proc: asyncio.subprocess.Process,
|
@@ -230,44 +234,5 @@ class AsyncioSubprocesses(AbstractSubprocesses):
|
|
230
234
|
with self.prepare_and_wrap(*cmd, stdout=subprocess.PIPE, check=True, **kwargs) as (cmd, kwargs): # noqa
|
231
235
|
return check.not_none((await self.run(*cmd, **kwargs)).stdout)
|
232
236
|
|
233
|
-
async def check_output_str(
|
234
|
-
self,
|
235
|
-
*cmd: str,
|
236
|
-
**kwargs: ta.Any,
|
237
|
-
) -> str:
|
238
|
-
return (await self.check_output(*cmd, **kwargs)).decode().strip()
|
239
|
-
|
240
|
-
#
|
241
|
-
|
242
|
-
async def try_call(
|
243
|
-
self,
|
244
|
-
*cmd: str,
|
245
|
-
**kwargs: ta.Any,
|
246
|
-
) -> bool:
|
247
|
-
if isinstance(await self.async_try_fn(self.check_call, *cmd, **kwargs), Exception):
|
248
|
-
return False
|
249
|
-
else:
|
250
|
-
return True
|
251
|
-
|
252
|
-
async def try_output(
|
253
|
-
self,
|
254
|
-
*cmd: str,
|
255
|
-
**kwargs: ta.Any,
|
256
|
-
) -> ta.Optional[bytes]:
|
257
|
-
if isinstance(ret := await self.async_try_fn(self.check_output, *cmd, **kwargs), Exception):
|
258
|
-
return None
|
259
|
-
else:
|
260
|
-
return ret
|
261
|
-
|
262
|
-
async def try_output_str(
|
263
|
-
self,
|
264
|
-
*cmd: str,
|
265
|
-
**kwargs: ta.Any,
|
266
|
-
) -> ta.Optional[str]:
|
267
|
-
if (ret := await self.try_output(*cmd, **kwargs)) is None:
|
268
|
-
return None
|
269
|
-
else:
|
270
|
-
return ret.decode().strip()
|
271
|
-
|
272
237
|
|
273
238
|
asyncio_subprocesses = AsyncioSubprocesses()
|
omlish-0.0.0.dev156/omlish/io/fdio/corohttp.py → omlish-0.0.0.dev158/omlish/http/coro/fdio.py
RENAMED
@@ -1,14 +1,15 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
2
3
|
import socket
|
3
4
|
import typing as ta
|
4
5
|
|
5
|
-
from ...
|
6
|
-
from ...
|
6
|
+
from ...io.buffers import IncrementalWriteBuffer
|
7
|
+
from ...io.buffers import ReadableListBuffer
|
8
|
+
from ...io.fdio.handlers import SocketFdioHandler
|
7
9
|
from ...lite.check import check
|
8
10
|
from ...lite.socket import SocketAddress
|
9
|
-
from ..
|
10
|
-
from
|
11
|
-
from .handlers import SocketFdioHandler
|
11
|
+
from ..handlers import HttpHandler
|
12
|
+
from .server import CoroHttpServer
|
12
13
|
|
13
14
|
|
14
15
|
class CoroHttpServerConnectionFdioHandler(SocketFdioHandler):
|
omlish-0.0.0.dev156/omlish/http/coroserver.py → omlish-0.0.0.dev158/omlish/http/coro/server.py
RENAMED
@@ -63,18 +63,18 @@ import textwrap
|
|
63
63
|
import time
|
64
64
|
import typing as ta
|
65
65
|
|
66
|
-
from
|
67
|
-
from
|
68
|
-
from
|
69
|
-
from
|
70
|
-
from
|
71
|
-
from
|
72
|
-
from
|
73
|
-
from
|
74
|
-
from
|
75
|
-
from
|
76
|
-
from
|
77
|
-
from
|
66
|
+
from ...lite.check import check
|
67
|
+
from ...lite.socket import SocketAddress
|
68
|
+
from ...lite.socket import SocketHandler
|
69
|
+
from ..handlers import HttpHandler
|
70
|
+
from ..handlers import HttpHandlerRequest
|
71
|
+
from ..handlers import UnsupportedMethodHttpHandlerError
|
72
|
+
from ..parsing import EmptyParsedHttpResult
|
73
|
+
from ..parsing import HttpRequestParser
|
74
|
+
from ..parsing import ParsedHttpRequest
|
75
|
+
from ..parsing import ParseHttpRequestError
|
76
|
+
from ..versions import HttpProtocolVersion
|
77
|
+
from ..versions import HttpProtocolVersions
|
78
78
|
|
79
79
|
|
80
80
|
CoroHttpServerFactory = ta.Callable[[SocketAddress], 'CoroHttpServer']
|
@@ -8,7 +8,7 @@ from ..lite.socket import SocketAddress
|
|
8
8
|
from .parsing import HttpHeaders
|
9
9
|
|
10
10
|
|
11
|
-
HttpHandler = ta.Callable[['HttpHandlerRequest'], 'HttpHandlerResponse']
|
11
|
+
HttpHandler = ta.Callable[['HttpHandlerRequest'], 'HttpHandlerResponse'] # ta.TypeAlias
|
12
12
|
|
13
13
|
|
14
14
|
@dc.dataclass(frozen=True)
|
@@ -35,8 +35,8 @@ class _CachedNullary(_AbstractCachedNullary):
|
|
35
35
|
return self._value
|
36
36
|
|
37
37
|
|
38
|
-
def cached_nullary(fn
|
39
|
-
return _CachedNullary(fn)
|
38
|
+
def cached_nullary(fn: CallableT) -> CallableT:
|
39
|
+
return _CachedNullary(fn) # type: ignore
|
40
40
|
|
41
41
|
|
42
42
|
def static_init(fn: CallableT) -> CallableT:
|
@@ -1,32 +1,37 @@
|
|
1
|
-
from .
|
2
|
-
|
1
|
+
from .color import ( # noqa
|
2
|
+
ColorLogFormatter,
|
3
3
|
)
|
4
4
|
|
5
|
-
from .
|
6
|
-
|
5
|
+
from .filters import ( # noqa
|
6
|
+
TidLogFilter,
|
7
7
|
)
|
8
8
|
|
9
9
|
from .handlers import ( # noqa
|
10
10
|
ListHandler,
|
11
11
|
)
|
12
12
|
|
13
|
-
from .
|
14
|
-
|
13
|
+
from .json import ( # noqa
|
14
|
+
JsonLogFormatter,
|
15
15
|
)
|
16
16
|
|
17
|
+
from .noisy import ( # noqa
|
18
|
+
silence_noisy_loggers,
|
19
|
+
)
|
17
20
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
TidLogFilter,
|
23
|
-
JsonLogFormatter,
|
21
|
+
from .proxy import ( # noqa
|
22
|
+
ProxyLogFilterer,
|
23
|
+
ProxyLogHandler,
|
24
|
+
)
|
24
25
|
|
26
|
+
from .standard import ( # noqa
|
25
27
|
STANDARD_LOG_FORMAT_PARTS,
|
26
28
|
StandardLogFormatter,
|
27
29
|
|
28
|
-
ProxyLogFilterer,
|
29
|
-
ProxyLogHandler,
|
30
|
-
|
31
30
|
StandardLogHandler,
|
31
|
+
|
32
|
+
configure_standard_logging,
|
33
|
+
)
|
34
|
+
|
35
|
+
from .utils import ( # noqa
|
36
|
+
error_logging,
|
32
37
|
)
|
@@ -3,11 +3,10 @@ import logging
|
|
3
3
|
import typing as ta
|
4
4
|
|
5
5
|
from .. import term
|
6
|
-
from
|
6
|
+
from .standard import StandardLogFormatter
|
7
7
|
|
8
8
|
|
9
9
|
class ColorLogFormatter(StandardLogFormatter):
|
10
|
-
|
11
10
|
LEVEL_COLORS: ta.Mapping[int, term.SGRs.FG] = {
|
12
11
|
logging.WARNING: term.SGRs.FG.BRIGHT_YELLOW,
|
13
12
|
logging.ERROR: term.SGRs.FG.BRIGHT_RED,
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"""
|
2
|
+
https://docs.python.org/3/howto/logging.html#configuring-logging
|
3
|
+
"""
|
4
|
+
import dataclasses as dc
|
5
|
+
import typing as ta
|
6
|
+
|
7
|
+
|
8
|
+
##
|
9
|
+
|
10
|
+
|
11
|
+
FilterConfig: ta.TypeAlias = dict[str, ta.Any]
|
12
|
+
FormatterConfig: ta.TypeAlias = dict[str, ta.Any]
|
13
|
+
HandlerConfig: ta.TypeAlias = dict[str, ta.Any]
|
14
|
+
LoggerConfig: ta.TypeAlias = dict[str, ta.Any]
|
15
|
+
|
16
|
+
|
17
|
+
@dc.dataclass()
|
18
|
+
class DictConfig:
|
19
|
+
version: int = 1
|
20
|
+
incremental: bool = False
|
21
|
+
disable_existing_loggers: bool = False
|
22
|
+
filters: dict[str, FilterConfig] = dc.field(default_factory=dict)
|
23
|
+
formatters: dict[str, FormatterConfig] = dc.field(default_factory=dict)
|
24
|
+
handlers: dict[str, HandlerConfig] = dc.field(default_factory=dict)
|
25
|
+
loggers: dict[str, LoggerConfig] = dc.field(default_factory=dict)
|
26
|
+
root: LoggerConfig | None = None
|
@@ -1,10 +1,13 @@
|
|
1
|
+
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
1
3
|
import logging
|
4
|
+
import typing as ta
|
2
5
|
|
3
6
|
|
4
7
|
class ListHandler(logging.Handler):
|
5
8
|
def __init__(self) -> None:
|
6
9
|
super().__init__()
|
7
|
-
self.records:
|
10
|
+
self.records: ta.List[logging.LogRecord] = []
|
8
11
|
|
9
12
|
def emit(self, record: logging.LogRecord) -> None:
|
10
13
|
self.records.append(record)
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
3
|
+
"""
|
4
|
+
TODO:
|
5
|
+
- translate json keys
|
6
|
+
"""
|
7
|
+
import logging
|
8
|
+
import typing as ta
|
9
|
+
|
10
|
+
from ..lite.json import json_dumps_compact
|
11
|
+
|
12
|
+
|
13
|
+
class JsonLogFormatter(logging.Formatter):
|
14
|
+
KEYS: ta.Mapping[str, bool] = {
|
15
|
+
'name': False,
|
16
|
+
'msg': False,
|
17
|
+
'args': False,
|
18
|
+
'levelname': False,
|
19
|
+
'levelno': False,
|
20
|
+
'pathname': False,
|
21
|
+
'filename': False,
|
22
|
+
'module': False,
|
23
|
+
'exc_info': True,
|
24
|
+
'exc_text': True,
|
25
|
+
'stack_info': True,
|
26
|
+
'lineno': False,
|
27
|
+
'funcName': False,
|
28
|
+
'created': False,
|
29
|
+
'msecs': False,
|
30
|
+
'relativeCreated': False,
|
31
|
+
'thread': False,
|
32
|
+
'threadName': False,
|
33
|
+
'processName': False,
|
34
|
+
'process': False,
|
35
|
+
}
|
36
|
+
|
37
|
+
def __init__(
|
38
|
+
self,
|
39
|
+
*args: ta.Any,
|
40
|
+
json_dumps: ta.Optional[ta.Callable[[ta.Any], str]] = None,
|
41
|
+
**kwargs: ta.Any,
|
42
|
+
) -> None:
|
43
|
+
super().__init__(*args, **kwargs)
|
44
|
+
|
45
|
+
if json_dumps is None:
|
46
|
+
json_dumps = json_dumps_compact
|
47
|
+
self._json_dumps = json_dumps
|
48
|
+
|
49
|
+
def format(self, record: logging.LogRecord) -> str:
|
50
|
+
dct = {
|
51
|
+
k: v
|
52
|
+
for k, o in self.KEYS.items()
|
53
|
+
for v in [getattr(record, k)]
|
54
|
+
if not (o and v is None)
|
55
|
+
}
|
56
|
+
return self._json_dumps(dct)
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# ruff: noqa: N802 UP006 UP007
|
2
|
+
# @omlish-lite
|
3
|
+
import logging
|
4
|
+
|
5
|
+
|
6
|
+
class ProxyLogFilterer(logging.Filterer):
|
7
|
+
def __init__(self, underlying: logging.Filterer) -> None: # noqa
|
8
|
+
self._underlying = underlying
|
9
|
+
|
10
|
+
@property
|
11
|
+
def underlying(self) -> logging.Filterer:
|
12
|
+
return self._underlying
|
13
|
+
|
14
|
+
@property
|
15
|
+
def filters(self):
|
16
|
+
return self._underlying.filters
|
17
|
+
|
18
|
+
@filters.setter
|
19
|
+
def filters(self, filters):
|
20
|
+
self._underlying.filters = filters
|
21
|
+
|
22
|
+
def addFilter(self, filter): # noqa
|
23
|
+
self._underlying.addFilter(filter)
|
24
|
+
|
25
|
+
def removeFilter(self, filter): # noqa
|
26
|
+
self._underlying.removeFilter(filter)
|
27
|
+
|
28
|
+
def filter(self, record):
|
29
|
+
return self._underlying.filter(record)
|
30
|
+
|
31
|
+
|
32
|
+
class ProxyLogHandler(ProxyLogFilterer, logging.Handler):
|
33
|
+
def __init__(self, underlying: logging.Handler) -> None: # noqa
|
34
|
+
ProxyLogFilterer.__init__(self, underlying)
|
35
|
+
|
36
|
+
_underlying: logging.Handler
|
37
|
+
|
38
|
+
@property
|
39
|
+
def underlying(self) -> logging.Handler:
|
40
|
+
return self._underlying
|
41
|
+
|
42
|
+
def get_name(self):
|
43
|
+
return self._underlying.get_name()
|
44
|
+
|
45
|
+
def set_name(self, name):
|
46
|
+
self._underlying.set_name(name)
|
47
|
+
|
48
|
+
@property
|
49
|
+
def name(self):
|
50
|
+
return self._underlying.name
|
51
|
+
|
52
|
+
@property
|
53
|
+
def level(self):
|
54
|
+
return self._underlying.level
|
55
|
+
|
56
|
+
@level.setter
|
57
|
+
def level(self, level):
|
58
|
+
self._underlying.level = level
|
59
|
+
|
60
|
+
@property
|
61
|
+
def formatter(self):
|
62
|
+
return self._underlying.formatter
|
63
|
+
|
64
|
+
@formatter.setter
|
65
|
+
def formatter(self, formatter):
|
66
|
+
self._underlying.formatter = formatter
|
67
|
+
|
68
|
+
def createLock(self):
|
69
|
+
self._underlying.createLock()
|
70
|
+
|
71
|
+
def acquire(self):
|
72
|
+
self._underlying.acquire()
|
73
|
+
|
74
|
+
def release(self):
|
75
|
+
self._underlying.release()
|
76
|
+
|
77
|
+
def setLevel(self, level):
|
78
|
+
self._underlying.setLevel(level)
|
79
|
+
|
80
|
+
def format(self, record):
|
81
|
+
return self._underlying.format(record)
|
82
|
+
|
83
|
+
def emit(self, record):
|
84
|
+
self._underlying.emit(record)
|
85
|
+
|
86
|
+
def handle(self, record):
|
87
|
+
return self._underlying.handle(record)
|
88
|
+
|
89
|
+
def setFormatter(self, fmt):
|
90
|
+
self._underlying.setFormatter(fmt)
|
91
|
+
|
92
|
+
def flush(self):
|
93
|
+
self._underlying.flush()
|
94
|
+
|
95
|
+
def close(self):
|
96
|
+
self._underlying.close()
|
97
|
+
|
98
|
+
def handleError(self, record):
|
99
|
+
self._underlying.handleError(record)
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# ruff: noqa: N802 UP006 UP007
|
2
|
+
# @omlish-lite
|
3
|
+
"""
|
4
|
+
TODO:
|
5
|
+
- structured
|
6
|
+
- prefixed
|
7
|
+
- debug
|
8
|
+
"""
|
9
|
+
import contextlib
|
10
|
+
import datetime
|
11
|
+
import logging
|
12
|
+
import typing as ta
|
13
|
+
|
14
|
+
from .filters import TidLogFilter
|
15
|
+
from .json import JsonLogFormatter
|
16
|
+
from .proxy import ProxyLogHandler
|
17
|
+
|
18
|
+
|
19
|
+
##
|
20
|
+
|
21
|
+
|
22
|
+
STANDARD_LOG_FORMAT_PARTS = [
|
23
|
+
('asctime', '%(asctime)-15s'),
|
24
|
+
('process', 'pid=%(process)-6s'),
|
25
|
+
('thread', 'tid=%(thread)x'),
|
26
|
+
('levelname', '%(levelname)s'),
|
27
|
+
('name', '%(name)s'),
|
28
|
+
('separator', '::'),
|
29
|
+
('message', '%(message)s'),
|
30
|
+
]
|
31
|
+
|
32
|
+
|
33
|
+
class StandardLogFormatter(logging.Formatter):
|
34
|
+
@staticmethod
|
35
|
+
def build_log_format(parts: ta.Iterable[ta.Tuple[str, str]]) -> str:
|
36
|
+
return ' '.join(v for k, v in parts)
|
37
|
+
|
38
|
+
converter = datetime.datetime.fromtimestamp # type: ignore
|
39
|
+
|
40
|
+
def formatTime(self, record, datefmt=None):
|
41
|
+
ct = self.converter(record.created) # type: ignore
|
42
|
+
if datefmt:
|
43
|
+
return ct.strftime(datefmt) # noqa
|
44
|
+
else:
|
45
|
+
t = ct.strftime('%Y-%m-%d %H:%M:%S')
|
46
|
+
return '%s.%03d' % (t, record.msecs) # noqa
|
47
|
+
|
48
|
+
|
49
|
+
##
|
50
|
+
|
51
|
+
|
52
|
+
class StandardLogHandler(ProxyLogHandler):
|
53
|
+
pass
|
54
|
+
|
55
|
+
|
56
|
+
##
|
57
|
+
|
58
|
+
|
59
|
+
@contextlib.contextmanager
|
60
|
+
def _locking_logging_module_lock() -> ta.Iterator[None]:
|
61
|
+
if hasattr(logging, '_acquireLock'):
|
62
|
+
logging._acquireLock() # noqa
|
63
|
+
try:
|
64
|
+
yield
|
65
|
+
finally:
|
66
|
+
logging._releaseLock() # type: ignore # noqa
|
67
|
+
|
68
|
+
elif hasattr(logging, '_lock'):
|
69
|
+
# https://github.com/python/cpython/commit/74723e11109a320e628898817ab449b3dad9ee96
|
70
|
+
with logging._lock: # noqa
|
71
|
+
yield
|
72
|
+
|
73
|
+
else:
|
74
|
+
raise Exception("Can't find lock in logging module")
|
75
|
+
|
76
|
+
|
77
|
+
def configure_standard_logging(
|
78
|
+
level: ta.Union[int, str] = logging.INFO,
|
79
|
+
*,
|
80
|
+
json: bool = False,
|
81
|
+
target: ta.Optional[logging.Logger] = None,
|
82
|
+
force: bool = False,
|
83
|
+
handler_factory: ta.Optional[ta.Callable[[], logging.Handler]] = None,
|
84
|
+
) -> ta.Optional[StandardLogHandler]:
|
85
|
+
with _locking_logging_module_lock():
|
86
|
+
if target is None:
|
87
|
+
target = logging.root
|
88
|
+
|
89
|
+
#
|
90
|
+
|
91
|
+
if not force:
|
92
|
+
if any(isinstance(h, StandardLogHandler) for h in list(target.handlers)):
|
93
|
+
return None
|
94
|
+
|
95
|
+
#
|
96
|
+
|
97
|
+
if handler_factory is not None:
|
98
|
+
handler = handler_factory()
|
99
|
+
else:
|
100
|
+
handler = logging.StreamHandler()
|
101
|
+
|
102
|
+
#
|
103
|
+
|
104
|
+
formatter: logging.Formatter
|
105
|
+
if json:
|
106
|
+
formatter = JsonLogFormatter()
|
107
|
+
else:
|
108
|
+
formatter = StandardLogFormatter(StandardLogFormatter.build_log_format(STANDARD_LOG_FORMAT_PARTS))
|
109
|
+
handler.setFormatter(formatter)
|
110
|
+
|
111
|
+
#
|
112
|
+
|
113
|
+
handler.addFilter(TidLogFilter())
|
114
|
+
|
115
|
+
#
|
116
|
+
|
117
|
+
target.addHandler(handler)
|
118
|
+
|
119
|
+
#
|
120
|
+
|
121
|
+
if level is not None:
|
122
|
+
target.setLevel(level)
|
123
|
+
|
124
|
+
#
|
125
|
+
|
126
|
+
return StandardLogHandler(handler)
|