omlish 0.0.0.dev149__tar.gz → 0.0.0.dev150__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omlish-0.0.0.dev149/omlish.egg-info → omlish-0.0.0.dev150}/PKG-INFO +1 -1
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/__about__.py +2 -2
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/argparse/cli.py +19 -23
- omlish-0.0.0.dev150/omlish/check.py +98 -0
- {omlish-0.0.0.dev149/omlish/lite → omlish-0.0.0.dev150/omlish}/http/coroserver.py +11 -12
- {omlish-0.0.0.dev149/omlish/lite → omlish-0.0.0.dev150/omlish}/http/handlers.py +2 -1
- {omlish-0.0.0.dev149/omlish/lite → omlish-0.0.0.dev150/omlish}/http/parsing.py +1 -0
- {omlish-0.0.0.dev149/omlish/lite → omlish-0.0.0.dev150/omlish}/http/versions.py +1 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/buffers.py +6 -8
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/fdio/corohttp.py +10 -13
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/fdio/handlers.py +2 -2
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/asyncio/subprocesses.py +9 -12
- omlish-0.0.0.dev150/omlish/lite/check.py +462 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/contextmanagers.py +3 -4
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/inject.py +12 -16
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/marshal.py +7 -8
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/socketserver.py +2 -2
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150/omlish.egg-info}/PKG-INFO +1 -1
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish.egg-info/SOURCES.txt +5 -5
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/pyproject.toml +1 -1
- omlish-0.0.0.dev149/omlish/check.py +0 -513
- omlish-0.0.0.dev149/omlish/lite/check.py +0 -104
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/LICENSE +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/MANIFEST.in +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/README.rst +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/.manifests.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/BufferedTokenStream.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/CommonTokenFactory.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/CommonTokenStream.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/FileStream.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/InputStream.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/IntervalSet.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/LICENSE.txt +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/LL1Analyzer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Lexer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/ListTokenSource.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Parser.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/ParserInterpreter.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/ParserRuleContext.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/PredictionContext.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Recognizer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/RuleContext.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/StdinStream.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Token.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/TokenStreamRewriter.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/_pygrun.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATN.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNConfig.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNConfigSet.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNDeserializationOptions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNDeserializer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNSimulator.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNState.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNType.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/LexerATNSimulator.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/LexerAction.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/LexerActionExecutor.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ParserATNSimulator.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/PredictionMode.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/SemanticContext.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/Transition.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/DFA.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/DFASerializer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/DFAState.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/DiagnosticErrorListener.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/ErrorListener.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/ErrorStrategy.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/Errors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/Chunk.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/ParseTreeMatch.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/ParseTreePattern.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/ParseTreePatternMatcher.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/RuleTagToken.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/TokenTagToken.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/Tree.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/Trees.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/xpath/XPath.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/xpath/XPathLexer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/xpath/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/argparse/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/argparse/all.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/anyio.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/asyncio.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/asyncs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/bridge.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/flavors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/trio.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/asyncs/trio_asyncio.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/__main__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/diag.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/harness.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/main.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/marshal.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/bootstrap/sys.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/c3.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/cached.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/abc.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/cache/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/cache/descriptor.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/cache/impl.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/cache/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/coerce.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/exceptions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/frozen.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/hasheq.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/identity.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/indexed.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/mappings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/ordered.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/persistent.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/skiplist.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/sorted.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/treap.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/treapmap.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/unmodifiable.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/collections/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/concurrent/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/concurrent/executors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/concurrent/futures.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/concurrent/threadlets.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/configs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/configs/classes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/configs/flattening.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/configs/strings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/LICENSE +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/api.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/as_.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/copy.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/descriptors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/exceptions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/fields.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/frozen.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/hashing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/init.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/internals.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/main.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/metaclass.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/metadata.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/order.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/params.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/processing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/reflect.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/replace.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/repr.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/simple.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/slots.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dataclasses/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/datetimes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/defs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/_pycharm/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/_pycharm/runhack.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/asts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/debug.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/procfs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/procstats.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/ps.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/pycharm.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/pydevd.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/replserver/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/replserver/__main__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/replserver/console.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/replserver/server.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/diag/threads.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dispatch/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dispatch/_dispatch2.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dispatch/_dispatch3.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dispatch/dispatch.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dispatch/functions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dispatch/methods.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/docker/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/docker/cli.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/docker/compose.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/docker/helpers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/docker/hub.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/docker/manifests.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/dynamic.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/dotenv.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/default.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/jiter.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/orjson.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/std.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/backends/ujson.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/consts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/encoding.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/json.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/literals.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/render.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/stream/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/stream/build.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/stream/errors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/stream/lex.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/stream/parse.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/stream/render.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/json/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/props.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/xml.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/formats/yaml.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/funcs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/funcs/genmachine.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/funcs/match.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/funcs/pairs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/funcs/pipes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/dags.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/domination.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/dot/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/dot/items.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/dot/make.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/dot/rendering.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/dot/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/graphs/trees.py +0 -0
- {omlish-0.0.0.dev149/omlish/inject/impl → omlish-0.0.0.dev150/omlish/http}/__init__.py +0 -0
- /omlish-0.0.0.dev149/omlish/http/__init__.py → /omlish-0.0.0.dev150/omlish/http/all.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/asgi.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/clients.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/consts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/cookies.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/dates.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/encodings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/headers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/json.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/jwt.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/multipart.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/sessions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/sse.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/http/wsgi.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/binder.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/bindings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/eagers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/elements.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/exceptions.py +0 -0
- {omlish-0.0.0.dev149/omlish/io → omlish-0.0.0.dev150/omlish/inject/impl}/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/bindings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/elements.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/injector.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/inspect.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/multis.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/origins.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/privates.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/providers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/proxy.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/impl/scopes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/injector.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/inspect.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/keys.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/listeners.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/managed.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/multis.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/origins.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/overrides.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/privates.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/providers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/scopes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/inject/utils.py +0 -0
- {omlish-0.0.0.dev149/omlish/io/fdio → omlish-0.0.0.dev150/omlish/io}/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/abc.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/abc.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/adapters.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/brotli.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/bz2.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/gzip.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/lz4.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/lzma.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/snappy.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/zlib.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/compress/zstd.py +0 -0
- {omlish-0.0.0.dev149/omlish/lite/asyncio → omlish-0.0.0.dev150/omlish/io/fdio}/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/fdio/kqueue.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/fdio/manager.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/fdio/pollers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/generators/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/generators/consts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/generators/direct.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/generators/readers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/generators/stepped.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/pyio.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/io/trampoline.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/iterators.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/cached.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/classes/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/classes/abstract.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/classes/restrict.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/classes/simple.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/classes/virtual.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/clsdct.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/cmp.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/contextmanagers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/datetimes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/descriptors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/exceptions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/functions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/generators.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/imports.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/iterables.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/maybes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/objects.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/resolving.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/resources.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/strings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/sys.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/timeouts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lang/typing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/libc.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/abstract.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/contextmanagers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/controller.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/manager.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/states.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lifecycles/transitions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/__init__.py +0 -0
- {omlish-0.0.0.dev149/omlish/lite/http → omlish-0.0.0.dev150/omlish/lite/asyncio}/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/asyncio/asyncio.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/cached.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/deathsig.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/docker.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/journald.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/json.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/logs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/maybes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/pidfile.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/pycharm.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/reflect.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/resources.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/runtime.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/secrets.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/socket.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/strings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/subprocesses.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/lite/typing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/abc.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/configs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/formatters.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/handlers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/noisy.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/logs/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/manifests/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/manifests/load.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/manifests/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/any.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/base64.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/dataclasses.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/datetimes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/enums.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/exceptions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/factories.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/forbidden.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/global_.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/helpers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/iterables.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/mappings.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/maybes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/namedtuples.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/naming.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/newtypes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/nop.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/numbers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/objects.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/optionals.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/polymorphism.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/primitives.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/registries.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/standard.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/unions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/uuids.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/marshal/values.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/math/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/math/bits.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/math/floats.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/math/stats.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/multiprocessing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/os.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/reflect/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/reflect/inspect.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/reflect/ops.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/reflect/subst.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/reflect/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/runmodule.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/crypto.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/marshal.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/openssl.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/pwgen.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/pwhash.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/secrets.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/secrets/subprocesses.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/LICENSE +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/__main__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/ast.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/cli.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/exceptions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/functions.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/lexer.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/parser.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/scope.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jmespath/visitor.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/errors.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/marshal.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/core.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/metadata.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/parse.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/render.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/validation.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/metaschema.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/applicator.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/content.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/core.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-annotation.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-assertion.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/meta-data.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/unevaluated.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/validation.json +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/types.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/openapi/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/openapi/marshal.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/specs/openapi/openapi.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/abc.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/alchemy/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/alchemy/asyncs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/alchemy/duckdb.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/alchemy/exprs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/alchemy/secrets.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/alchemy/sqlean.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/dbapi.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/dbs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/params.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/qualifiedname.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/base.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/binary.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/building.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/exprs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/idents.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/inserts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/marshal.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/multi.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/names.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/ops.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/relations.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/rendering.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/selects.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/stmts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/queries/unary.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/alchemy.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/dtypes.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/elements.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/lower.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/marshal.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/tabledefs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/sync.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/term.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/helpers.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/inject/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/inject/harness.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/marks.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/_registry.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/asyncs.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/depskip.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/logging.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/managermarks.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/pydevd.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/repeat.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/skips.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/spacing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/switches.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/utils.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/pytest/skip.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/testing/testing.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/__init__.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/asdl.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/delimit.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/glyphsplit.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/indent.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/parts.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish/text/random.py +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish.egg-info/dependency_links.txt +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish.egg-info/entry_points.txt +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish.egg-info/requires.txt +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/omlish.egg-info/top_level.txt +0 -0
- {omlish-0.0.0.dev149 → omlish-0.0.0.dev150}/setup.cfg +0 -0
@@ -11,16 +11,15 @@ import functools
|
|
11
11
|
import sys
|
12
12
|
import typing as ta
|
13
13
|
|
14
|
-
from ..lite.check import
|
15
|
-
from ..lite.check import check_isinstance
|
16
|
-
from ..lite.check import check_not_empty
|
17
|
-
from ..lite.check import check_not_in
|
18
|
-
from ..lite.check import check_not_isinstance
|
14
|
+
from ..lite.check import check
|
19
15
|
|
20
16
|
|
21
17
|
T = ta.TypeVar('T')
|
22
18
|
|
23
19
|
|
20
|
+
ArgparseCommandFn = ta.Callable[[], ta.Optional[int]] # ta.TypeAlias
|
21
|
+
|
22
|
+
|
24
23
|
##
|
25
24
|
|
26
25
|
|
@@ -43,9 +42,6 @@ def argparse_arg(*args, **kwargs) -> ArgparseArg:
|
|
43
42
|
#
|
44
43
|
|
45
44
|
|
46
|
-
ArgparseCommandFn = ta.Callable[[], ta.Optional[int]] # ta.TypeAlias
|
47
|
-
|
48
|
-
|
49
45
|
@dc.dataclass(eq=False)
|
50
46
|
class ArgparseCommand:
|
51
47
|
name: str
|
@@ -60,18 +56,18 @@ class ArgparseCommand:
|
|
60
56
|
|
61
57
|
def __post_init__(self) -> None:
|
62
58
|
def check_name(s: str) -> None:
|
63
|
-
|
64
|
-
|
65
|
-
|
59
|
+
check.isinstance(s, str)
|
60
|
+
check.not_in('_', s)
|
61
|
+
check.not_empty(s)
|
66
62
|
check_name(self.name)
|
67
|
-
|
63
|
+
check.not_isinstance(self.aliases, str)
|
68
64
|
for a in self.aliases or []:
|
69
65
|
check_name(a)
|
70
66
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
67
|
+
check.arg(callable(self.fn))
|
68
|
+
check.arg(all(isinstance(a, ArgparseArg) for a in self.args))
|
69
|
+
check.isinstance(self.parent, (ArgparseCommand, type(None)))
|
70
|
+
check.isinstance(self.accepts_unknown, bool)
|
75
71
|
|
76
72
|
functools.update_wrapper(self, self.fn)
|
77
73
|
|
@@ -92,10 +88,10 @@ def argparse_command(
|
|
92
88
|
accepts_unknown: bool = False,
|
93
89
|
) -> ta.Any: # ta.Callable[[ArgparseCommandFn], ArgparseCommand]: # FIXME
|
94
90
|
for arg in args:
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
91
|
+
check.isinstance(arg, ArgparseArg)
|
92
|
+
check.isinstance(name, (str, type(None)))
|
93
|
+
check.isinstance(parent, (ArgparseCommand, type(None)))
|
94
|
+
check.not_isinstance(aliases, str)
|
99
95
|
|
100
96
|
def inner(fn):
|
101
97
|
return ArgparseCommand(
|
@@ -151,7 +147,7 @@ class ArgparseCli:
|
|
151
147
|
bseen = set() # type: ignore
|
152
148
|
for k, v in bns.items():
|
153
149
|
if isinstance(v, (ArgparseCommand, ArgparseArg)):
|
154
|
-
|
150
|
+
check.not_in(v, bseen)
|
155
151
|
bseen.add(v)
|
156
152
|
objs[k] = v
|
157
153
|
elif k in objs:
|
@@ -163,7 +159,7 @@ class ArgparseCli:
|
|
163
159
|
}), globalns=ns.get('__globals__', {}))
|
164
160
|
|
165
161
|
if '_parser' in ns:
|
166
|
-
parser =
|
162
|
+
parser = check.isinstance(ns['_parser'], argparse.ArgumentParser)
|
167
163
|
else:
|
168
164
|
parser = argparse.ArgumentParser()
|
169
165
|
setattr(cls, '_parser', parser)
|
@@ -179,7 +175,7 @@ class ArgparseCli:
|
|
179
175
|
if (
|
180
176
|
len(arg.args) == 1 and
|
181
177
|
isinstance(arg.args[0], str) and
|
182
|
-
not (n :=
|
178
|
+
not (n := check.isinstance(arg.args[0], str)).startswith('-') and
|
183
179
|
'metavar' not in arg.kwargs
|
184
180
|
):
|
185
181
|
cparser.add_argument(
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import typing as ta
|
2
|
+
|
3
|
+
from .lite.check import CheckArgsRenderer as ArgsRenderer # noqa
|
4
|
+
from .lite.check import CheckExceptionFactory as ExceptionFactory # noqa
|
5
|
+
from .lite.check import CheckLateConfigureFn as LateConfigureFn # noqa
|
6
|
+
from .lite.check import CheckMessage as Message # noqa
|
7
|
+
from .lite.check import CheckOnRaiseFn as OnRaiseFn # noqa
|
8
|
+
from .lite.check import Checks
|
9
|
+
from .lite.check import check
|
10
|
+
|
11
|
+
|
12
|
+
_isinstance = isinstance
|
13
|
+
_issubclass = issubclass
|
14
|
+
_callable = callable
|
15
|
+
|
16
|
+
|
17
|
+
##
|
18
|
+
|
19
|
+
|
20
|
+
register_on_raise = check.register_on_raise
|
21
|
+
unregister_on_raise = check.unregister_on_raise
|
22
|
+
|
23
|
+
|
24
|
+
##
|
25
|
+
|
26
|
+
|
27
|
+
def _try_get_args_rendering() -> ArgsRenderer | None:
|
28
|
+
try:
|
29
|
+
from .diag.asts import ArgsRenderer
|
30
|
+
|
31
|
+
ArgsRenderer.smoketest()
|
32
|
+
|
33
|
+
except Exception: # noqa
|
34
|
+
return None
|
35
|
+
|
36
|
+
def _real_render_args(fmt: str, *args: ta.Any) -> str | None:
|
37
|
+
ra = ArgsRenderer(back=3).render_args(*args)
|
38
|
+
if ra is None:
|
39
|
+
return None
|
40
|
+
|
41
|
+
return fmt % tuple(str(a) for a in ra)
|
42
|
+
|
43
|
+
return _real_render_args
|
44
|
+
|
45
|
+
|
46
|
+
def _try_enable_args_rendering(c: Checks) -> None:
|
47
|
+
if (rf := _try_get_args_rendering()) is not None:
|
48
|
+
c.set_args_renderer(rf)
|
49
|
+
|
50
|
+
|
51
|
+
check.register_late_configure(_try_enable_args_rendering)
|
52
|
+
|
53
|
+
|
54
|
+
##
|
55
|
+
|
56
|
+
|
57
|
+
isinstance = check.isinstance # noqa
|
58
|
+
of_isinstance = check.of_isinstance
|
59
|
+
cast = check.cast
|
60
|
+
of_cast = check.of_cast
|
61
|
+
not_isinstance = check.not_isinstance
|
62
|
+
of_not_isinstance = check.of_not_isinstance
|
63
|
+
|
64
|
+
#
|
65
|
+
|
66
|
+
issubclass = check.issubclass # noqa
|
67
|
+
not_issubclass = check.not_issubclass
|
68
|
+
|
69
|
+
#
|
70
|
+
|
71
|
+
in_ = check.in_
|
72
|
+
not_in = check.not_in
|
73
|
+
empty = check.empty
|
74
|
+
iterempty = check.iterempty
|
75
|
+
not_empty = check.not_empty
|
76
|
+
unique = check.unique
|
77
|
+
single = check.single
|
78
|
+
opt_single = check.opt_single
|
79
|
+
|
80
|
+
#
|
81
|
+
|
82
|
+
none = check.none
|
83
|
+
not_none = check.not_none
|
84
|
+
|
85
|
+
#
|
86
|
+
|
87
|
+
equal = check.equal
|
88
|
+
is_ = check.is_
|
89
|
+
is_not = check.is_not
|
90
|
+
callable = check.callable # noqa
|
91
|
+
non_empty_str = check.non_empty_str
|
92
|
+
replacing = check.replacing
|
93
|
+
replacing_none = check.replacing_none
|
94
|
+
|
95
|
+
#
|
96
|
+
|
97
|
+
arg = check.arg
|
98
|
+
state = check.state
|
@@ -1,4 +1,5 @@
|
|
1
1
|
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
2
3
|
# PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
3
4
|
# --------------------------------------------
|
4
5
|
#
|
@@ -62,11 +63,9 @@ import textwrap
|
|
62
63
|
import time
|
63
64
|
import typing as ta
|
64
65
|
|
65
|
-
from ..check import
|
66
|
-
from ..
|
67
|
-
from ..
|
68
|
-
from ..socket import SocketAddress
|
69
|
-
from ..socket import SocketHandler
|
66
|
+
from ..lite.check import check
|
67
|
+
from ..lite.socket import SocketAddress
|
68
|
+
from ..lite.socket import SocketHandler
|
70
69
|
from .handlers import HttpHandler
|
71
70
|
from .handlers import HttpHandlerRequest
|
72
71
|
from .handlers import UnsupportedMethodHttpHandlerError
|
@@ -406,13 +405,13 @@ class CoroHttpServer:
|
|
406
405
|
yield o
|
407
406
|
|
408
407
|
elif isinstance(o, self.AnyReadIo):
|
409
|
-
i =
|
408
|
+
i = check.isinstance((yield o), bytes)
|
410
409
|
|
411
410
|
elif isinstance(o, self._Response):
|
412
411
|
i = None
|
413
412
|
r = self._preprocess_response(o)
|
414
413
|
b = self._build_response_bytes(r)
|
415
|
-
|
414
|
+
check.none((yield self.WriteIo(b)))
|
416
415
|
|
417
416
|
else:
|
418
417
|
raise TypeError(o)
|
@@ -435,7 +434,7 @@ class CoroHttpServer:
|
|
435
434
|
sz = next(gen)
|
436
435
|
while True:
|
437
436
|
try:
|
438
|
-
line =
|
437
|
+
line = check.isinstance((yield self.ReadLineIo(sz)), bytes)
|
439
438
|
sz = gen.send(line)
|
440
439
|
except StopIteration as e:
|
441
440
|
parsed = e.value
|
@@ -454,11 +453,11 @@ class CoroHttpServer:
|
|
454
453
|
yield self._build_error_response(err)
|
455
454
|
return
|
456
455
|
|
457
|
-
parsed =
|
456
|
+
parsed = check.isinstance(parsed, ParsedHttpRequest)
|
458
457
|
|
459
458
|
# Log
|
460
459
|
|
461
|
-
|
460
|
+
check.none((yield self.ParsedRequestLogIo(parsed)))
|
462
461
|
|
463
462
|
# Handle CONTINUE
|
464
463
|
|
@@ -474,7 +473,7 @@ class CoroHttpServer:
|
|
474
473
|
|
475
474
|
request_data: ta.Optional[bytes]
|
476
475
|
if (cl := parsed.headers.get('Content-Length')) is not None:
|
477
|
-
request_data =
|
476
|
+
request_data = check.isinstance((yield self.ReadIo(int(cl))), bytes)
|
478
477
|
else:
|
479
478
|
request_data = None
|
480
479
|
|
@@ -482,7 +481,7 @@ class CoroHttpServer:
|
|
482
481
|
|
483
482
|
handler_request = HttpHandlerRequest(
|
484
483
|
client_address=self._client_address,
|
485
|
-
method=
|
484
|
+
method=check.not_none(parsed.method),
|
486
485
|
path=parsed.path,
|
487
486
|
headers=parsed.headers,
|
488
487
|
data=request_data,
|
@@ -3,9 +3,7 @@
|
|
3
3
|
import io
|
4
4
|
import typing as ta
|
5
5
|
|
6
|
-
from ..lite.check import
|
7
|
-
from ..lite.check import check_not_empty
|
8
|
-
from ..lite.check import check_not_none
|
6
|
+
from ..lite.check import check
|
9
7
|
from ..lite.strings import attr_repr
|
10
8
|
|
11
9
|
|
@@ -40,7 +38,7 @@ class DelimitingBuffer:
|
|
40
38
|
) -> None:
|
41
39
|
super().__init__()
|
42
40
|
|
43
|
-
self._delimiters = frozenset(
|
41
|
+
self._delimiters = frozenset(check.isinstance(d, int) for d in delimiters)
|
44
42
|
self._keep_ends = keep_ends
|
45
43
|
self._max_size = max_size
|
46
44
|
|
@@ -71,7 +69,7 @@ class DelimitingBuffer:
|
|
71
69
|
return r
|
72
70
|
|
73
71
|
def _append_and_reset(self, chunk: bytes) -> bytes:
|
74
|
-
buf =
|
72
|
+
buf = check.not_none(self._buf)
|
75
73
|
if not buf.tell():
|
76
74
|
return chunk
|
77
75
|
|
@@ -193,7 +191,7 @@ class IncrementalWriteBuffer:
|
|
193
191
|
) -> None:
|
194
192
|
super().__init__()
|
195
193
|
|
196
|
-
|
194
|
+
check.not_empty(data)
|
197
195
|
self._len = len(data)
|
198
196
|
self._write_size = write_size
|
199
197
|
|
@@ -208,11 +206,11 @@ class IncrementalWriteBuffer:
|
|
208
206
|
return self._len - self._pos
|
209
207
|
|
210
208
|
def write(self, fn: ta.Callable[[bytes], int]) -> int:
|
211
|
-
lst =
|
209
|
+
lst = check.not_empty(self._lst)
|
212
210
|
|
213
211
|
t = 0
|
214
212
|
for i, d in enumerate(lst): # noqa
|
215
|
-
n = fn(
|
213
|
+
n = fn(check.not_empty(d))
|
216
214
|
if not n:
|
217
215
|
break
|
218
216
|
t += n
|
@@ -2,12 +2,9 @@
|
|
2
2
|
import socket
|
3
3
|
import typing as ta
|
4
4
|
|
5
|
-
from ...
|
6
|
-
from ...
|
7
|
-
from ...lite.check import
|
8
|
-
from ...lite.check import check_state
|
9
|
-
from ...lite.http.coroserver import CoroHttpServer
|
10
|
-
from ...lite.http.handlers import HttpHandler
|
5
|
+
from ...http.coroserver import CoroHttpServer
|
6
|
+
from ...http.handlers import HttpHandler
|
7
|
+
from ...lite.check import check
|
11
8
|
from ...lite.socket import SocketAddress
|
12
9
|
from ..buffers import IncrementalWriteBuffer
|
13
10
|
from ..buffers import ReadableListBuffer
|
@@ -25,7 +22,7 @@ class CoroHttpServerConnectionFdioHandler(SocketFdioHandler):
|
|
25
22
|
write_size: int = 0x10000,
|
26
23
|
log_handler: ta.Optional[ta.Callable[[CoroHttpServer, CoroHttpServer.AnyLogIo], None]] = None,
|
27
24
|
) -> None:
|
28
|
-
|
25
|
+
check.state(not sock.getblocking())
|
29
26
|
|
30
27
|
super().__init__(addr, sock)
|
31
28
|
|
@@ -49,7 +46,7 @@ class CoroHttpServerConnectionFdioHandler(SocketFdioHandler):
|
|
49
46
|
#
|
50
47
|
|
51
48
|
def _next_io(self) -> None: # noqa
|
52
|
-
coro =
|
49
|
+
coro = check.not_none(self._srv_coro)
|
53
50
|
|
54
51
|
d: bytes | None = None
|
55
52
|
o = self._cur_io
|
@@ -82,7 +79,7 @@ class CoroHttpServerConnectionFdioHandler(SocketFdioHandler):
|
|
82
79
|
o = None
|
83
80
|
|
84
81
|
elif isinstance(o, CoroHttpServer.WriteIo):
|
85
|
-
|
82
|
+
check.none(self._write_buf)
|
86
83
|
self._write_buf = IncrementalWriteBuffer(o.data, write_size=self._write_size)
|
87
84
|
break
|
88
85
|
|
@@ -103,7 +100,7 @@ class CoroHttpServerConnectionFdioHandler(SocketFdioHandler):
|
|
103
100
|
|
104
101
|
def on_readable(self) -> None:
|
105
102
|
try:
|
106
|
-
buf =
|
103
|
+
buf = check.not_none(self._sock).recv(self._read_size)
|
107
104
|
except BlockingIOError:
|
108
105
|
return
|
109
106
|
except ConnectionResetError:
|
@@ -119,12 +116,12 @@ class CoroHttpServerConnectionFdioHandler(SocketFdioHandler):
|
|
119
116
|
self._next_io()
|
120
117
|
|
121
118
|
def on_writable(self) -> None:
|
122
|
-
|
123
|
-
wb =
|
119
|
+
check.isinstance(self._cur_io, CoroHttpServer.WriteIo)
|
120
|
+
wb = check.not_none(self._write_buf)
|
124
121
|
while wb.rem > 0:
|
125
122
|
def send(d: bytes) -> int:
|
126
123
|
try:
|
127
|
-
return
|
124
|
+
return check.not_none(self._sock).send(d)
|
128
125
|
except ConnectionResetError:
|
129
126
|
self.close()
|
130
127
|
return 0
|
@@ -3,7 +3,7 @@ import abc
|
|
3
3
|
import socket
|
4
4
|
import typing as ta
|
5
5
|
|
6
|
-
from ...lite.check import
|
6
|
+
from ...lite.check import check
|
7
7
|
from ...lite.socket import SocketAddress
|
8
8
|
|
9
9
|
|
@@ -55,7 +55,7 @@ class SocketFdioHandler(FdioHandler, abc.ABC):
|
|
55
55
|
self._sock: ta.Optional[socket.socket] = sock
|
56
56
|
|
57
57
|
def fd(self) -> int:
|
58
|
-
return
|
58
|
+
return check.not_none(self._sock).fileno()
|
59
59
|
|
60
60
|
@property
|
61
61
|
def closed(self) -> bool:
|
@@ -8,10 +8,7 @@ import subprocess
|
|
8
8
|
import sys
|
9
9
|
import typing as ta
|
10
10
|
|
11
|
-
from ..check import
|
12
|
-
from ..check import check_isinstance
|
13
|
-
from ..check import check_not_none
|
14
|
-
from ..check import check_single
|
11
|
+
from ..check import check
|
15
12
|
from ..logs import log
|
16
13
|
from ..subprocesses import DEFAULT_SUBPROCESS_TRY_EXCEPTIONS
|
17
14
|
from ..subprocesses import prepare_subprocess_invocation
|
@@ -36,7 +33,7 @@ async def asyncio_subprocess_popen(
|
|
36
33
|
if shell:
|
37
34
|
fac = functools.partial(
|
38
35
|
asyncio.create_subprocess_shell,
|
39
|
-
|
36
|
+
check.single(cmd),
|
40
37
|
)
|
41
38
|
else:
|
42
39
|
fac = functools.partial(
|
@@ -76,7 +73,7 @@ class AsyncioProcessCommunicator:
|
|
76
73
|
self._proc = proc
|
77
74
|
self._loop = loop
|
78
75
|
|
79
|
-
self._transport: asyncio.base_subprocess.BaseSubprocessTransport =
|
76
|
+
self._transport: asyncio.base_subprocess.BaseSubprocessTransport = check.isinstance(
|
80
77
|
proc._transport, # type: ignore # noqa
|
81
78
|
asyncio.base_subprocess.BaseSubprocessTransport,
|
82
79
|
)
|
@@ -86,7 +83,7 @@ class AsyncioProcessCommunicator:
|
|
86
83
|
return self._loop.get_debug()
|
87
84
|
|
88
85
|
async def _feed_stdin(self, input: bytes) -> None: # noqa
|
89
|
-
stdin =
|
86
|
+
stdin = check.not_none(self._proc.stdin)
|
90
87
|
try:
|
91
88
|
if input is not None:
|
92
89
|
stdin.write(input)
|
@@ -110,13 +107,13 @@ class AsyncioProcessCommunicator:
|
|
110
107
|
return None
|
111
108
|
|
112
109
|
async def _read_stream(self, fd: int) -> bytes:
|
113
|
-
transport: ta.Any =
|
110
|
+
transport: ta.Any = check.not_none(self._transport.get_pipe_transport(fd))
|
114
111
|
|
115
112
|
if fd == 2:
|
116
|
-
stream =
|
113
|
+
stream = check.not_none(self._proc.stderr)
|
117
114
|
else:
|
118
|
-
|
119
|
-
stream =
|
115
|
+
check.equal(fd, 1)
|
116
|
+
stream = check.not_none(self._proc.stdout)
|
120
117
|
|
121
118
|
if self._debug:
|
122
119
|
name = 'stdout' if fd == 1 else 'stderr'
|
@@ -236,7 +233,7 @@ async def asyncio_subprocess_check_output(
|
|
236
233
|
**kwargs,
|
237
234
|
)
|
238
235
|
|
239
|
-
return
|
236
|
+
return check.not_none(stdout)
|
240
237
|
|
241
238
|
|
242
239
|
async def asyncio_subprocess_check_output_str(*args: str, **kwargs: ta.Any) -> str:
|