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