omlish 0.0.0.dev164__tar.gz → 0.0.0.dev166__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omlish-0.0.0.dev164/omlish.egg-info → omlish-0.0.0.dev166}/PKG-INFO +1 -1
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/.manifests.json +30 -2
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/__about__.py +2 -2
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/__init__.py +3 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/base.py +4 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/funcs.py +11 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/text.py +2 -2
- omlish-0.0.0.dev166/omlish/formats/cloudpickle.py +31 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/codecs.py +0 -4
- omlish-0.0.0.dev166/omlish/formats/json/delimted.py +4 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/yaml.py +7 -0
- omlish-0.0.0.dev166/omlish/funcs/pairs.py +215 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/codecs.py +20 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/generators/__init__.py +3 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/generators/stepped.py +19 -3
- omlish-0.0.0.dev166/omlish/iterators/__init__.py +24 -0
- omlish-0.0.0.dev166/omlish/iterators/iterators.py +132 -0
- omlish-0.0.0.dev166/omlish/iterators/recipes.py +18 -0
- omlish-0.0.0.dev166/omlish/iterators/tools.py +96 -0
- omlish-0.0.0.dev166/omlish/iterators/unique.py +67 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166/omlish.egg-info}/PKG-INFO +1 -1
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish.egg-info/SOURCES.txt +7 -1
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/pyproject.toml +1 -1
- omlish-0.0.0.dev164/omlish/funcs/pairs.py +0 -496
- omlish-0.0.0.dev164/omlish/iterators.py +0 -300
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/LICENSE +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/MANIFEST.in +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/README.rst +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/BufferedTokenStream.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/CommonTokenFactory.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/CommonTokenStream.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/FileStream.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/InputStream.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/IntervalSet.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/LICENSE.txt +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/LL1Analyzer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/Lexer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/ListTokenSource.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/Parser.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/ParserInterpreter.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/ParserRuleContext.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/PredictionContext.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/Recognizer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/RuleContext.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/StdinStream.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/Token.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/TokenStreamRewriter.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/Utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/_pygrun.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATN.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNConfig.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNConfigSet.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNDeserializationOptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNDeserializer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNSimulator.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNState.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ATNType.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/LexerATNSimulator.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/LexerAction.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/LexerActionExecutor.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/ParserATNSimulator.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/PredictionMode.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/SemanticContext.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/Transition.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/atn/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/dfa/DFA.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/dfa/DFASerializer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/dfa/DFAState.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/dfa/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/error/DiagnosticErrorListener.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/error/ErrorListener.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/error/ErrorStrategy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/error/Errors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/error/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/Chunk.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/ParseTreeMatch.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/ParseTreePattern.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/ParseTreePatternMatcher.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/RuleTagToken.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/TokenTagToken.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/Tree.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/Trees.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/tree/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/xpath/XPath.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/xpath/XPathLexer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/antlr/_runtime/xpath/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/argparse/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/argparse/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/argparse/cli.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/anyio.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/asyncio.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/channels.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/streams.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/subprocesses.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncio/timeouts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/asyncs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/LICENSE +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/api.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/core.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/events.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/files.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/runner.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bluelet/sockets.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/bridge.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/flavors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/trio.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/asyncs/trio_asyncio.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/__main__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/diag.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/harness.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/main.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/bootstrap/sys.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/c3.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/cached.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/check.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/bytes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/chain.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/registry.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/codecs/standard.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/abc.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/cache/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/cache/descriptor.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/cache/impl.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/cache/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/coerce.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/exceptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/frozen.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/hasheq.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/identity.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/indexed.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/mappings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/ordered.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/persistent.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/skiplist.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/sorted.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/treap.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/treapmap.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/unmodifiable.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/collections/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/concurrent/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/concurrent/executors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/concurrent/futures.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/concurrent/threadlets.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/configs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/configs/classes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/configs/flattening.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/configs/strings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/LICENSE +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/api.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/as_.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/copy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/descriptors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/exceptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/fields.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/frozen.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/hashing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/init.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/internals.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/main.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/metaclass.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/metadata.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/order.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/params.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/processing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/reflect.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/replace.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/repr.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/simple.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/slots.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/impl/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dataclasses/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/datetimes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/defs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/_pycharm/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/_pycharm/runhack.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/asts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/debug.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/procfs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/procstats.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/ps.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/pycharm.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/pydevd.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/replserver/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/replserver/__main__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/replserver/console.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/replserver/server.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/diag/threads.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dispatch/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dispatch/_dispatch2.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dispatch/_dispatch3.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dispatch/dispatch.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dispatch/functions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dispatch/methods.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/cli.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/compose.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/consts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/detect.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/hub.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/manifests.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/docker/timebomb.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/dynamic.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/cbor.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/codecs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/dotenv.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/default.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/jiter.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/orjson.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/std.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/backends/ujson.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/consts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/encoding.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/json.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/literals.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/render.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/stream/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/stream/build.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/stream/errors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/stream/lex.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/stream/parse.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/stream/render.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/json5.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/pickle.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/props.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/toml.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/formats/xml.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/funcs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/funcs/genmachine.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/funcs/match.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/funcs/pipes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/dags.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/domination.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/dot/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/dot/items.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/dot/make.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/dot/rendering.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/dot/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/graphs/trees.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/asgi.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/clients.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/consts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/cookies.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/coro/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/coro/fdio.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/coro/server.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/dates.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/encodings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/handlers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/headers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/json.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/jwt.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/multipart.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/parsing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/sessions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/sse.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/versions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/http/wsgi.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/binder.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/bindings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/eagers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/elements.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/exceptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/bindings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/elements.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/injector.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/inspect.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/multis.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/origins.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/privates.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/providers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/proxy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/impl/scopes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/injector.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/inspect.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/keys.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/listeners.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/managed.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/multis.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/origins.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/overrides.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/privates.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/providers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/scopes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/inject/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/abc.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/buffers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/abc.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/adapters.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/brotli.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/bz2.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/gzip.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/lz4.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/lzma.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/snappy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/zlib.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/compress/zstd.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/fdio/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/fdio/handlers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/fdio/kqueue.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/fdio/manager.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/fdio/pollers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/generators/consts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/generators/direct.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/generators/readers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/pyio.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/io/trampoline.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/cached.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/classes/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/classes/abstract.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/classes/restrict.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/classes/simple.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/classes/virtual.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/clsdct.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/cmp.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/contextmanagers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/datetimes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/descriptors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/exceptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/functions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/generators.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/imports.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/iterables.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/maybes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/objects.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/resolving.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/resources.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/strings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/sys.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/timeouts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lang/typing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/libc.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/abstract.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/contextmanagers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/controller.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/manager.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/states.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lifecycles/transitions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/cached.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/check.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/contextmanagers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/inject.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/json.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/logs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/maybes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/pycharm.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/reflect.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/resources.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/runtime.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/secrets.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/socket.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/socketserver.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/strings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/lite/typing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/abc.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/all.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/color.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/configs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/filters.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/handlers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/json.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/noisy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/proxy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/standard.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/logs/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/manifests/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/manifests/load.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/manifests/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/any.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/base64.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/dataclasses.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/datetimes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/enums.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/exceptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/factories.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/forbidden.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/global_.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/helpers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/iterables.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/mappings.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/maybes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/namedtuples.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/naming.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/newtypes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/nop.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/numbers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/objects.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/optionals.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/polymorphism.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/primitives.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/registries.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/standard.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/unions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/uuids.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/marshal/values.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/math/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/math/bits.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/math/floats.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/math/stats.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/multiprocessing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/atomics.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/deathsig.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/files.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/journald.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/linux.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/pidfile.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/os/sizes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/reflect/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/reflect/inspect.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/reflect/ops.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/reflect/subst.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/reflect/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/runmodule.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/crypto.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/openssl.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/pwgen.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/pwhash.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/secrets.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/secrets/subprocesses.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/LICENSE +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/__main__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/ast.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/cli.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/exceptions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/functions.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/lexer.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/parser.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/scope.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jmespath/visitor.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonrpc/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonrpc/errors.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonrpc/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonrpc/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/core.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/metadata.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/parse.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/render.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/keywords/validation.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/metaschema.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/applicator.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/content.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/core.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-annotation.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format-assertion.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/format.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/meta-data.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/unevaluated.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/schemas/draft202012/vocabularies/validation.json +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/jsonschema/types.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/openapi/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/openapi/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/specs/openapi/openapi.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/abc.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/alchemy/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/alchemy/asyncs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/alchemy/duckdb.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/alchemy/exprs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/alchemy/secrets.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/alchemy/sqlean.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/dbapi.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/dbs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/params.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/qualifiedname.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/base.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/binary.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/building.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/exprs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/idents.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/inserts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/multi.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/names.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/ops.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/relations.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/rendering.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/selects.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/stmts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/queries/unary.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/alchemy.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/dtypes.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/elements.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/lower.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/marshal.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sql/tabledefs/tabledefs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/subprocesses.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/sync.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/term.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/helpers.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/inject/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/inject/harness.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/marks.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/_registry.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/asyncs.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/depskip.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/logging.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/managermarks.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/pydevd.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/repeat.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/skips.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/spacing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/switches.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/plugins/utils.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/pytest/skip.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/testing/testing.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/__init__.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/asdl.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/delimit.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/glyphsplit.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/indent.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/parts.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish/text/random.py +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish.egg-info/dependency_links.txt +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish.egg-info/entry_points.txt +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish.egg-info/requires.txt +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/omlish.egg-info/top_level.txt +0 -0
- {omlish-0.0.0.dev164 → omlish-0.0.0.dev166}/setup.cfg +0 -0
@@ -37,6 +37,20 @@
|
|
37
37
|
}
|
38
38
|
}
|
39
39
|
},
|
40
|
+
{
|
41
|
+
"module": ".formats.cloudpickle",
|
42
|
+
"attr": "_CLOUDPICKLE_LAZY_CODEC",
|
43
|
+
"file": "omlish/formats/cloudpickle.py",
|
44
|
+
"line": 30,
|
45
|
+
"value": {
|
46
|
+
"$.codecs.base.LazyLoadedCodec": {
|
47
|
+
"mod_name": "omlish.formats.cloudpickle",
|
48
|
+
"attr_name": "CLOUDPICKLE_CODEC",
|
49
|
+
"name": "cloudpickle",
|
50
|
+
"aliases": null
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
40
54
|
{
|
41
55
|
"module": ".formats.json.codecs",
|
42
56
|
"attr": "_JSON_LAZY_CODEC",
|
@@ -55,7 +69,7 @@
|
|
55
69
|
"module": ".formats.json.codecs",
|
56
70
|
"attr": "_JSON_COMPACT_LAZY_CODEC",
|
57
71
|
"file": "omlish/formats/json/codecs.py",
|
58
|
-
"line":
|
72
|
+
"line": 21,
|
59
73
|
"value": {
|
60
74
|
"$.codecs.base.LazyLoadedCodec": {
|
61
75
|
"mod_name": "omlish.formats.json.codecs",
|
@@ -69,7 +83,7 @@
|
|
69
83
|
"module": ".formats.json.codecs",
|
70
84
|
"attr": "_JSON_PRETTY_LAZY_CODEC",
|
71
85
|
"file": "omlish/formats/json/codecs.py",
|
72
|
-
"line":
|
86
|
+
"line": 28,
|
73
87
|
"value": {
|
74
88
|
"$.codecs.base.LazyLoadedCodec": {
|
75
89
|
"mod_name": "omlish.formats.json.codecs",
|
@@ -137,6 +151,20 @@
|
|
137
151
|
}
|
138
152
|
}
|
139
153
|
},
|
154
|
+
{
|
155
|
+
"module": ".formats.yaml",
|
156
|
+
"attr": "_YAML_UNSAFE_LAZY_CODEC",
|
157
|
+
"file": "omlish/formats/yaml.py",
|
158
|
+
"line": 265,
|
159
|
+
"value": {
|
160
|
+
"$.codecs.base.LazyLoadedCodec": {
|
161
|
+
"mod_name": "omlish.formats.yaml",
|
162
|
+
"attr_name": "YAML_UNSAFE_CODEC",
|
163
|
+
"name": "yaml-unsafe",
|
164
|
+
"aliases": null
|
165
|
+
}
|
166
|
+
}
|
167
|
+
},
|
140
168
|
{
|
141
169
|
"module": ".io.compress.brotli",
|
142
170
|
"attr": "_BROTLI_LAZY_CODEC",
|
@@ -9,6 +9,7 @@ from omlish import check
|
|
9
9
|
from omlish import dataclasses as dc
|
10
10
|
from omlish import lang
|
11
11
|
from omlish import reflect as rfl
|
12
|
+
from omlish.funcs import pairs as fps
|
12
13
|
|
13
14
|
|
14
15
|
I = ta.TypeVar('I')
|
@@ -27,6 +28,9 @@ class EagerCodec(lang.Abstract, ta.Generic[I, O]):
|
|
27
28
|
def decode(self, o: O) -> I:
|
28
29
|
raise NotImplementedError
|
29
30
|
|
31
|
+
def as_pair(self) -> fps.FnPair[I, O]:
|
32
|
+
return fps.of(self.encode, self.decode)
|
33
|
+
|
30
34
|
|
31
35
|
class IncrementalCodec(lang.Abstract, ta.Generic[I, O]):
|
32
36
|
@abc.abstractmethod
|
@@ -26,3 +26,14 @@ class FnPairEagerCodec(EagerCodec[I, O]):
|
|
26
26
|
decode: ta.Callable[[O], I],
|
27
27
|
) -> 'FnPairEagerCodec[I, O]':
|
28
28
|
return cls(fps.of(encode, decode))
|
29
|
+
|
30
|
+
|
31
|
+
def of_pair(fp: fps.FnPair[I, O]) -> FnPairEagerCodec[I, O]:
|
32
|
+
return FnPairEagerCodec(fp)
|
33
|
+
|
34
|
+
|
35
|
+
def of(
|
36
|
+
encode: ta.Callable[[I], O],
|
37
|
+
decode: ta.Callable[[O], I],
|
38
|
+
) -> FnPairEagerCodec[I, O]:
|
39
|
+
return FnPairEagerCodec(fps.of(encode, decode))
|
@@ -46,8 +46,8 @@ TextEncodingErrors: ta.TypeAlias = ta.Literal[
|
|
46
46
|
'namereplace',
|
47
47
|
|
48
48
|
##
|
49
|
-
# In addition, the following error handler is specific to the given codecs:
|
50
|
-
# utf-
|
49
|
+
# In addition, the following error handler is specific to the given codecs: utf-8, utf-16, utf-32, utf-16-be,
|
50
|
+
# utf-16-le, utf-32-be, utf-32-le
|
51
51
|
|
52
52
|
# Allow encoding and decoding surrogate code point (U+D800 - U+DFFF) as normal code point. Otherwise these codecs
|
53
53
|
# treat the presence of surrogate code point in str as an error.
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import typing as ta
|
2
|
+
|
3
|
+
from .. import lang
|
4
|
+
from .codecs import make_bytes_object_codec
|
5
|
+
from .codecs import make_object_lazy_loaded_codec
|
6
|
+
|
7
|
+
|
8
|
+
if ta.TYPE_CHECKING:
|
9
|
+
import cloudpickle
|
10
|
+
else:
|
11
|
+
cloudpickle = lang.proxy_import('cloudpickle')
|
12
|
+
|
13
|
+
|
14
|
+
##
|
15
|
+
|
16
|
+
|
17
|
+
def dump(obj: ta.Any) -> bytes:
|
18
|
+
return cloudpickle.dumps(obj)
|
19
|
+
|
20
|
+
|
21
|
+
def load(s: bytes) -> ta.Any:
|
22
|
+
return cloudpickle.loads(s)
|
23
|
+
|
24
|
+
|
25
|
+
##
|
26
|
+
|
27
|
+
|
28
|
+
CLOUDPICKLE_CODEC = make_bytes_object_codec('cloudpickle', dump, load)
|
29
|
+
|
30
|
+
# @omlish-manifest
|
31
|
+
_CLOUDPICKLE_LAZY_CODEC = make_object_lazy_loaded_codec(__name__, 'CLOUDPICKLE_CODEC', CLOUDPICKLE_CODEC)
|
@@ -14,19 +14,15 @@ JSON_CODEC = make_str_object_codec('json', dumps, loads)
|
|
14
14
|
# @omlish-manifest
|
15
15
|
_JSON_LAZY_CODEC = make_object_lazy_loaded_codec(__name__, 'JSON_CODEC', JSON_CODEC)
|
16
16
|
|
17
|
-
|
18
17
|
#
|
19
18
|
|
20
|
-
|
21
19
|
JSON_COMPACT_CODEC = make_str_object_codec('json-compact', dumps_compact, loads)
|
22
20
|
|
23
21
|
# @omlish-manifest
|
24
22
|
_JSON_COMPACT_LAZY_CODEC = make_object_lazy_loaded_codec(__name__, 'JSON_COMPACT_CODEC', JSON_COMPACT_CODEC)
|
25
23
|
|
26
|
-
|
27
24
|
#
|
28
25
|
|
29
|
-
|
30
26
|
JSON_PRETTY_CODEC = make_str_object_codec('json-pretty', dumps_pretty, loads)
|
31
27
|
|
32
28
|
# @omlish-manifest
|
@@ -257,3 +257,10 @@ YAML_CODEC = make_str_object_codec('yaml', dump, safe_load, aliases=['yml'])
|
|
257
257
|
|
258
258
|
# @omlish-manifest
|
259
259
|
_YAML_LAZY_CODEC = make_object_lazy_loaded_codec(__name__, 'YAML_CODEC', YAML_CODEC)
|
260
|
+
|
261
|
+
#
|
262
|
+
|
263
|
+
YAML_UNSAFE_CODEC = make_str_object_codec('yaml-unsafe', dump, full_load)
|
264
|
+
|
265
|
+
# @omlish-manifest
|
266
|
+
_YAML_UNSAFE_LAZY_CODEC = make_object_lazy_loaded_codec(__name__, 'YAML_UNSAFE_CODEC', YAML_UNSAFE_CODEC)
|
@@ -0,0 +1,215 @@
|
|
1
|
+
import abc
|
2
|
+
import dataclasses as dc
|
3
|
+
import typing as ta
|
4
|
+
|
5
|
+
from .. import lang
|
6
|
+
|
7
|
+
|
8
|
+
if ta.TYPE_CHECKING:
|
9
|
+
import struct as _struct
|
10
|
+
else:
|
11
|
+
_struct = lang.proxy_import('struct')
|
12
|
+
|
13
|
+
|
14
|
+
##
|
15
|
+
|
16
|
+
|
17
|
+
F = ta.TypeVar('F')
|
18
|
+
T = ta.TypeVar('T')
|
19
|
+
U = ta.TypeVar('U')
|
20
|
+
|
21
|
+
|
22
|
+
class FnPair(ta.Generic[F, T], abc.ABC):
|
23
|
+
@abc.abstractmethod
|
24
|
+
def forward(self, f: F) -> T:
|
25
|
+
raise NotImplementedError
|
26
|
+
|
27
|
+
@abc.abstractmethod
|
28
|
+
def backward(self, t: T) -> F:
|
29
|
+
raise NotImplementedError
|
30
|
+
|
31
|
+
##
|
32
|
+
|
33
|
+
def __call__(self, f: F) -> T:
|
34
|
+
return self.forward(f)
|
35
|
+
|
36
|
+
def invert(self) -> 'FnPair[T, F]':
|
37
|
+
if isinstance(self, Inverted):
|
38
|
+
return self.fp
|
39
|
+
return Inverted(self)
|
40
|
+
|
41
|
+
def compose(self, nxt: 'FnPair[T, U]') -> 'FnPair[F, U]':
|
42
|
+
return Composite((self, nxt))
|
43
|
+
|
44
|
+
|
45
|
+
##
|
46
|
+
|
47
|
+
|
48
|
+
@lang.unabstract_class(['forward', 'backward'])
|
49
|
+
@dc.dataclass(frozen=True)
|
50
|
+
class Simple(FnPair[F, T]):
|
51
|
+
forward: ta.Callable[[F], T] # type: ignore
|
52
|
+
backward: ta.Callable[[T], F] # type: ignore
|
53
|
+
|
54
|
+
|
55
|
+
of = Simple
|
56
|
+
|
57
|
+
NOP: FnPair[ta.Any, ta.Any] = of(lang.identity, lang.identity)
|
58
|
+
|
59
|
+
|
60
|
+
##
|
61
|
+
|
62
|
+
|
63
|
+
@dc.dataclass(frozen=True)
|
64
|
+
class Inverted(FnPair[F, T]):
|
65
|
+
fp: FnPair[T, F]
|
66
|
+
|
67
|
+
def forward(self, f: F) -> T:
|
68
|
+
return self.fp.backward(f)
|
69
|
+
|
70
|
+
def backward(self, t: T) -> F:
|
71
|
+
return self.fp.forward(t)
|
72
|
+
|
73
|
+
|
74
|
+
##
|
75
|
+
|
76
|
+
|
77
|
+
@dc.dataclass(frozen=True)
|
78
|
+
class Composite(FnPair[F, T]):
|
79
|
+
children: ta.Sequence[FnPair]
|
80
|
+
|
81
|
+
def forward(self, f: F) -> T:
|
82
|
+
for c in self.children:
|
83
|
+
f = c.forward(f)
|
84
|
+
return ta.cast(T, f)
|
85
|
+
|
86
|
+
def backward(self, t: T) -> F:
|
87
|
+
for c in reversed(self.children):
|
88
|
+
t = c.backward(t)
|
89
|
+
return ta.cast(F, t)
|
90
|
+
|
91
|
+
|
92
|
+
I0 = ta.TypeVar('I0')
|
93
|
+
I1 = ta.TypeVar('I1')
|
94
|
+
I2 = ta.TypeVar('I2')
|
95
|
+
I3 = ta.TypeVar('I3')
|
96
|
+
I4 = ta.TypeVar('I4')
|
97
|
+
|
98
|
+
|
99
|
+
@ta.overload
|
100
|
+
def compose(
|
101
|
+
fp0: FnPair[F, I0],
|
102
|
+
f01: FnPair[I0, T],
|
103
|
+
) -> FnPair[F, T]:
|
104
|
+
...
|
105
|
+
|
106
|
+
|
107
|
+
@ta.overload
|
108
|
+
def compose(
|
109
|
+
fp0: FnPair[F, I0],
|
110
|
+
f01: FnPair[I0, I1],
|
111
|
+
fp2: FnPair[I1, T],
|
112
|
+
) -> FnPair[F, T]:
|
113
|
+
...
|
114
|
+
|
115
|
+
|
116
|
+
@ta.overload
|
117
|
+
def compose(
|
118
|
+
fp0: FnPair[F, I0],
|
119
|
+
f01: FnPair[I0, I1],
|
120
|
+
fp2: FnPair[I1, I2],
|
121
|
+
fp3: FnPair[I2, T],
|
122
|
+
) -> FnPair[F, T]:
|
123
|
+
...
|
124
|
+
|
125
|
+
|
126
|
+
@ta.overload
|
127
|
+
def compose(
|
128
|
+
fp0: FnPair[F, I0],
|
129
|
+
f01: FnPair[I0, I1],
|
130
|
+
fp2: FnPair[I1, I2],
|
131
|
+
fp3: FnPair[I2, I3],
|
132
|
+
fp4: FnPair[I3, T],
|
133
|
+
) -> FnPair[F, T]:
|
134
|
+
...
|
135
|
+
|
136
|
+
|
137
|
+
@ta.overload
|
138
|
+
def compose(
|
139
|
+
fp0: FnPair[F, I0],
|
140
|
+
f01: FnPair[I0, I1],
|
141
|
+
fp2: FnPair[I1, I2],
|
142
|
+
fp3: FnPair[I2, I3],
|
143
|
+
fp4: FnPair[I3, I4],
|
144
|
+
fp5: FnPair[I4, T],
|
145
|
+
) -> FnPair[F, T]:
|
146
|
+
...
|
147
|
+
|
148
|
+
|
149
|
+
@ta.overload
|
150
|
+
def compose(*ps: FnPair) -> FnPair:
|
151
|
+
...
|
152
|
+
|
153
|
+
|
154
|
+
def compose(*ps):
|
155
|
+
if not ps:
|
156
|
+
return NOP
|
157
|
+
if len(ps) == 1:
|
158
|
+
return ps[0]
|
159
|
+
return Composite(ps)
|
160
|
+
|
161
|
+
|
162
|
+
##
|
163
|
+
|
164
|
+
|
165
|
+
@dc.dataclass(frozen=True)
|
166
|
+
class Optional(FnPair[F | None, T | None]):
|
167
|
+
fp: FnPair[F, T]
|
168
|
+
|
169
|
+
def forward(self, f: F | None) -> T | None:
|
170
|
+
return None if f is None else self.fp.forward(f)
|
171
|
+
|
172
|
+
def backward(self, t: T | None) -> F | None:
|
173
|
+
return None if t is None else self.fp.backward(t)
|
174
|
+
|
175
|
+
|
176
|
+
class Lines(FnPair[ta.Sequence[str], str]):
|
177
|
+
def forward(self, f: ta.Sequence[str]) -> str:
|
178
|
+
return '\n'.join(f)
|
179
|
+
|
180
|
+
def backward(self, t: str) -> ta.Sequence[str]:
|
181
|
+
return t.splitlines()
|
182
|
+
|
183
|
+
|
184
|
+
##
|
185
|
+
|
186
|
+
|
187
|
+
@dc.dataclass(frozen=True)
|
188
|
+
class Struct(FnPair[tuple, bytes]):
|
189
|
+
fmt: str
|
190
|
+
|
191
|
+
def forward(self, f: tuple) -> bytes:
|
192
|
+
return _struct.pack(self.fmt, *f)
|
193
|
+
|
194
|
+
def backward(self, t: bytes) -> tuple:
|
195
|
+
return _struct.unpack(self.fmt, t)
|
196
|
+
|
197
|
+
|
198
|
+
##
|
199
|
+
|
200
|
+
|
201
|
+
Object: ta.TypeAlias = FnPair[ta.Any, T]
|
202
|
+
ObjectStr: ta.TypeAlias = Object[str]
|
203
|
+
ObjectBytes: ta.TypeAlias = Object[bytes]
|
204
|
+
|
205
|
+
|
206
|
+
class Object_(FnPair[ta.Any, T], lang.Abstract): # noqa
|
207
|
+
pass
|
208
|
+
|
209
|
+
|
210
|
+
class ObjectStr_(Object_[str], lang.Abstract): # noqa
|
211
|
+
pass
|
212
|
+
|
213
|
+
|
214
|
+
class ObjectBytes_(Object_[bytes], lang.Abstract): # noqa
|
215
|
+
pass
|
@@ -2,7 +2,9 @@ import dataclasses as dc
|
|
2
2
|
import typing as ta
|
3
3
|
|
4
4
|
from ... import codecs
|
5
|
+
from ..generators import buffer_bytes_stepped_reader_generator
|
5
6
|
from .base import Compression
|
7
|
+
from .base import IncrementalCompression
|
6
8
|
|
7
9
|
|
8
10
|
##
|
@@ -22,6 +24,20 @@ class CompressionEagerCodec(codecs.EagerCodec[bytes, bytes]):
|
|
22
24
|
##
|
23
25
|
|
24
26
|
|
27
|
+
@dc.dataclass(frozen=True)
|
28
|
+
class CompressionIncrementalCodec(codecs.IncrementalCodec[bytes, bytes]):
|
29
|
+
compression: IncrementalCompression
|
30
|
+
|
31
|
+
def encode_incremental(self) -> ta.Generator[bytes | None, bytes, None]:
|
32
|
+
return self.compression.compress_incremental()
|
33
|
+
|
34
|
+
def decode_incremental(self) -> ta.Generator[bytes | None, bytes, None]:
|
35
|
+
return buffer_bytes_stepped_reader_generator(self.compression.decompress_incremental())
|
36
|
+
|
37
|
+
|
38
|
+
##
|
39
|
+
|
40
|
+
|
25
41
|
class CompressionCodec(codecs.Codec):
|
26
42
|
pass
|
27
43
|
|
@@ -40,6 +56,10 @@ def make_compression_codec(
|
|
40
56
|
output=bytes,
|
41
57
|
|
42
58
|
new=lambda *args, **kwargs: CompressionEagerCodec(cls(*args, **kwargs)),
|
59
|
+
|
60
|
+
new_incremental=(
|
61
|
+
lambda *args, **kwargs: CompressionIncrementalCodec(cls(*args, **kwargs)) # noqa
|
62
|
+
) if issubclass(cls, IncrementalCompression) else None,
|
43
63
|
)
|
44
64
|
|
45
65
|
|
@@ -151,18 +151,32 @@ def read_into_str_stepped_generator(
|
|
151
151
|
def buffer_bytes_stepped_reader_generator(g: BytesSteppedReaderGenerator) -> BytesSteppedGenerator:
|
152
152
|
o = g.send(None)
|
153
153
|
buf: ta.Any = None
|
154
|
+
eof = False
|
154
155
|
|
155
156
|
while True:
|
157
|
+
if eof:
|
158
|
+
raise EOFError
|
159
|
+
|
156
160
|
if not buf:
|
157
161
|
buf = check.isinstance((yield None), bytes)
|
162
|
+
if not buf:
|
163
|
+
eof = True
|
158
164
|
|
159
|
-
if o is None
|
165
|
+
if o is None:
|
160
166
|
i = buf
|
167
|
+
buf = None
|
168
|
+
|
161
169
|
elif isinstance(o, int):
|
162
|
-
|
163
|
-
|
170
|
+
while len(buf) < o:
|
171
|
+
more = check.isinstance((yield None), bytes)
|
172
|
+
if not more:
|
173
|
+
raise EOFError
|
174
|
+
# FIXME: lol - share guts with readers
|
175
|
+
buf += more
|
176
|
+
|
164
177
|
i = buf[:o]
|
165
178
|
buf = buf[o:]
|
179
|
+
|
166
180
|
else:
|
167
181
|
raise TypeError(o)
|
168
182
|
|
@@ -171,5 +185,7 @@ def buffer_bytes_stepped_reader_generator(g: BytesSteppedReaderGenerator) -> Byt
|
|
171
185
|
i = None
|
172
186
|
if isinstance(o, bytes):
|
173
187
|
check.none((yield o))
|
188
|
+
if not o:
|
189
|
+
return
|
174
190
|
else:
|
175
191
|
break
|
@@ -0,0 +1,24 @@
|
|
1
|
+
from .iterators import ( # noqa
|
2
|
+
PeekIterator,
|
3
|
+
PrefetchIterator,
|
4
|
+
ProxyIterator,
|
5
|
+
RetainIterator,
|
6
|
+
)
|
7
|
+
|
8
|
+
from .recipes import ( # noqa
|
9
|
+
sliding_window,
|
10
|
+
)
|
11
|
+
|
12
|
+
from .tools import ( # noqa
|
13
|
+
chunk,
|
14
|
+
expand_indexed_pairs,
|
15
|
+
merge_on,
|
16
|
+
take,
|
17
|
+
unzip,
|
18
|
+
)
|
19
|
+
|
20
|
+
from .unique import ( # noqa
|
21
|
+
UniqueItem,
|
22
|
+
UniqueIterator,
|
23
|
+
UniqueStats,
|
24
|
+
)
|
@@ -0,0 +1,132 @@
|
|
1
|
+
import collections
|
2
|
+
import typing as ta
|
3
|
+
|
4
|
+
|
5
|
+
T = ta.TypeVar('T')
|
6
|
+
|
7
|
+
|
8
|
+
_MISSING = object()
|
9
|
+
|
10
|
+
|
11
|
+
class PeekIterator(ta.Iterator[T]):
|
12
|
+
|
13
|
+
def __init__(self, it: ta.Iterable[T]) -> None:
|
14
|
+
super().__init__()
|
15
|
+
|
16
|
+
self._it = iter(it)
|
17
|
+
self._pos = -1
|
18
|
+
self._next_item: ta.Any = _MISSING
|
19
|
+
|
20
|
+
_item: T
|
21
|
+
|
22
|
+
def __iter__(self) -> ta.Self:
|
23
|
+
return self
|
24
|
+
|
25
|
+
@property
|
26
|
+
def done(self) -> bool:
|
27
|
+
try:
|
28
|
+
self.peek()
|
29
|
+
except StopIteration:
|
30
|
+
return True
|
31
|
+
else:
|
32
|
+
return False
|
33
|
+
|
34
|
+
def __next__(self) -> T:
|
35
|
+
if self._next_item is not _MISSING:
|
36
|
+
self._item = ta.cast(T, self._next_item)
|
37
|
+
self._next_item = _MISSING
|
38
|
+
else:
|
39
|
+
self._item = next(self._it)
|
40
|
+
self._pos += 1
|
41
|
+
return self._item
|
42
|
+
|
43
|
+
def peek(self) -> T:
|
44
|
+
if self._next_item is not _MISSING:
|
45
|
+
return ta.cast(T, self._next_item)
|
46
|
+
self._next_item = next(self._it)
|
47
|
+
return self._next_item
|
48
|
+
|
49
|
+
def next_peek(self) -> T:
|
50
|
+
next(self)
|
51
|
+
return self.peek()
|
52
|
+
|
53
|
+
def takewhile(self, fn: ta.Callable[[T], bool]) -> ta.Iterator[T]:
|
54
|
+
while fn(self.peek()):
|
55
|
+
yield next(self)
|
56
|
+
|
57
|
+
def skipwhile(self, fn: ta.Callable[[T], bool]) -> None:
|
58
|
+
while fn(self.peek()):
|
59
|
+
next(self)
|
60
|
+
|
61
|
+
def takeuntil(self, fn: ta.Callable[[T], bool]) -> ta.Iterator[T]:
|
62
|
+
return self.takewhile(lambda e: not fn(e))
|
63
|
+
|
64
|
+
def skipuntil(self, fn: ta.Callable[[T], bool]) -> None:
|
65
|
+
self.skipwhile(lambda e: not fn(e))
|
66
|
+
|
67
|
+
def takethrough(self, pos: int) -> ta.Iterator[T]:
|
68
|
+
return self.takewhile(lambda _: self._pos < pos)
|
69
|
+
|
70
|
+
def skipthrough(self, pos: int) -> None:
|
71
|
+
self.skipwhile(lambda _: self._pos < pos)
|
72
|
+
|
73
|
+
def taketo(self, pos: int) -> ta.Iterator[T]:
|
74
|
+
return self.takethrough(pos - 1)
|
75
|
+
|
76
|
+
def skipto(self, pos: int) -> None:
|
77
|
+
self.skipthrough(pos - 1)
|
78
|
+
|
79
|
+
|
80
|
+
class ProxyIterator(ta.Iterator[T]):
|
81
|
+
|
82
|
+
def __init__(self, fn: ta.Callable[[], T]) -> None:
|
83
|
+
self._fn = fn
|
84
|
+
|
85
|
+
def __iter__(self) -> ta.Self:
|
86
|
+
return self
|
87
|
+
|
88
|
+
def __next__(self) -> T:
|
89
|
+
return self._fn()
|
90
|
+
|
91
|
+
|
92
|
+
class PrefetchIterator(ta.Iterator[T]):
|
93
|
+
|
94
|
+
def __init__(self, fn: ta.Callable[[], T] | None = None) -> None:
|
95
|
+
super().__init__()
|
96
|
+
|
97
|
+
self._fn = fn
|
98
|
+
self._deque: collections.deque[T] = collections.deque()
|
99
|
+
|
100
|
+
def __iter__(self) -> ta.Self:
|
101
|
+
return self
|
102
|
+
|
103
|
+
def push(self, item) -> None:
|
104
|
+
self._deque.append(item)
|
105
|
+
|
106
|
+
def __next__(self) -> T:
|
107
|
+
try:
|
108
|
+
return self._deque.popleft()
|
109
|
+
except IndexError:
|
110
|
+
if self._fn is None:
|
111
|
+
raise StopIteration from None
|
112
|
+
return self._fn()
|
113
|
+
|
114
|
+
|
115
|
+
class RetainIterator(ta.Iterator[T]):
|
116
|
+
|
117
|
+
def __init__(self, fn: ta.Callable[[], T]) -> None:
|
118
|
+
super().__init__()
|
119
|
+
|
120
|
+
self._fn = fn
|
121
|
+
self._deque: collections.deque[T] = collections.deque()
|
122
|
+
|
123
|
+
def __iter__(self) -> ta.Self:
|
124
|
+
return self
|
125
|
+
|
126
|
+
def pop(self) -> None:
|
127
|
+
self._deque.popleft()
|
128
|
+
|
129
|
+
def __next__(self) -> T:
|
130
|
+
item = self._fn()
|
131
|
+
self._deque.append(item)
|
132
|
+
return item
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""
|
2
|
+
https://docs.python.org/3/library/itertools.html#itertools-recipes
|
3
|
+
"""
|
4
|
+
import collections
|
5
|
+
import itertools
|
6
|
+
import typing as ta
|
7
|
+
|
8
|
+
|
9
|
+
T = ta.TypeVar('T')
|
10
|
+
|
11
|
+
|
12
|
+
def sliding_window(it: ta.Iterable[T], n: int) -> ta.Iterator[tuple[T, ...]]:
|
13
|
+
# sliding_window('ABCDEFG', 4) -> ABCD BCDE CDEF DEFG
|
14
|
+
iterator = iter(it)
|
15
|
+
window = collections.deque(itertools.islice(iterator, n - 1), maxlen=n)
|
16
|
+
for x in iterator:
|
17
|
+
window.append(x)
|
18
|
+
yield tuple(window)
|