Improved docs

This commit is contained in:
Sven Heidemann 2021-11-02 17:45:45 +01:00
parent ca086e01d7
commit 58dccea28b
16 changed files with 691 additions and 65 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -43,9 +43,9 @@
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="cpl_query.html">Query Reference</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">cpl_query.extension</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#cpl-query-extension-iterable-abc">cpl_query.extension.iterable_abc</a></li>
<li class="toctree-l3"><a class="reference internal" href="#cpl-query-extension-list">cpl_query.extension.list</a></li>
<li class="toctree-l3"><a class="reference internal" href="#cpl-query-extension-ordered-iterable-abc">cpl_query.extension.ordered_iterable_abc</a></li>
<li class="toctree-l3"><a class="reference internal" href="#module-cpl_query.extension.iterable_abc">cpl_query.extension.iterable_abc</a></li>
<li class="toctree-l3"><a class="reference internal" href="#module-cpl_query.extension.list">cpl_query.extension.list</a></li>
<li class="toctree-l3"><a class="reference internal" href="#module-cpl_query.extension.ordered_iterable_abc">cpl_query.extension.ordered_iterable_abc</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.exceptions.html">cpl_query.exceptions</a></li>
@ -80,14 +80,211 @@
<div class="section" id="cpl-query-extension">
<h1>cpl_query.extension<a class="headerlink" href="#cpl-query-extension" title="Permalink to this headline"></a></h1>
<div class="section" id="cpl-query-extension-iterable-abc">
<h2>cpl_query.extension.iterable_abc<a class="headerlink" href="#cpl-query-extension-iterable-abc" title="Permalink to this headline"></a></h2>
<div class="section" id="module-cpl_query.extension.iterable_abc">
<span id="cpl-query-extension-iterable-abc"></span><h2>cpl_query.extension.iterable_abc<a class="headerlink" href="#module-cpl_query.extension.iterable_abc" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">cpl_query.extension.iterable_abc.</span></span><span class="sig-name descname"><span class="pre">IterableABC</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">t</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">type</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">values</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">list</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.all">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">all</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.all" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.any">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">any</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.append">
<span class="sig-name descname"><span class="pre">append</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">_IterableABC__object</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">object</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.append" title="Permalink to this definition"></a></dt>
<dd><p>Append object to the end of the list.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.average">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">average</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Callable</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span> </span><span class="pre">float</span><span class="p"><span class="pre">,</span> </span><span class="pre">complex</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.average" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.contains">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">contains</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">object</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">bool</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.contains" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.count">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">count</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">int</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.count" title="Permalink to this definition"></a></dt>
<dd><p>Return number of occurrences of value.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.distinct">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">distinct</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.distinct" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.element_at">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">element_at</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.element_at" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.element_at_or_default">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">element_at_or_default</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.element_at_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.extend">
<span class="sig-name descname"><span class="pre">extend</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">_IterableABC__iterable</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Iterable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.extend" title="Permalink to this definition"></a></dt>
<dd><p>Extend list by appending elements from the iterable.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.first">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">first</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.first" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.first_or_default">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">first_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.first_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.for_each">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">for_each</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span> </span><span class="pre">float</span><span class="p"><span class="pre">,</span> </span><span class="pre">complex</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.for_each" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.last">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">last</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.last" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.last_or_default">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">last_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.last_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.max">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">max</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Callable</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span> </span><span class="pre">float</span><span class="p"><span class="pre">,</span> </span><span class="pre">complex</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.max" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.min">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">min</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Callable</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span> </span><span class="pre">float</span><span class="p"><span class="pre">,</span> </span><span class="pre">complex</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.min" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.order_by">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">order_by</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.order_by" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.order_by_descending">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">order_by_descending</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.order_by_descending" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.reverse">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">reverse</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.reverse" title="Permalink to this definition"></a></dt>
<dd><p>Reverse <em>IN PLACE</em>.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.single">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">single</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.single" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.single_or_default">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">single_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.any" title="cpl_query.extension.iterable_abc.IterableABC.any"><span class="pre">cpl_query.extension.iterable_abc.IterableABC.any</span></a><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.single_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.skip">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">skip</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.skip" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.skip_last">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">skip_last</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.skip_last" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.sum">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Callable</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">,</span> </span><span class="pre">float</span><span class="p"><span class="pre">,</span> </span><span class="pre">complex</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.sum" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.take">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">take</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.take" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.take_last">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">take_last</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.take_last" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.to_list">
<span class="sig-name descname"><span class="pre">to_list</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">list</span></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.to_list" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py property">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.type">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">type</span></span><em class="property"><span class="pre">:</span> <a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC.type" title="cpl_query.extension.iterable_abc.IterableABC.type"><span class="pre">type</span></a></em><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.type" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.iterable_abc.IterableABC.where">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">where</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.iterable_abc.IterableABC.where" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="cpl-query-extension-list">
<h2>cpl_query.extension.list<a class="headerlink" href="#cpl-query-extension-list" title="Permalink to this headline"></a></h2>
<div class="section" id="module-cpl_query.extension.list">
<span id="cpl-query-extension-list"></span><h2>cpl_query.extension.list<a class="headerlink" href="#module-cpl_query.extension.list" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="cpl_query.extension.list.List">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">cpl_query.extension.list.</span></span><span class="sig-name descname"><span class="pre">List</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">t</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">type</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">values</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">list</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.extension.list.List" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">cpl_query.extension.iterable.Iterable</span></code></p>
<p>Implementation of :class: <cite>cpl_query.extension.iterable.Iterable</cite></p>
</dd></dl>
</div>
<div class="section" id="cpl-query-extension-ordered-iterable-abc">
<h2>cpl_query.extension.ordered_iterable_abc<a class="headerlink" href="#cpl-query-extension-ordered-iterable-abc" title="Permalink to this headline"></a></h2>
<div class="section" id="module-cpl_query.extension.ordered_iterable_abc">
<span id="cpl-query-extension-ordered-iterable-abc"></span><h2>cpl_query.extension.ordered_iterable_abc<a class="headerlink" href="#module-cpl_query.extension.ordered_iterable_abc" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="cpl_query.extension.ordered_iterable_abc.OrderedIterableABC">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">cpl_query.extension.ordered_iterable_abc.</span></span><span class="sig-name descname"><span class="pre">OrderedIterableABC</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">_func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">collections.abc.Callable</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#cpl_query.extension.iterable_abc.IterableABC" title="cpl_query.extension.iterable_abc.IterableABC"><code class="xref py py-class docutils literal notranslate"><span class="pre">cpl_query.extension.iterable_abc.IterableABC</span></code></a></p>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.ordered_iterable_abc.OrderedIterableABC.then_by">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">then_by</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">collections.abc.Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC" title="cpl_query.extension.ordered_iterable_abc.OrderedIterableABC"><span class="pre">cpl_query.extension.ordered_iterable_abc.OrderedIterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC.then_by" title="Permalink to this definition"></a></dt>
<dd><p>Sorts OrderedList in ascending order by function</p>
<blockquote>
<div><p>func: <code class="xref py py-class docutils literal notranslate"><span class="pre">Callable</span></code></p>
</div></blockquote>
<blockquote>
<div><p>list of <code class="xref py py-class docutils literal notranslate"><span class="pre">cpl_query.extension.OrderedIterableABC</span></code></p>
</div></blockquote>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.extension.ordered_iterable_abc.OrderedIterableABC.then_by_descending">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">then_by_descending</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">collections.abc.Callable</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC" title="cpl_query.extension.ordered_iterable_abc.OrderedIterableABC"><span class="pre">cpl_query.extension.ordered_iterable_abc.OrderedIterableABC</span></a></span></span><a class="headerlink" href="#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC.then_by_descending" title="Permalink to this definition"></a></dt>
<dd><p>Sorts OrderedList in descending order by function</p>
<blockquote>
<div><p>func: <code class="xref py py-class docutils literal notranslate"><span class="pre">Callable</span></code></p>
</div></blockquote>
<blockquote>
<div><p>list of <code class="xref py py-class docutils literal notranslate"><span class="pre">cpl_query.extension.OrderedIterableABC</span></code></p>
</div></blockquote>
</dd></dl>
</dd></dl>
</div>
</div>

View File

@ -77,9 +77,9 @@
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="cpl_query.extension.html">cpl_query.extension</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html#cpl-query-extension-iterable-abc">cpl_query.extension.iterable_abc</a></li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html#cpl-query-extension-list">cpl_query.extension.list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html#cpl-query-extension-ordered-iterable-abc">cpl_query.extension.ordered_iterable_abc</a></li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html#module-cpl_query.extension.iterable_abc">cpl_query.extension.iterable_abc</a></li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html#module-cpl_query.extension.list">cpl_query.extension.list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html#module-cpl_query.extension.ordered_iterable_abc">cpl_query.extension.ordered_iterable_abc</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cpl_query.exceptions.html">cpl_query.exceptions</a><ul>

View File

@ -71,8 +71,25 @@
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="cpl-query-tests-iterable-test-module">
<h2>cpl_query.tests.iterable_test module<a class="headerlink" href="#cpl-query-tests-iterable-test-module" title="Permalink to this headline"></a></h2>
<div class="section" id="module-cpl_query.tests.iterable_test">
<span id="cpl-query-tests-iterable-test-module"></span><h2>cpl_query.tests.iterable_test module<a class="headerlink" href="#module-cpl_query.tests.iterable_test" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="cpl_query.tests.iterable_test.IterableTest">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">cpl_query.tests.iterable_test.</span></span><span class="sig-name descname"><span class="pre">IterableTest</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.iterable_test.IterableTest" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.iterable_test.IterableTest.setUp">
<span class="sig-name descname"><span class="pre">setUp</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#cpl_query.tests.iterable_test.IterableTest.setUp" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.iterable_test.IterableTest.test_append">
<span class="sig-name descname"><span class="pre">test_append</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.iterable_test.IterableTest.test_append" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-cpl_query.tests.models">
<span id="cpl-query-tests-models-module"></span><h2>cpl_query.tests.models module<a class="headerlink" href="#module-cpl_query.tests.models" title="Permalink to this headline"></a></h2>
@ -89,11 +106,179 @@
</dd></dl>
</div>
<div class="section" id="cpl-query-tests-query-test-module">
<h2>cpl_query.tests.query_test module<a class="headerlink" href="#cpl-query-tests-query-test-module" title="Permalink to this headline"></a></h2>
<div class="section" id="module-cpl_query.tests.query_test">
<span id="cpl-query-tests-query-test-module"></span><h2>cpl_query.tests.query_test module<a class="headerlink" href="#module-cpl_query.tests.query_test" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">cpl_query.tests.query_test.</span></span><span class="sig-name descname"><span class="pre">QueryTest</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.setUp">
<span class="sig-name descname"><span class="pre">setUp</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.setUp" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_all">
<span class="sig-name descname"><span class="pre">test_all</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_all" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_any">
<span class="sig-name descname"><span class="pre">test_any</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_any" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_avg">
<span class="sig-name descname"><span class="pre">test_avg</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_avg" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_contains">
<span class="sig-name descname"><span class="pre">test_contains</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_contains" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_count">
<span class="sig-name descname"><span class="pre">test_count</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_count" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_distinct">
<span class="sig-name descname"><span class="pre">test_distinct</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_distinct" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_element_at">
<span class="sig-name descname"><span class="pre">test_element_at</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_element_at" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_element_at_or_default">
<span class="sig-name descname"><span class="pre">test_element_at_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_element_at_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_first">
<span class="sig-name descname"><span class="pre">test_first</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_first" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_first_or_default">
<span class="sig-name descname"><span class="pre">test_first_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_first_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_for_each">
<span class="sig-name descname"><span class="pre">test_for_each</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_for_each" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_last">
<span class="sig-name descname"><span class="pre">test_last</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_last" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_last_or_default">
<span class="sig-name descname"><span class="pre">test_last_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_last_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_max">
<span class="sig-name descname"><span class="pre">test_max</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_max" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_min">
<span class="sig-name descname"><span class="pre">test_min</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_min" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_order_by">
<span class="sig-name descname"><span class="pre">test_order_by</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_order_by" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_order_by_descending">
<span class="sig-name descname"><span class="pre">test_order_by_descending</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_order_by_descending" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_reverse">
<span class="sig-name descname"><span class="pre">test_reverse</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_reverse" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_single">
<span class="sig-name descname"><span class="pre">test_single</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_single" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_single_or_default">
<span class="sig-name descname"><span class="pre">test_single_or_default</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_single_or_default" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_skip">
<span class="sig-name descname"><span class="pre">test_skip</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_skip" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_skip_last">
<span class="sig-name descname"><span class="pre">test_skip_last</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_skip_last" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_sum">
<span class="sig-name descname"><span class="pre">test_sum</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_sum" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_take">
<span class="sig-name descname"><span class="pre">test_take</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_take" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_take_last">
<span class="sig-name descname"><span class="pre">test_take_last</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_take_last" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_then_by">
<span class="sig-name descname"><span class="pre">test_then_by</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_then_by" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_then_by_descending">
<span class="sig-name descname"><span class="pre">test_then_by_descending</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_then_by_descending" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.query_test.QueryTest.test_where">
<span class="sig-name descname"><span class="pre">test_where</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.query_test.QueryTest.test_where" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="cpl-query-tests-tester-module">
<h2>cpl_query.tests.tester module<a class="headerlink" href="#cpl-query-tests-tester-module" title="Permalink to this headline"></a></h2>
<div class="section" id="module-cpl_query.tests.tester">
<span id="cpl-query-tests-tester-module"></span><h2>cpl_query.tests.tester module<a class="headerlink" href="#module-cpl_query.tests.tester" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt class="sig sig-object py" id="cpl_query.tests.tester.Tester">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">cpl_query.tests.tester.</span></span><span class="sig-name descname"><span class="pre">Tester</span></span><a class="headerlink" href="#cpl_query.tests.tester.Tester" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.tester.Tester.create">
<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.tester.Tester.create" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="cpl_query.tests.tester.Tester.start">
<span class="sig-name descname"><span class="pre">start</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cpl_query.tests.tester.Tester.start" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-cpl_query.tests">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-cpl_query.tests" title="Permalink to this headline"></a></h2>

View File

@ -83,6 +83,7 @@
| <a href="#N"><strong>N</strong></a>
| <a href="#O"><strong>O</strong></a>
| <a href="#P"><strong>P</strong></a>
| <a href="#Q"><strong>Q</strong></a>
| <a href="#R"><strong>R</strong></a>
| <a href="#S"><strong>S</strong></a>
| <a href="#T"><strong>T</strong></a>
@ -153,14 +154,14 @@
<li><a href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC.add_singleton">(cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_collection.ServiceCollection.add_transient">add_transient() (cpl_core.dependency_injection.service_collection.ServiceCollection method)</a>
<ul>
<li><a href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC.add_transient">(cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.configuration.html#cpl_core.configuration.configuration.Configuration.additional_arguments">additional_arguments (cpl_core.configuration.configuration.Configuration property)</a>
<ul>
@ -170,6 +171,12 @@
<li><a href="cpl_query.tests.html#cpl_query.tests.models.Address">Address (class in cpl_query.tests.models)</a>
</li>
<li><a href="cpl_core.configuration.html#cpl_core.configuration.console_argument.ConsoleArgument.aliases">aliases (cpl_core.configuration.console_argument.ConsoleArgument property)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.all">all() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.any">any() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.append">append() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.environment.html#cpl_core.environment.application_environment.ApplicationEnvironment.application_name">application_name (cpl_core.environment.application_environment.ApplicationEnvironment property)</a>
@ -203,6 +210,8 @@
<li><a href="cpl_core.database.html#cpl_core.database.database_settings_name_enum.DatabaseSettingsNameEnum.auth_plugin">(cpl_core.database.database_settings_name_enum.DatabaseSettingsNameEnum attribute)</a>
</li>
</ul></li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.average">average() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
</ul></td>
</tr></table>
@ -310,10 +319,14 @@
<li><a href="cpl_core.configuration.html#cpl_core.configuration.console_argument.ConsoleArgument">ConsoleArgument (class in cpl_core.configuration.console_argument)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.console_call.ConsoleCall">ConsoleCall (class in cpl_core.console.console_call)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.contains">contains() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.utils.html#cpl_core.utils.string.String.convert_to_camel_case">convert_to_camel_case() (cpl_core.utils.string.String static method)</a>
</li>
<li><a href="cpl_core.utils.html#cpl_core.utils.string.String.convert_to_snake_case">convert_to_snake_case() (cpl_core.utils.string.String static method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.count">count() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li>
cpl_core.application.application_abc
@ -455,8 +468,6 @@
<li><a href="cpl_core.database.html#module-cpl_core.database.database_settings">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
cpl_core.database.database_settings_name_enum
@ -478,6 +489,8 @@
<li><a href="cpl_core.dependency_injection.html#module-cpl_core.dependency_injection.service_collection_abc">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
cpl_core.dependency_injection.service_descriptor
@ -637,6 +650,27 @@
<ul>
<li><a href="cpl_query.exceptions.html#module-cpl_query.exceptions">module</a>
</li>
</ul></li>
<li>
cpl_query.extension.iterable_abc
<ul>
<li><a href="cpl_query.extension.html#module-cpl_query.extension.iterable_abc">module</a>
</li>
</ul></li>
<li>
cpl_query.extension.list
<ul>
<li><a href="cpl_query.extension.html#module-cpl_query.extension.list">module</a>
</li>
</ul></li>
<li>
cpl_query.extension.ordered_iterable_abc
<ul>
<li><a href="cpl_query.extension.html#module-cpl_query.extension.ordered_iterable_abc">module</a>
</li>
</ul></li>
<li>
@ -644,6 +678,13 @@
<ul>
<li><a href="cpl_query.tests.html#module-cpl_query.tests">module</a>
</li>
</ul></li>
<li>
cpl_query.tests.iterable_test
<ul>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.iterable_test">module</a>
</li>
</ul></li>
<li>
@ -651,12 +692,28 @@
<ul>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.models">module</a>
</li>
</ul></li>
<li>
cpl_query.tests.query_test
<ul>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.query_test">module</a>
</li>
</ul></li>
<li>
cpl_query.tests.tester
<ul>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.tester">module</a>
</li>
</ul></li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_service.Logger.create">create() (cpl_core.logging.logger_service.Logger method)</a>
<ul>
<li><a href="cpl_core.mailing.html#cpl_core.mailing.email_client_service.EMailClient.create">(cpl_core.mailing.email_client_service.EMailClient method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.tester.Tester.create">(cpl_query.tests.tester.Tester method)</a>
</li>
</ul></li>
<li><a href="cpl_core.utils.html#cpl_core.utils.credential_manager.CredentialManager">CredentialManager (class in cpl_core.utils.credential_manager)</a>
@ -748,6 +805,8 @@
<li><a href="cpl_core.environment.html#cpl_core.environment.environment_name_enum.EnvironmentNameEnum.development">development (cpl_core.environment.environment_name_enum.EnvironmentNameEnum attribute)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.disable">disable() (cpl_core.console.console.Console class method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.distinct">distinct() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
</ul></td>
</tr></table>
@ -761,6 +820,10 @@
<li><a href="cpl_core.database.html#cpl_core.database.database_settings_name_enum.DatabaseSettingsNameEnum.echo">(cpl_core.database.database_settings_name_enum.DatabaseSettingsNameEnum attribute)</a>
</li>
</ul></li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.element_at">element_at() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.element_at_or_default">element_at_or_default() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.mailing.html#cpl_core.mailing.email.EMail">EMail (class in cpl_core.mailing.email)</a>
</li>
<li><a href="cpl_core.mailing.html#cpl_core.mailing.email_client_service.EMailClient">EMailClient (class in cpl_core.mailing.email_client_service)</a>
@ -828,6 +891,8 @@
<li><a href="cpl_query.exceptions.html#cpl_query.exceptions.ExceptionArgument">ExceptionArgument (class in cpl_query.exceptions)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.spinner_thread.SpinnerThread.exit">exit() (cpl_core.console.spinner_thread.SpinnerThread method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.extend">extend() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
</ul></td>
</tr></table>
@ -851,12 +916,18 @@
<li><a href="cpl_core.logging.html#cpl_core.logging.logging_settings_name_enum.LoggingSettingsNameEnum.filename">(cpl_core.logging.logging_settings_name_enum.LoggingSettingsNameEnum attribute)</a>
</li>
</ul></li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.first">first() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.first_or_default">first_or_default() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.utils.html#cpl_core.utils.string.String.first_to_lower">first_to_lower() (cpl_core.utils.string.String static method)</a>
</li>
<li><a href="cpl_core.utils.html#cpl_core.utils.string.String.first_to_upper">first_to_upper() (cpl_core.utils.string.String static method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.for_each">for_each() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.foreground_color">foreground_color (cpl_core.console.console.Console property)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.foreground_color_enum.ForegroundColorEnum">ForegroundColorEnum (class in cpl_core.console.foreground_color_enum)</a>
@ -961,19 +1032,23 @@
</li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logging_level_enum.LoggingLevelEnum.INFO">INFO (cpl_core.logging.logging_level_enum.LoggingLevelEnum attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_abc.LoggerABC.info">info() (cpl_core.logging.logger_abc.LoggerABC method)</a>
<ul>
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_service.Logger.info">(cpl_core.logging.logger_service.Logger method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.utils.html#cpl_core.utils.pip.Pip.install">install() (cpl_core.utils.pip.Pip class method)</a>
</li>
<li><a href="cpl_query.exceptions.html#cpl_query.exceptions.InvalidTypeException">InvalidTypeException</a>
</li>
<li><a href="cpl_core.configuration.html#cpl_core.configuration.console_argument.ConsoleArgument.is_value_token_optional">is_value_token_optional (cpl_core.configuration.console_argument.ConsoleArgument property)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC">IterableABC (class in cpl_query.extension.iterable_abc)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.iterable_test.IterableTest">IterableTest (class in cpl_query.tests.iterable_test)</a>
</li>
</ul></td>
</tr></table>
@ -981,16 +1056,22 @@
<h2 id="L">L</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.last">last() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.last_or_default">last_or_default() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logging_settings.LoggingSettings.level">level (cpl_core.logging.logging_settings.LoggingSettings property)</a>
</li>
<li><a href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_descriptor.ServiceDescriptor.lifetime">lifetime (cpl_core.dependency_injection.service_descriptor.ServiceDescriptor property)</a>
</li>
<li><a href="cpl_query.exceptions.html#cpl_query.exceptions.ExceptionArgument.list">list (cpl_query.exceptions.ExceptionArgument attribute)</a>
<li><a href="cpl_query.extension.html#cpl_query.extension.list.List">List (class in cpl_query.extension.list)</a>
</li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_service.Logger">Logger (class in cpl_core.logging.logger_service)</a>
<li><a href="cpl_query.exceptions.html#cpl_query.exceptions.ExceptionArgument.list">list (cpl_query.exceptions.ExceptionArgument attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_service.Logger">Logger (class in cpl_core.logging.logger_service)</a>
</li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_abc.LoggerABC">LoggerABC (class in cpl_core.logging.logger_abc)</a>
</li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logging_level_enum.LoggingLevelEnum">LoggingLevelEnum (class in cpl_core.logging.logging_level_enum)</a>
@ -1014,6 +1095,10 @@
</li>
</ul></li>
<li><a href="cpl_core.application.html#cpl_core.application.application_abc.ApplicationABC.main">main() (cpl_core.application.application_abc.ApplicationABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.max">max() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.min">min() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li>
module
@ -1110,10 +1195,22 @@
<li><a href="cpl_core.utils.html#module-cpl_core.utils.string">cpl_core.utils.string</a>
</li>
<li><a href="cpl_query.exceptions.html#module-cpl_query.exceptions">cpl_query.exceptions</a>
</li>
<li><a href="cpl_query.extension.html#module-cpl_query.extension.iterable_abc">cpl_query.extension.iterable_abc</a>
</li>
<li><a href="cpl_query.extension.html#module-cpl_query.extension.list">cpl_query.extension.list</a>
</li>
<li><a href="cpl_query.extension.html#module-cpl_query.extension.ordered_iterable_abc">cpl_query.extension.ordered_iterable_abc</a>
</li>
<li><a href="cpl_query.tests.html#module-cpl_query.tests">cpl_query.tests</a>
</li>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.iterable_test">cpl_query.tests.iterable_test</a>
</li>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.models">cpl_query.tests.models</a>
</li>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.query_test">cpl_query.tests.query_test</a>
</li>
<li><a href="cpl_query.tests.html#module-cpl_query.tests.tester">cpl_query.tests.tester</a>
</li>
</ul></li>
</ul></td>
@ -1135,6 +1232,14 @@
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.logging.html#cpl_core.logging.logging_level_enum.LoggingLevelEnum.OFF">OFF (cpl_core.logging.logging_level_enum.LoggingLevelEnum attribute)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.order_by">order_by() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.order_by_descending">order_by_descending() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC">OrderedIterableABC (class in cpl_query.extension.ordered_iterable_abc)</a>
</li>
</ul></td>
</tr></table>
@ -1163,6 +1268,14 @@
</ul></td>
</tr></table>
<h2 id="Q">Q</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest">QueryTest (class in cpl_query.tests.query_test)</a>
</li>
</ul></td>
</tr></table>
<h2 id="R">R</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
@ -1187,6 +1300,8 @@
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.reset_cursor_position">reset_cursor_position() (cpl_core.console.console.Console class method)</a>
</li>
<li><a href="cpl_core.utils.html#cpl_core.utils.pip.Pip.reset_executable">reset_executable() (cpl_core.utils.pip.Pip class method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.reverse">reverse() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.application.html#cpl_core.application.application_abc.ApplicationABC.run">run() (cpl_core.application.application_abc.ApplicationABC method)</a>
@ -1248,8 +1363,6 @@
</ul></li>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.set_background_color">set_background_color() (cpl_core.console.console.Console class method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.set_cursor_position">set_cursor_position() (cpl_core.console.console.Console class method)</a>
</li>
<li><a href="cpl_core.utils.html#cpl_core.utils.pip.Pip.set_executable">set_executable() (cpl_core.utils.pip.Pip class method)</a>
@ -1258,6 +1371,8 @@
</li>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.set_hold_back">set_hold_back() (cpl_core.console.console.Console class method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.environment.html#cpl_core.environment.application_environment.ApplicationEnvironment.set_runtime_directory">set_runtime_directory() (cpl_core.environment.application_environment.ApplicationEnvironment method)</a>
<ul>
@ -1270,13 +1385,29 @@
<li><a href="cpl_core.environment.html#cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC.set_working_directory">(cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC method)</a>
</li>
</ul></li>
<li><a href="cpl_query.tests.html#cpl_query.tests.iterable_test.IterableTest.setUp">setUp() (cpl_query.tests.iterable_test.IterableTest method)</a>
<ul>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.setUp">(cpl_query.tests.query_test.QueryTest method)</a>
</li>
</ul></li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.single">single() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.single_or_default">single_or_default() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_lifetime_enum.ServiceLifetimeEnum.singleton">singleton (cpl_core.dependency_injection.service_lifetime_enum.ServiceLifetimeEnum attribute)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.skip">skip() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.skip_last">skip_last() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.spinner">spinner() (cpl_core.console.console.Console class method)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.spinner_thread.SpinnerThread">SpinnerThread (class in cpl_core.console.spinner_thread)</a>
</li>
<li><a href="cpl_core.environment.html#cpl_core.environment.environment_name_enum.EnvironmentNameEnum.staging">staging (cpl_core.environment.environment_name_enum.EnvironmentNameEnum attribute)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.tester.Tester.start">start() (cpl_query.tests.tester.Tester method)</a>
</li>
<li><a href="cpl_core.environment.html#cpl_core.environment.application_environment.ApplicationEnvironment.start_time">start_time (cpl_core.environment.application_environment.ApplicationEnvironment property)</a>
@ -1291,6 +1422,8 @@
<li><a href="cpl_core.utils.html#cpl_core.utils.string.String">String (class in cpl_core.utils.string)</a>
</li>
<li><a href="cpl_core.mailing.html#cpl_core.mailing.email.EMail.subject">subject (cpl_core.mailing.email.EMail property)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.sum">sum() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
</ul></td>
</tr></table>
@ -1299,8 +1432,78 @@
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.table">table() (cpl_core.console.console.Console class method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.take">take() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.take_last">take_last() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_all">test_all() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_any">test_any() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.iterable_test.IterableTest.test_append">test_append() (cpl_query.tests.iterable_test.IterableTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_avg">test_avg() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_contains">test_contains() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_count">test_count() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_distinct">test_distinct() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_element_at">test_element_at() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_element_at_or_default">test_element_at_or_default() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_first">test_first() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_first_or_default">test_first_or_default() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_for_each">test_for_each() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_last">test_last() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_last_or_default">test_last_or_default() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_max">test_max() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_min">test_min() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_order_by">test_order_by() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_order_by_descending">test_order_by_descending() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_reverse">test_reverse() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_single">test_single() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_single_or_default">test_single_or_default() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_skip">test_skip() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_skip_last">test_skip_last() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_sum">test_sum() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_take">test_take() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_take_last">test_take_last() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_then_by">test_then_by() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_then_by_descending">test_then_by_descending() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.query_test.QueryTest.test_where">test_where() (cpl_query.tests.query_test.QueryTest method)</a>
</li>
<li><a href="cpl_query.tests.html#cpl_query.tests.tester.Tester">Tester (class in cpl_query.tests.tester)</a>
</li>
<li><a href="cpl_core.environment.html#cpl_core.environment.environment_name_enum.EnvironmentNameEnum.testing">testing (cpl_core.environment.environment_name_enum.EnvironmentNameEnum attribute)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC.then_by">then_by() (cpl_query.extension.ordered_iterable_abc.OrderedIterableABC method)</a>
</li>
<li><a href="cpl_query.extension.html#cpl_query.extension.ordered_iterable_abc.OrderedIterableABC.then_by_descending">then_by_descending() (cpl_query.extension.ordered_iterable_abc.OrderedIterableABC method)</a>
</li>
<li><a href="cpl_core.time.html#cpl_core.time.time_format_settings.TimeFormatSettings.time_format">time_format (cpl_core.time.time_format_settings.TimeFormatSettings property)</a>
@ -1313,9 +1516,11 @@
<li><a href="cpl_core.time.html#cpl_core.time.time_format_settings_names_enum.TimeFormatSettingsNamesEnum">TimeFormatSettingsNamesEnum (class in cpl_core.time.time_format_settings_names_enum)</a>
</li>
<li><a href="cpl_core.configuration.html#cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum.to_list">to_list() (cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum static method)</a>
<ul>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.to_list">(cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
</ul></li>
<li><a href="cpl_core.configuration.html#cpl_core.configuration.console_argument.ConsoleArgument.token">token (cpl_core.configuration.console_argument.ConsoleArgument property)</a>
</li>
<li><a href="cpl_core.logging.html#cpl_core.logging.logging_level_enum.LoggingLevelEnum.TRACE">TRACE (cpl_core.logging.logging_level_enum.LoggingLevelEnum attribute)</a>
@ -1331,7 +1536,11 @@
<li><a href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_lifetime_enum.ServiceLifetimeEnum.transient">transient (cpl_core.dependency_injection.service_lifetime_enum.ServiceLifetimeEnum attribute)</a>
</li>
<li><a href="cpl_query.exceptions.html#cpl_query.exceptions.ExceptionArgument.type">type (cpl_query.exceptions.ExceptionArgument attribute)</a>
<ul>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.type">(cpl_query.extension.iterable_abc.IterableABC property)</a>
</li>
</ul></li>
</ul></td>
</tr></table>
@ -1384,20 +1593,22 @@
<li><a href="cpl_core.logging.html#cpl_core.logging.logger_service.Logger.warn">(cpl_core.logging.logger_service.Logger method)</a>
</li>
</ul></li>
<li><a href="cpl_query.extension.html#cpl_query.extension.iterable_abc.IterableABC.where">where() (cpl_query.extension.iterable_abc.IterableABC method)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.background_color_enum.BackgroundColorEnum.white">white (cpl_core.console.background_color_enum.BackgroundColorEnum attribute)</a>
<ul>
<li><a href="cpl_core.console.html#cpl_core.console.foreground_color_enum.ForegroundColorEnum.white">(cpl_core.console.foreground_color_enum.ForegroundColorEnum attribute)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.environment.html#cpl_core.environment.application_environment.ApplicationEnvironment.working_directory">working_directory (cpl_core.environment.application_environment.ApplicationEnvironment property)</a>
<ul>
<li><a href="cpl_core.environment.html#cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC.working_directory">(cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC property)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.write">write() (cpl_core.console.console.Console class method)</a>
</li>
<li><a href="cpl_core.console.html#cpl_core.console.console.Console.write_at">write_at() (cpl_core.console.console.Console class method)</a>

View File

@ -248,9 +248,9 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.extension.html">cpl_query.extension</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cpl_query.extension.html#cpl-query-extension-iterable-abc">cpl_query.extension.iterable_abc</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpl_query.extension.html#cpl-query-extension-list">cpl_query.extension.list</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpl_query.extension.html#cpl-query-extension-ordered-iterable-abc">cpl_query.extension.ordered_iterable_abc</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpl_query.extension.html#module-cpl_query.extension.iterable_abc">cpl_query.extension.iterable_abc</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpl_query.extension.html#module-cpl_query.extension.list">cpl_query.extension.list</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpl_query.extension.html#module-cpl_query.extension.ordered_iterable_abc">cpl_query.extension.ordered_iterable_abc</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cpl_query.exceptions.html">cpl_query.exceptions</a><ul>

Binary file not shown.

View File

@ -321,16 +321,46 @@
<td>&#160;&#160;&#160;
<a href="cpl_query.exceptions.html#module-cpl_query.exceptions"><code class="xref">cpl_query.exceptions</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.extension.html#module-cpl_query.extension.iterable_abc"><code class="xref">cpl_query.extension.iterable_abc</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.extension.html#module-cpl_query.extension.list"><code class="xref">cpl_query.extension.list</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.extension.html#module-cpl_query.extension.ordered_iterable_abc"><code class="xref">cpl_query.extension.ordered_iterable_abc</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.tests.html#module-cpl_query.tests"><code class="xref">cpl_query.tests</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.tests.html#module-cpl_query.tests.iterable_test"><code class="xref">cpl_query.tests.iterable_test</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.tests.html#module-cpl_query.tests.models"><code class="xref">cpl_query.tests.models</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.tests.html#module-cpl_query.tests.query_test"><code class="xref">cpl_query.tests.query_test</code></a></td><td>
<em></em></td></tr>
<tr class="cg-2">
<td></td>
<td>&#160;&#160;&#160;
<a href="cpl_query.tests.html#module-cpl_query.tests.tester"><code class="xref">cpl_query.tests.tester</code></a></td><td>
<em></em></td></tr>
</table>

File diff suppressed because one or more lines are too long

View File

@ -20,11 +20,11 @@ __version__ = '2021.10.0.post1'
from collections import namedtuple
# imports:
from iterable_abc import IterableABC
from iterable import Iterable
from list import List
from ordered_iterable_abc import OrderedIterableABC
from ordered_iterable import OrderedIterable
from .iterable_abc import IterableABC
from .iterable import Iterable
from .list import List
from .ordered_iterable_abc import OrderedIterableABC
from .ordered_iterable import OrderedIterable
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major='2021', minor='10', micro='0.post1')

View File

@ -1,23 +1,26 @@
from typing import Optional, Callable, Union
from typing import Callable, Optional, Union
from cpl_query.extension.ordered_iterable_abc import OrderedIterableABC
from .._query.all import all_query
from .._query.any import any_query
from .._query.avg import avg_query
from .._query.contains import contains_query
from .._query.count import count_query
from .._query.distinct import distinct_query
from .._query.element_at import element_at_query, element_at_or_default_query
from .._query.first_last import first_or_default_query, first_query, last_or_default_query, last_query
from .._query.for_each import for_each_query
from .._query.max_min import max_query, min_query
from .._query.order_by import order_by_query, order_by_descending_query
from .._query.reverse import reverse_query
from .._query.single import single_query, single_or_default_query
from .._query.skip_take import skip_query, skip_last_query, take_query, take_last_query
from .._query.sum import sum_query
from .._query.where import where_query
from cpl_query._query.all import all_query
from cpl_query._query.any import any_query
from cpl_query._query.avg import avg_query
from cpl_query._query.contains import contains_query
from cpl_query._query.count import count_query
from cpl_query._query.distinct import distinct_query
from cpl_query._query.element_at import (element_at_or_default_query,
element_at_query)
from cpl_query._query.first_last import (first_or_default_query, first_query,
last_or_default_query, last_query)
from cpl_query._query.for_each import for_each_query
from cpl_query._query.max_min import max_query, min_query
from cpl_query._query.order_by import order_by_descending_query, order_by_query
from cpl_query._query.reverse import reverse_query
from cpl_query._query.single import single_or_default_query, single_query
from cpl_query._query.skip_take import (skip_last_query, skip_query,
take_last_query, take_query)
from cpl_query._query.sum import sum_query
from cpl_query._query.where import where_query
from cpl_query.extension.iterable_abc import IterableABC
from cpl_query.extension.ordered_iterable_abc import OrderedIterableABC
class Iterable(IterableABC):

View File

@ -1,8 +1,8 @@
from iterable import Iterable
from cpl_query.extension.iterable import Iterable
class List(Iterable):
r"""Implementation of :class: `cpl_query.extension.Iterable`
r"""Implementation of :class: `cpl_query.extension.iterable.Iterable`
"""
def __init__(self, t: type = None, values: list = None):

View File

@ -1,8 +1,8 @@
from collections import Callable
from iterable import Iterable
from .._query.order_by import then_by_query, then_by_descending_query
from ordered_iterable_abc import OrderedIterableABC
from cpl_query._query.order_by import then_by_descending_query, then_by_query
from cpl_query.extension.iterable import Iterable
from cpl_query.extension.ordered_iterable_abc import OrderedIterableABC
class OrderedIterable(Iterable, OrderedIterableABC):

View File

@ -1,7 +1,7 @@
from abc import abstractmethod
from collections import Callable
from iterable_abc import IterableABC
from cpl_query.extension.iterable_abc import IterableABC
class OrderedIterableABC(IterableABC):