omlish 0.0.0.dev148__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.dev148/omlish.egg-info → omlish-0.0.0.dev150}/PKG-INFO +1 -1
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/__about__.py +2 -2
- omlish-0.0.0.dev150/omlish/argparse/all.py +45 -0
- omlish-0.0.0.dev148/omlish/argparse.py → omlish-0.0.0.dev150/omlish/argparse/cli.py +59 -99
- omlish-0.0.0.dev150/omlish/check.py +98 -0
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish}/http/coroserver.py +11 -12
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish}/http/handlers.py +2 -1
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish}/http/parsing.py +1 -0
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish}/http/versions.py +1 -0
- omlish-0.0.0.dev148/omlish/lite/io.py → omlish-0.0.0.dev150/omlish/io/buffers.py +8 -9
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish/io}/fdio/corohttp.py +13 -16
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish/io}/fdio/handlers.py +3 -3
- {omlish-0.0.0.dev148 → 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.dev148 → omlish-0.0.0.dev150}/omlish/lite/contextmanagers.py +3 -4
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/inject.py +12 -16
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/marshal.py +7 -8
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/socketserver.py +2 -2
- omlish-0.0.0.dev150/omlish/specs/jsonschema/schemas/draft202012/vocabularies/__init__.py +0 -0
- omlish-0.0.0.dev150/omlish/text/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150/omlish.egg-info}/PKG-INFO +1 -1
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish.egg-info/SOURCES.txt +15 -13
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/pyproject.toml +1 -1
- omlish-0.0.0.dev148/omlish/check.py +0 -511
- omlish-0.0.0.dev148/omlish/io/__init__.py +0 -3
- omlish-0.0.0.dev148/omlish/lite/check.py +0 -99
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/LICENSE +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/MANIFEST.in +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/README.rst +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/.manifests.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/BufferedTokenStream.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/CommonTokenFactory.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/CommonTokenStream.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/FileStream.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/InputStream.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/IntervalSet.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/LICENSE.txt +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/LL1Analyzer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Lexer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/ListTokenSource.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Parser.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/ParserInterpreter.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/ParserRuleContext.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/PredictionContext.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Recognizer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/RuleContext.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/StdinStream.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Token.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/TokenStreamRewriter.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/Utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/_pygrun.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATN.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNConfig.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNConfigSet.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNDeserializationOptions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNDeserializer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNSimulator.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNState.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ATNType.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/LexerATNSimulator.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/LexerAction.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/LexerActionExecutor.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/ParserATNSimulator.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/PredictionMode.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/SemanticContext.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/Transition.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/atn/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/DFA.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/DFASerializer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/DFAState.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/dfa/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/DiagnosticErrorListener.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/ErrorListener.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/ErrorStrategy.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/Errors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/error/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/Chunk.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/ParseTreeMatch.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/ParseTreePattern.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/ParseTreePatternMatcher.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/RuleTagToken.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/TokenTagToken.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/Tree.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/Trees.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/tree/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/xpath/XPath.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/xpath/XPathLexer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/antlr/_runtime/xpath/__init__.py +0 -0
- {omlish-0.0.0.dev148/omlish/diag/_pycharm → omlish-0.0.0.dev150/omlish/argparse}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/anyio.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/asyncio.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/asyncs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/bridge.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/flavors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/trio.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/asyncs/trio_asyncio.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/__main__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/diag.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/harness.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/main.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/marshal.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/bootstrap/sys.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/c3.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/cached.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/abc.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/cache/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/cache/descriptor.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/cache/impl.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/cache/types.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/coerce.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/exceptions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/frozen.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/hasheq.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/identity.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/indexed.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/mappings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/ordered.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/persistent.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/skiplist.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/sorted.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/treap.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/treapmap.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/unmodifiable.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/collections/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/concurrent/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/concurrent/executors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/concurrent/futures.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/concurrent/threadlets.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/configs/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/configs/classes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/configs/flattening.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/configs/strings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/LICENSE +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/api.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/as_.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/copy.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/descriptors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/exceptions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/fields.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/frozen.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/hashing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/init.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/internals.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/main.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/metaclass.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/metadata.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/order.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/params.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/processing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/reflect.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/replace.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/repr.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/simple.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/slots.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/impl/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dataclasses/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/datetimes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/defs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/__init__.py +0 -0
- {omlish-0.0.0.dev148/omlish/formats → omlish-0.0.0.dev150/omlish/diag/_pycharm}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/_pycharm/runhack.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/asts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/debug.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/procfs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/procstats.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/ps.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/pycharm.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/pydevd.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/replserver/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/replserver/__main__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/replserver/console.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/replserver/server.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/diag/threads.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dispatch/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dispatch/_dispatch2.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dispatch/_dispatch3.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dispatch/dispatch.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dispatch/functions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dispatch/methods.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/docker/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/docker/cli.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/docker/compose.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/docker/helpers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/docker/hub.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/docker/manifests.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/dynamic.py +0 -0
- {omlish-0.0.0.dev148/omlish/formats/json/stream → omlish-0.0.0.dev150/omlish/formats}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/dotenv.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/default.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/jiter.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/orjson.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/std.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/backends/ujson.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/consts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/encoding.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/json.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/literals.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/render.py +0 -0
- {omlish-0.0.0.dev148/omlish/funcs → omlish-0.0.0.dev150/omlish/formats/json/stream}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/stream/build.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/stream/errors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/stream/lex.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/stream/parse.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/stream/render.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/json/types.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/props.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/xml.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/formats/yaml.py +0 -0
- {omlish-0.0.0.dev148/omlish/graphs → omlish-0.0.0.dev150/omlish/funcs}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/funcs/genmachine.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/funcs/match.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/funcs/pairs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/funcs/pipes.py +0 -0
- {omlish-0.0.0.dev148/omlish/inject/impl → omlish-0.0.0.dev150/omlish/graphs}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/dags.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/domination.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/dot/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/dot/items.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/dot/make.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/dot/rendering.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/dot/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/graphs/trees.py +0 -0
- {omlish-0.0.0.dev148/omlish/lite/asyncio → omlish-0.0.0.dev150/omlish/http}/__init__.py +0 -0
- /omlish-0.0.0.dev148/omlish/http/__init__.py → /omlish-0.0.0.dev150/omlish/http/all.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/asgi.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/clients.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/consts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/cookies.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/dates.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/encodings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/headers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/json.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/jwt.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/multipart.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/sessions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/sse.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/http/wsgi.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/binder.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/bindings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/eagers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/elements.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/exceptions.py +0 -0
- {omlish-0.0.0.dev148/omlish/lite/fdio → omlish-0.0.0.dev150/omlish/inject/impl}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/bindings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/elements.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/injector.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/inspect.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/multis.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/origins.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/privates.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/providers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/proxy.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/impl/scopes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/injector.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/inspect.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/keys.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/listeners.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/managed.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/multis.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/origins.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/overrides.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/privates.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/providers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/scopes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/types.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/inject/utils.py +0 -0
- {omlish-0.0.0.dev148/omlish/lite/http → omlish-0.0.0.dev150/omlish/io}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/abc.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/abc.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/adapters.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/brotli.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/bz2.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/gzip.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/lz4.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/lzma.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/snappy.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/zlib.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/compress/zstd.py +0 -0
- {omlish-0.0.0.dev148/omlish/math → omlish-0.0.0.dev150/omlish/io/fdio}/__init__.py +0 -0
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish/io}/fdio/kqueue.py +0 -0
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish/io}/fdio/manager.py +0 -0
- {omlish-0.0.0.dev148/omlish/lite → omlish-0.0.0.dev150/omlish/io}/fdio/pollers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/generators/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/generators/consts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/generators/direct.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/generators/readers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/generators/stepped.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/pyio.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/io/trampoline.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/iterators.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/cached.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/classes/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/classes/abstract.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/classes/restrict.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/classes/simple.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/classes/virtual.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/clsdct.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/cmp.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/contextmanagers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/datetimes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/descriptors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/exceptions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/functions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/generators.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/imports.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/iterables.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/maybes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/objects.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/resolving.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/resources.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/strings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/sys.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/timeouts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lang/typing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/libc.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/abstract.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/contextmanagers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/controller.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/manager.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/states.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lifecycles/transitions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/__init__.py +0 -0
- {omlish-0.0.0.dev148/omlish/specs/jsonschema → omlish-0.0.0.dev150/omlish/lite/asyncio}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/asyncio/asyncio.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/cached.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/deathsig.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/docker.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/journald.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/json.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/logs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/maybes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/pidfile.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/pycharm.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/reflect.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/resources.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/runtime.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/secrets.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/socket.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/strings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/subprocesses.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/lite/typing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/abc.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/configs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/formatters.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/handlers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/noisy.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/logs/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/manifests/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/manifests/load.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/manifests/types.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/any.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/base64.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/dataclasses.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/datetimes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/enums.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/exceptions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/factories.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/forbidden.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/global_.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/helpers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/iterables.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/mappings.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/maybes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/namedtuples.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/naming.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/newtypes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/nop.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/numbers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/objects.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/optionals.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/polymorphism.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/primitives.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/registries.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/standard.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/unions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/uuids.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/marshal/values.py +0 -0
- {omlish-0.0.0.dev148/omlish/specs/jsonschema/schemas → omlish-0.0.0.dev150/omlish/math}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/math/bits.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/math/floats.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/math/stats.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/multiprocessing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/os.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/reflect/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/reflect/inspect.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/reflect/ops.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/reflect/subst.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/reflect/types.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/runmodule.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/crypto.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/marshal.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/openssl.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/pwgen.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/pwhash.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/secrets.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/secrets/subprocesses.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/LICENSE +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/__main__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/ast.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/cli.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/exceptions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/functions.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/lexer.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/parser.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/scope.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jmespath/visitor.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/errors.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/marshal.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonrpc/types.py +0 -0
- {omlish-0.0.0.dev148/omlish/specs/jsonschema/schemas/draft202012 → omlish-0.0.0.dev150/omlish/specs/jsonschema}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/core.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/metadata.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/parse.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/render.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/keywords/validation.py +0 -0
- {omlish-0.0.0.dev148/omlish/specs/jsonschema/schemas/draft202012/vocabularies → omlish-0.0.0.dev150/omlish/specs/jsonschema/schemas}/__init__.py +0 -0
- {omlish-0.0.0.dev148/omlish/text → omlish-0.0.0.dev150/omlish/specs/jsonschema/schemas/draft202012}/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/metaschema.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/applicator.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/content.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/core.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-annotation.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-assertion.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/meta-data.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/unevaluated.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/validation.json +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/jsonschema/types.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/openapi/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/openapi/marshal.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/specs/openapi/openapi.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/abc.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/alchemy/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/alchemy/asyncs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/alchemy/duckdb.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/alchemy/exprs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/alchemy/secrets.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/alchemy/sqlean.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/dbapi.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/dbs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/params.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/qualifiedname.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/base.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/binary.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/building.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/exprs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/idents.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/inserts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/marshal.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/multi.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/names.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/ops.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/relations.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/rendering.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/selects.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/stmts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/queries/unary.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/alchemy.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/dtypes.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/elements.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/lower.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/marshal.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sql/tabledefs/tabledefs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/sync.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/term.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/helpers.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/inject/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/inject/harness.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/marks.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/__init__.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/_registry.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/asyncs.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/depskip.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/logging.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/managermarks.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/pydevd.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/repeat.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/skips.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/spacing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/switches.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/plugins/utils.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/pytest/skip.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/testing/testing.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/text/asdl.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/text/delimit.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/text/glyphsplit.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/text/indent.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/text/parts.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish/text/random.py +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish.egg-info/dependency_links.txt +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish.egg-info/entry_points.txt +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish.egg-info/requires.txt +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/omlish.egg-info/top_level.txt +0 -0
- {omlish-0.0.0.dev148 → omlish-0.0.0.dev150}/setup.cfg +0 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
# ruff: noqa: I001
|
2
|
+
import argparse
|
3
|
+
|
4
|
+
from .cli import ( # noqa
|
5
|
+
ArgparseArg as Arg,
|
6
|
+
argparse_arg as arg,
|
7
|
+
|
8
|
+
ArgparseCommandFn as CommandFn,
|
9
|
+
ArgparseCommand as Command,
|
10
|
+
argparse_command as command,
|
11
|
+
|
12
|
+
ArgparseCli as Cli,
|
13
|
+
)
|
14
|
+
|
15
|
+
|
16
|
+
##
|
17
|
+
|
18
|
+
|
19
|
+
SUPPRESS = argparse.SUPPRESS
|
20
|
+
|
21
|
+
OPTIONAL = argparse.OPTIONAL
|
22
|
+
ZERO_OR_MORE = argparse.ZERO_OR_MORE
|
23
|
+
ONE_OR_MORE = argparse.ONE_OR_MORE
|
24
|
+
PARSER = argparse.PARSER
|
25
|
+
REMAINDER = argparse.REMAINDER
|
26
|
+
|
27
|
+
HelpFormatter = argparse.HelpFormatter
|
28
|
+
RawDescriptionHelpFormatter = argparse.RawDescriptionHelpFormatter
|
29
|
+
RawTextHelpFormatter = argparse.RawTextHelpFormatter
|
30
|
+
ArgumentDefaultsHelpFormatter = argparse.ArgumentDefaultsHelpFormatter
|
31
|
+
|
32
|
+
MetavarTypeHelpFormatter = argparse.MetavarTypeHelpFormatter
|
33
|
+
|
34
|
+
ArgumentError = argparse.ArgumentError
|
35
|
+
ArgumentTypeError = argparse.ArgumentTypeError
|
36
|
+
|
37
|
+
Action = argparse.Action
|
38
|
+
BooleanOptionalAction = argparse.BooleanOptionalAction
|
39
|
+
SubParsersAction = argparse._SubParsersAction # noqa
|
40
|
+
|
41
|
+
FileType = argparse.FileType
|
42
|
+
|
43
|
+
Namespace = argparse.Namespace
|
44
|
+
|
45
|
+
ArgumentParser = argparse.ArgumentParser
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# ruff: noqa: UP006 UP007
|
2
|
+
# @omlish-lite
|
1
3
|
"""
|
2
4
|
TODO:
|
3
5
|
- default command
|
@@ -9,53 +11,23 @@ import functools
|
|
9
11
|
import sys
|
10
12
|
import typing as ta
|
11
13
|
|
12
|
-
from . import
|
13
|
-
from . import check
|
14
|
+
from ..lite.check import check
|
14
15
|
|
15
16
|
|
16
17
|
T = ta.TypeVar('T')
|
17
18
|
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
SUPPRESS = argparse.SUPPRESS
|
23
|
-
|
24
|
-
OPTIONAL = argparse.OPTIONAL
|
25
|
-
ZERO_OR_MORE = argparse.ZERO_OR_MORE
|
26
|
-
ONE_OR_MORE = argparse.ONE_OR_MORE
|
27
|
-
PARSER = argparse.PARSER
|
28
|
-
REMAINDER = argparse.REMAINDER
|
29
|
-
|
30
|
-
HelpFormatter = argparse.HelpFormatter
|
31
|
-
RawDescriptionHelpFormatter = argparse.RawDescriptionHelpFormatter
|
32
|
-
RawTextHelpFormatter = argparse.RawTextHelpFormatter
|
33
|
-
ArgumentDefaultsHelpFormatter = argparse.ArgumentDefaultsHelpFormatter
|
34
|
-
|
35
|
-
MetavarTypeHelpFormatter = argparse.MetavarTypeHelpFormatter
|
36
|
-
|
37
|
-
ArgumentError = argparse.ArgumentError
|
38
|
-
ArgumentTypeError = argparse.ArgumentTypeError
|
39
|
-
|
40
|
-
Action = argparse.Action
|
41
|
-
BooleanOptionalAction = argparse.BooleanOptionalAction
|
42
|
-
SubParsersAction = argparse._SubParsersAction # noqa
|
43
|
-
|
44
|
-
FileType = argparse.FileType
|
45
|
-
|
46
|
-
Namespace = argparse.Namespace
|
47
|
-
|
48
|
-
ArgumentParser = argparse.ArgumentParser
|
20
|
+
ArgparseCommandFn = ta.Callable[[], ta.Optional[int]] # ta.TypeAlias
|
49
21
|
|
50
22
|
|
51
23
|
##
|
52
24
|
|
53
25
|
|
54
26
|
@dc.dataclass(eq=False)
|
55
|
-
class
|
27
|
+
class ArgparseArg:
|
56
28
|
args: ta.Sequence[ta.Any]
|
57
29
|
kwargs: ta.Mapping[str, ta.Any]
|
58
|
-
dest: str
|
30
|
+
dest: ta.Optional[str] = None
|
59
31
|
|
60
32
|
def __get__(self, instance, owner=None):
|
61
33
|
if instance is None:
|
@@ -63,26 +35,23 @@ class Arg:
|
|
63
35
|
return getattr(instance.args, self.dest) # type: ignore
|
64
36
|
|
65
37
|
|
66
|
-
def
|
67
|
-
return
|
38
|
+
def argparse_arg(*args, **kwargs) -> ArgparseArg:
|
39
|
+
return ArgparseArg(args, kwargs)
|
68
40
|
|
69
41
|
|
70
42
|
#
|
71
43
|
|
72
44
|
|
73
|
-
CommandFn = ta.Callable[[], int | None]
|
74
|
-
|
75
|
-
|
76
45
|
@dc.dataclass(eq=False)
|
77
|
-
class
|
46
|
+
class ArgparseCommand:
|
78
47
|
name: str
|
79
|
-
fn:
|
80
|
-
args: ta.Sequence[
|
48
|
+
fn: ArgparseCommandFn
|
49
|
+
args: ta.Sequence[ArgparseArg] = () # noqa
|
81
50
|
|
82
|
-
_: dc.KW_ONLY
|
51
|
+
# _: dc.KW_ONLY
|
83
52
|
|
84
|
-
aliases: ta.Sequence[str]
|
85
|
-
parent: ta.Optional['
|
53
|
+
aliases: ta.Optional[ta.Sequence[str]] = None
|
54
|
+
parent: ta.Optional['ArgparseCommand'] = None
|
86
55
|
accepts_unknown: bool = False
|
87
56
|
|
88
57
|
def __post_init__(self) -> None:
|
@@ -95,9 +64,9 @@ class Command:
|
|
95
64
|
for a in self.aliases or []:
|
96
65
|
check_name(a)
|
97
66
|
|
98
|
-
check.callable(self.fn)
|
99
|
-
check.arg(all(isinstance(a,
|
100
|
-
check.isinstance(self.parent, (
|
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)))
|
101
70
|
check.isinstance(self.accepts_unknown, bool)
|
102
71
|
|
103
72
|
functools.update_wrapper(self, self.fn)
|
@@ -107,25 +76,25 @@ class Command:
|
|
107
76
|
return self
|
108
77
|
return dc.replace(self, fn=self.fn.__get__(instance, owner)) # noqa
|
109
78
|
|
110
|
-
def __call__(self, *args, **kwargs) -> int
|
79
|
+
def __call__(self, *args, **kwargs) -> ta.Optional[int]:
|
111
80
|
return self.fn(*args, **kwargs)
|
112
81
|
|
113
82
|
|
114
|
-
def
|
115
|
-
*args:
|
116
|
-
name: str
|
117
|
-
aliases: ta.Iterable[str]
|
118
|
-
parent:
|
83
|
+
def argparse_command(
|
84
|
+
*args: ArgparseArg,
|
85
|
+
name: ta.Optional[str] = None,
|
86
|
+
aliases: ta.Optional[ta.Iterable[str]] = None,
|
87
|
+
parent: ta.Optional[ArgparseCommand] = None,
|
119
88
|
accepts_unknown: bool = False,
|
120
|
-
) -> ta.Any: # ta.Callable[[
|
89
|
+
) -> ta.Any: # ta.Callable[[ArgparseCommandFn], ArgparseCommand]: # FIXME
|
121
90
|
for arg in args:
|
122
|
-
check.isinstance(arg,
|
123
|
-
check.isinstance(name, (str, None))
|
124
|
-
check.isinstance(parent, (
|
91
|
+
check.isinstance(arg, ArgparseArg)
|
92
|
+
check.isinstance(name, (str, type(None)))
|
93
|
+
check.isinstance(parent, (ArgparseCommand, type(None)))
|
125
94
|
check.not_isinstance(aliases, str)
|
126
95
|
|
127
96
|
def inner(fn):
|
128
|
-
return
|
97
|
+
return ArgparseCommand(
|
129
98
|
(name if name is not None else fn.__name__).replace('_', '-'),
|
130
99
|
fn,
|
131
100
|
args,
|
@@ -140,7 +109,7 @@ def command(
|
|
140
109
|
##
|
141
110
|
|
142
111
|
|
143
|
-
def
|
112
|
+
def _get_argparse_arg_ann_kwargs(ann: ta.Any) -> ta.Mapping[str, ta.Any]:
|
144
113
|
if ann is str:
|
145
114
|
return {}
|
146
115
|
elif ann is int:
|
@@ -153,48 +122,51 @@ def get_arg_ann_kwargs(ann: ta.Any) -> ta.Mapping[str, ta.Any]:
|
|
153
122
|
raise TypeError(ann)
|
154
123
|
|
155
124
|
|
156
|
-
class
|
157
|
-
|
125
|
+
class _ArgparseCliAnnotationBox:
|
158
126
|
def __init__(self, annotations: ta.Mapping[str, ta.Any]) -> None:
|
159
127
|
super().__init__()
|
160
128
|
self.__annotations__ = annotations # type: ignore
|
161
129
|
|
162
130
|
|
163
|
-
class
|
131
|
+
class ArgparseCli:
|
132
|
+
def __init__(self, argv: ta.Optional[ta.Sequence[str]] = None) -> None:
|
133
|
+
super().__init__()
|
134
|
+
|
135
|
+
self._argv = argv if argv is not None else sys.argv[1:]
|
164
136
|
|
165
|
-
|
166
|
-
if not bases:
|
167
|
-
return super().__new__(mcls, name, tuple(bases), dict(namespace))
|
137
|
+
self._args, self._unknown_args = self.get_parser().parse_known_args(self._argv)
|
168
138
|
|
169
|
-
|
170
|
-
|
139
|
+
def __init_subclass__(cls, **kwargs: ta.Any) -> None:
|
140
|
+
super().__init_subclass__(**kwargs)
|
141
|
+
|
142
|
+
ns = cls.__dict__
|
171
143
|
|
172
144
|
objs = {}
|
173
|
-
mro =
|
174
|
-
for bns in [bcls.__dict__ for bcls in reversed(mro)] + [
|
145
|
+
mro = cls.__mro__[::-1]
|
146
|
+
for bns in [bcls.__dict__ for bcls in reversed(mro)] + [ns]:
|
175
147
|
bseen = set() # type: ignore
|
176
148
|
for k, v in bns.items():
|
177
|
-
if isinstance(v, (
|
149
|
+
if isinstance(v, (ArgparseCommand, ArgparseArg)):
|
178
150
|
check.not_in(v, bseen)
|
179
151
|
bseen.add(v)
|
180
152
|
objs[k] = v
|
181
153
|
elif k in objs:
|
182
154
|
del [k]
|
183
155
|
|
184
|
-
anns = ta.get_type_hints(
|
156
|
+
anns = ta.get_type_hints(_ArgparseCliAnnotationBox({
|
185
157
|
**{k: v for bcls in reversed(mro) for k, v in getattr(bcls, '__annotations__', {}).items()},
|
186
|
-
**
|
187
|
-
}), globalns=
|
158
|
+
**ns.get('__annotations__', {}),
|
159
|
+
}), globalns=ns.get('__globals__', {}))
|
188
160
|
|
189
|
-
if '
|
190
|
-
parser = check.isinstance(
|
161
|
+
if '_parser' in ns:
|
162
|
+
parser = check.isinstance(ns['_parser'], argparse.ArgumentParser)
|
191
163
|
else:
|
192
|
-
parser = ArgumentParser()
|
193
|
-
|
164
|
+
parser = argparse.ArgumentParser()
|
165
|
+
setattr(cls, '_parser', parser)
|
194
166
|
|
195
167
|
subparsers = parser.add_subparsers()
|
196
168
|
for att, obj in objs.items():
|
197
|
-
if isinstance(obj,
|
169
|
+
if isinstance(obj, ArgparseCommand):
|
198
170
|
if obj.parent is not None:
|
199
171
|
raise NotImplementedError
|
200
172
|
for cn in [obj.name, *(obj.aliases or [])]:
|
@@ -215,9 +187,9 @@ class _CliMeta(type):
|
|
215
187
|
cparser.add_argument(*arg.args, **arg.kwargs)
|
216
188
|
cparser.set_defaults(_cmd=obj)
|
217
189
|
|
218
|
-
elif isinstance(obj,
|
190
|
+
elif isinstance(obj, ArgparseArg):
|
219
191
|
if att in anns:
|
220
|
-
akwargs =
|
192
|
+
akwargs = _get_argparse_arg_ann_kwargs(anns[att])
|
221
193
|
obj.kwargs = {**akwargs, **obj.kwargs}
|
222
194
|
if not obj.dest:
|
223
195
|
if 'dest' in obj.kwargs:
|
@@ -229,22 +201,10 @@ class _CliMeta(type):
|
|
229
201
|
else:
|
230
202
|
raise TypeError(obj)
|
231
203
|
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
class Cli(metaclass=_CliMeta):
|
236
|
-
|
237
|
-
def __init__(self, argv: ta.Sequence[str] | None = None) -> None:
|
238
|
-
super().__init__()
|
239
|
-
|
240
|
-
self._argv = argv if argv is not None else sys.argv[1:]
|
241
|
-
|
242
|
-
self._args, self._unknown_args = self.get_parser().parse_known_args(self._argv)
|
243
|
-
|
244
|
-
_parser: ta.ClassVar[ArgumentParser]
|
204
|
+
_parser: ta.ClassVar[argparse.ArgumentParser]
|
245
205
|
|
246
206
|
@classmethod
|
247
|
-
def get_parser(cls) -> ArgumentParser:
|
207
|
+
def get_parser(cls) -> argparse.ArgumentParser:
|
248
208
|
return cls._parser
|
249
209
|
|
250
210
|
@property
|
@@ -252,17 +212,17 @@ class Cli(metaclass=_CliMeta):
|
|
252
212
|
return self._argv
|
253
213
|
|
254
214
|
@property
|
255
|
-
def args(self) -> Namespace:
|
215
|
+
def args(self) -> argparse.Namespace:
|
256
216
|
return self._args
|
257
217
|
|
258
218
|
@property
|
259
219
|
def unknown_args(self) -> ta.Sequence[str]:
|
260
220
|
return self._unknown_args
|
261
221
|
|
262
|
-
def _run_cmd(self, cmd:
|
222
|
+
def _run_cmd(self, cmd: ArgparseCommand) -> ta.Optional[int]:
|
263
223
|
return cmd.__get__(self, type(self))()
|
264
224
|
|
265
|
-
def __call__(self) -> int
|
225
|
+
def __call__(self) -> ta.Optional[int]:
|
266
226
|
cmd = getattr(self.args, '_cmd', None)
|
267
227
|
|
268
228
|
if self._unknown_args and not (cmd is not None and cmd.accepts_unknown):
|
@@ -270,7 +230,7 @@ class Cli(metaclass=_CliMeta):
|
|
270
230
|
if (parser := self.get_parser()).exit_on_error: # type: ignore
|
271
231
|
parser.error(msg)
|
272
232
|
else:
|
273
|
-
raise ArgumentError(None, msg)
|
233
|
+
raise argparse.ArgumentError(None, msg)
|
274
234
|
|
275
235
|
if cmd is None:
|
276
236
|
self.get_parser().print_help()
|
@@ -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,
|
@@ -1,11 +1,10 @@
|
|
1
1
|
# ruff: noqa: UP007
|
2
|
+
# @omlish-lite
|
2
3
|
import io
|
3
4
|
import typing as ta
|
4
5
|
|
5
|
-
from .check import
|
6
|
-
from .
|
7
|
-
from .check import check_not_none
|
8
|
-
from .strings import attr_repr
|
6
|
+
from ..lite.check import check
|
7
|
+
from ..lite.strings import attr_repr
|
9
8
|
|
10
9
|
|
11
10
|
class DelimitingBuffer:
|
@@ -39,7 +38,7 @@ class DelimitingBuffer:
|
|
39
38
|
) -> None:
|
40
39
|
super().__init__()
|
41
40
|
|
42
|
-
self._delimiters = frozenset(
|
41
|
+
self._delimiters = frozenset(check.isinstance(d, int) for d in delimiters)
|
43
42
|
self._keep_ends = keep_ends
|
44
43
|
self._max_size = max_size
|
45
44
|
|
@@ -70,7 +69,7 @@ class DelimitingBuffer:
|
|
70
69
|
return r
|
71
70
|
|
72
71
|
def _append_and_reset(self, chunk: bytes) -> bytes:
|
73
|
-
buf =
|
72
|
+
buf = check.not_none(self._buf)
|
74
73
|
if not buf.tell():
|
75
74
|
return chunk
|
76
75
|
|
@@ -192,7 +191,7 @@ class IncrementalWriteBuffer:
|
|
192
191
|
) -> None:
|
193
192
|
super().__init__()
|
194
193
|
|
195
|
-
|
194
|
+
check.not_empty(data)
|
196
195
|
self._len = len(data)
|
197
196
|
self._write_size = write_size
|
198
197
|
|
@@ -207,11 +206,11 @@ class IncrementalWriteBuffer:
|
|
207
206
|
return self._len - self._pos
|
208
207
|
|
209
208
|
def write(self, fn: ta.Callable[[bytes], int]) -> int:
|
210
|
-
lst =
|
209
|
+
lst = check.not_empty(self._lst)
|
211
210
|
|
212
211
|
t = 0
|
213
212
|
for i, d in enumerate(lst): # noqa
|
214
|
-
n = fn(
|
213
|
+
n = fn(check.not_empty(d))
|
215
214
|
if not n:
|
216
215
|
break
|
217
216
|
t += n
|
@@ -2,15 +2,12 @@
|
|
2
2
|
import socket
|
3
3
|
import typing as ta
|
4
4
|
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from ..
|
10
|
-
from ..
|
11
|
-
from ..io import IncrementalWriteBuffer
|
12
|
-
from ..io import ReadableListBuffer
|
13
|
-
from ..socket import SocketAddress
|
5
|
+
from ...http.coroserver import CoroHttpServer
|
6
|
+
from ...http.handlers import HttpHandler
|
7
|
+
from ...lite.check import check
|
8
|
+
from ...lite.socket import SocketAddress
|
9
|
+
from ..buffers import IncrementalWriteBuffer
|
10
|
+
from ..buffers import ReadableListBuffer
|
14
11
|
from .handlers import SocketFdioHandler
|
15
12
|
|
16
13
|
|
@@ -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
|