18.6 KB
/srv/reproducible-results/rbuild-debian/r-b-build.868HlaJH/b1/python-cyclopts_3.1.2-2_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.868HlaJH/b2/python-cyclopts_3.1.2-2_i386.changes
300 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·fcf1c184ca8a41cc9e5ffdb3f2464425·247872·doc·optional·python-cyclopts-doc_3.1.2-2_all.deb1 ·bcb7f7de1134cb4e72e3bf5f162b3336·247856·doc·optional·python-cyclopts-doc_3.1.2-2_all.deb
2 ·2417b3a97be773cf11d661abdee43a86·48056·python·optional·python3-cyclopts_3.1.2-2_all.deb2 ·2417b3a97be773cf11d661abdee43a86·48056·python·optional·python3-cyclopts_3.1.2-2_all.deb
18.1 KB
python-cyclopts-doc_3.1.2-2_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2025-01-19·20:16:24.000000·debian-binary1 -rw-r--r--···0········0········0········4·2025-01-19·20:16:24.000000·debian-binary
2 -rw-r--r--···0········0········0·····4624·2025-01-19·20:16:24.000000·control.tar.xz2 -rw-r--r--···0········0········0·····4624·2025-01-19·20:16:24.000000·control.tar.xz
3 -rw-r--r--···0········0········0···243056·2025-01-19·20:16:24.000000·data.tar.xz3 -rw-r--r--···0········0········0···243040·2025-01-19·20:16:24.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
17.6 KB
data.tar.xz
17.6 KB
data.tar
16.8 KB
./usr/share/doc/python-cyclopts-doc/html/api.html
    
Offset 2127, 22 lines modifiedOffset 2127, 22 lines modified
2127 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=True),))]</p>2127 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=True),))]</p>
2128 </dd></dl>2128 </dd></dl>
  
2129 <dl·class="py·data">2129 <dl·class="py·data">
2130 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedPath">2130 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedPath">
2131 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedPath</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedPath"·title="Link·to·this·definition"></a></dt>2131 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedPath</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedPath"·title="Link·to·this·definition"></a></dt>
2132 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file·or·directory.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>2132 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file·or·directory.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>
2133 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf68fde38&gt;)]</p>2133 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf6849e38&gt;)]</p>
2134 </dd></dl>2134 </dd></dl>
  
2135 <dl·class="py·data">2135 <dl·class="py·data">
2136 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedExistingPath">2136 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedExistingPath">
2137 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedExistingPath</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedExistingPath"·title="Link·to·this·definition"></a></dt>2137 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedExistingPath</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedExistingPath"·title="Link·to·this·definition"></a></dt>
2138 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file·or·directory·that·<strong>must</strong>·exist.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>2138 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file·or·directory·that·<strong>must</strong>·exist.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>
2139 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=True),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf68fde38&gt;)]</p>2139 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=True),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf6849e38&gt;)]</p>
2140 </dd></dl>2140 </dd></dl>
  
2141 <dl·class="py·data">2141 <dl·class="py·data">
2142 <dt·class="sig·sig-object·py"·id="cyclopts.types.Directory">2142 <dt·class="sig·sig-object·py"·id="cyclopts.types.Directory">
2143 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">Directory</span></span><a·class="headerlink"·href="#cyclopts.types.Directory"·title="Link·to·this·definition"></a></dt>2143 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">Directory</span></span><a·class="headerlink"·href="#cyclopts.types.Directory"·title="Link·to·this·definition"></a></dt>
2144 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·that·<strong>must</strong>·be·a·directory·(or·not·exist).</p>2144 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·that·<strong>must</strong>·be·a·directory·(or·not·exist).</p>
2145 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=False,·dir_okay=True),))]</p>2145 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=False,·dir_okay=True),))]</p>
Offset 2155, 22 lines modifiedOffset 2155, 22 lines modified
2155 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=False,·dir_okay=True),))]</p>2155 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=False,·dir_okay=True),))]</p>
2156 </dd></dl>2156 </dd></dl>
  
2157 <dl·class="py·data">2157 <dl·class="py·data">
2158 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedDirectory">2158 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedDirectory">
2159 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedDirectory</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedDirectory"·title="Link·to·this·definition"></a></dt>2159 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedDirectory</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedDirectory"·title="Link·to·this·definition"></a></dt>
2160 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·directory.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>2160 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·directory.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>
2161 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=False,·dir_okay=True),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf68fde38&gt;)]</p>2161 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=False,·dir_okay=True),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf6849e38&gt;)]</p>
2162 </dd></dl>2162 </dd></dl>
  
2163 <dl·class="py·data">2163 <dl·class="py·data">
2164 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedExistingDirectory">2164 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedExistingDirectory">
2165 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedExistingDirectory</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedExistingDirectory"·title="Link·to·this·definition"></a></dt>2165 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedExistingDirectory</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedExistingDirectory"·title="Link·to·this·definition"></a></dt>
2166 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·directory·that·<strong>must</strong>·exist.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>2166 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·directory·that·<strong>must</strong>·exist.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>
2167 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=False,·dir_okay=True),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf68fde38&gt;)]</p>2167 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=False,·dir_okay=True),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf6849e38&gt;)]</p>
2168 </dd></dl>2168 </dd></dl>
  
2169 <dl·class="py·data">2169 <dl·class="py·data">
2170 <dt·class="sig·sig-object·py"·id="cyclopts.types.File">2170 <dt·class="sig·sig-object·py"·id="cyclopts.types.File">
2171 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">File</span></span><a·class="headerlink"·href="#cyclopts.types.File"·title="Link·to·this·definition"></a></dt>2171 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">File</span></span><a·class="headerlink"·href="#cyclopts.types.File"·title="Link·to·this·definition"></a></dt>
2172 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">File</span></code>·that·<strong>must</strong>·be·a·file·(or·not·exist).</p>2172 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">File</span></code>·that·<strong>must</strong>·be·a·file·(or·not·exist).</p>
2173 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=True,·dir_okay=False),))]</p>2173 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=True,·dir_okay=False),))]</p>
Offset 2183, 22 lines modifiedOffset 2183, 22 lines modified
2183 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=False),))]</p>2183 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=False),))]</p>
2184 </dd></dl>2184 </dd></dl>
  
2185 <dl·class="py·data">2185 <dl·class="py·data">
2186 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedFile">2186 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedFile">
2187 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedFile</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedFile"·title="Link·to·this·definition"></a></dt>2187 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedFile</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedFile"·title="Link·to·this·definition"></a></dt>
2188 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>2188 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>
2189 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=True,·dir_okay=False),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf68fde38&gt;)]</p>2189 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=False,·file_okay=True,·dir_okay=False),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf6849e38&gt;)]</p>
2190 </dd></dl>2190 </dd></dl>
  
2191 <dl·class="py·data">2191 <dl·class="py·data">
2192 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedExistingFile">2192 <dt·class="sig·sig-object·py"·id="cyclopts.types.ResolvedExistingFile">
2193 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedExistingFile</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedExistingFile"·title="Link·to·this·definition"></a></dt>2193 <span·class="sig-prename·descclassname"><span·class="pre">cyclopts.types.</span></span><span·class="sig-name·descname"><span·class="pre">ResolvedExistingFile</span></span><a·class="headerlink"·href="#cyclopts.types.ResolvedExistingFile"·title="Link·to·this·definition"></a></dt>
2194 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file·that·<strong>must</strong>·exist.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>2194 <dd><p>A·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>·file·that·<strong>must</strong>·exist.·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">resolve()</span></code>·is·invoked·prior·to·returning·the·path.</p>
2195 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=False),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf68fde38&gt;)]</p>2195 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Path</span></code>,·Parameter(validator=(Path(exists=True,·file_okay=True,·dir_okay=False),)),·Parameter(converter=&lt;function·_path_resolve_converter·at·0xf6849e38&gt;)]</p>
2196 </dd></dl>2196 </dd></dl>
  
2197 </section>2197 </section>
2198 <section·id="number">2198 <section·id="number">
2199 <span·id="annotated-number-types"></span><h3>Number<a·class="headerlink"·href="#number"·title="Link·to·this·heading"></a></h3>2199 <span·id="annotated-number-types"></span><h3>Number<a·class="headerlink"·href="#number"·title="Link·to·this·heading"></a></h3>
2200 <p>Annotated·types·for·checking·common·int/float·value·constraints.2200 <p>Annotated·types·for·checking·common·int/float·value·constraints.
2201 All·of·these·types·will·also·work·on·sequence·of·numbers·(e.g.·<code·class="docutils·literal·notranslate"><span·class="pre">tuple[int,</span>·<span·class="pre">int]</span></code>·or·<code·class="docutils·literal·notranslate"><span·class="pre">list[float]</span></code>).</p>2201 All·of·these·types·will·also·work·on·sequence·of·numbers·(e.g.·<code·class="docutils·literal·notranslate"><span·class="pre">tuple[int,</span>·<span·class="pre">int]</span></code>·or·<code·class="docutils·literal·notranslate"><span·class="pre">list[float]</span></code>).</p>
Offset 2320, 15 lines modifiedOffset 2320, 15 lines modified
2320 <span·class="n">app</span><span·class="p">()</span>2320 <span·class="n">app</span><span·class="p">()</span>
2321 </pre></div>2321 </pre></div>
2322 </div>2322 </div>
2323 <div·class="highlight-console·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">$·</span>my-script<span·class="w">·</span><span·class="s1">&#39;{&quot;foo&quot;:·1,·&quot;bar&quot;:·2}&#39;</span>2323 <div·class="highlight-console·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">$·</span>my-script<span·class="w">·</span><span·class="s1">&#39;{&quot;foo&quot;:·1,·&quot;bar&quot;:·2}&#39;</span>
2324 <span·class="go">{&#39;foo&#39;:·1,·&#39;bar&#39;:·2}</span>2324 <span·class="go">{&#39;foo&#39;:·1,·&#39;bar&#39;:·2}</span>
2325 </pre></div>2325 </pre></div>
2326 </div>2326 </div>
2327 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Any</span></code>,·Parameter(converter=&lt;function·_json_converter·at·0xf68b98e8&gt;)]</p>2327 <p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Annotated</span></code>[<code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">Any</span></code>,·Parameter(converter=&lt;function·_json_converter·at·0xf6802938&gt;)]</p>
2328 </dd></dl>2328 </dd></dl>
  
2329 </section>2329 </section>
2330 </section>2330 </section>
2331 <section·id="config">2331 <section·id="config">
2332 <span·id="api-config"></span><h2>Config<a·class="headerlink"·href="#config"·title="Link·to·this·heading"></a></h2>2332 <span·id="api-config"></span><h2>Config<a·class="headerlink"·href="#config"·title="Link·to·this·heading"></a></h2>
2333 <p>Cyclopts·has·builtin·configuration·classes·to·be·used·with·<a·class="reference·internal"·href="#cyclopts.App.config"·title="cyclopts.App.config"><code·class="xref·py·py-attr·docutils·literal·notranslate"><span·class="pre">App.config</span></code></a>·for·loading·user-defined·defaults·in·many·common·scenarios.2333 <p>Cyclopts·has·builtin·configuration·classes·to·be·used·with·<a·class="reference·internal"·href="#cyclopts.App.config"·title="cyclopts.App.config"><code·class="xref·py·py-attr·docutils·literal·notranslate"><span·class="pre">App.config</span></code></a>·for·loading·user-defined·defaults·in·many·common·scenarios.
4.19 KB
html2text {}
    
Offset 1448, 59 lines modifiedOffset 1448, 59 lines modified
1448 ······A·Path·file·or·directory·that·m\x8mu\x8us\x8st\x8t·exist.1448 ······A·Path·file·or·directory·that·m\x8mu\x8us\x8st\x8t·exist.
1449 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,1449 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,
1450 ······file_okay=True,·dir_okay=True),))]1450 ······file_okay=True,·dir_okay=True),))]
1451 ··cyclopts.types.ResolvedPath_\x81451 ··cyclopts.types.ResolvedPath_\x8
1452 ······A·Path·file·or·directory.·resolve()·is·invoked·prior·to·returning·the1452 ······A·Path·file·or·directory.·resolve()·is·invoked·prior·to·returning·the
1453 ······path.1453 ······path.
1454 ······alias·of·Annotated[Path,·Parameter(converter=<function1454 ······alias·of·Annotated[Path,·Parameter(converter=<function
1455 ······_path_resolve_converter·at·0xf68fde38>)]1455 ······_path_resolve_converter·at·0xf6849e38>)]
1456 ··cyclopts.types.ResolvedExistingPath_\x81456 ··cyclopts.types.ResolvedExistingPath_\x8
1457 ······A·Path·file·or·directory·that·m\x8mu\x8us\x8st\x8t·exist.·resolve()·is·invoked·prior·to1457 ······A·Path·file·or·directory·that·m\x8mu\x8us\x8st\x8t·exist.·resolve()·is·invoked·prior·to
1458 ······returning·the·path.1458 ······returning·the·path.
1459 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,1459 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,
1460 ······file_okay=True,·dir_okay=True),)),·Parameter(converter=<function1460 ······file_okay=True,·dir_okay=True),)),·Parameter(converter=<function
1461 ······_path_resolve_converter·at·0xf68fde38>)]1461 ······_path_resolve_converter·at·0xf6849e38>)]
1462 ··cyclopts.types.Directory_\x81462 ··cyclopts.types.Directory_\x8
1463 ······A·Path·that·m\x8mu\x8us\x8st\x8t·be·a·directory·(or·not·exist).1463 ······A·Path·that·m\x8mu\x8us\x8st\x8t·be·a·directory·(or·not·exist).
1464 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,1464 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,
1465 ······file_okay=False,·dir_okay=True),))]1465 ······file_okay=False,·dir_okay=True),))]
1466 ··cyclopts.types.ExistingDirectory_\x81466 ··cyclopts.types.ExistingDirectory_\x8
1467 ······A·Path·directory·that·m\x8mu\x8us\x8st\x8t·exist.1467 ······A·Path·directory·that·m\x8mu\x8us\x8st\x8t·exist.
1468 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,1468 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,
1469 ······file_okay=False,·dir_okay=True),))]1469 ······file_okay=False,·dir_okay=True),))]
1470 ··cyclopts.types.ResolvedDirectory_\x81470 ··cyclopts.types.ResolvedDirectory_\x8
1471 ······A·Path·directory.·resolve()·is·invoked·prior·to·returning·the·path.1471 ······A·Path·directory.·resolve()·is·invoked·prior·to·returning·the·path.
1472 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,1472 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,
1473 ······file_okay=False,·dir_okay=True),)),·Parameter(converter=<function1473 ······file_okay=False,·dir_okay=True),)),·Parameter(converter=<function
1474 ······_path_resolve_converter·at·0xf68fde38>)]1474 ······_path_resolve_converter·at·0xf6849e38>)]
1475 ··cyclopts.types.ResolvedExistingDirectory_\x81475 ··cyclopts.types.ResolvedExistingDirectory_\x8
1476 ······A·Path·directory·that·m\x8mu\x8us\x8st\x8t·exist.·resolve()·is·invoked·prior·to·returning1476 ······A·Path·directory·that·m\x8mu\x8us\x8st\x8t·exist.·resolve()·is·invoked·prior·to·returning
1477 ······the·path.1477 ······the·path.
1478 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,1478 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,
1479 ······file_okay=False,·dir_okay=True),)),·Parameter(converter=<function1479 ······file_okay=False,·dir_okay=True),)),·Parameter(converter=<function
1480 ······_path_resolve_converter·at·0xf68fde38>)]1480 ······_path_resolve_converter·at·0xf6849e38>)]
1481 ··cyclopts.types.File_\x81481 ··cyclopts.types.File_\x8
1482 ······A·File·that·m\x8mu\x8us\x8st\x8t·be·a·file·(or·not·exist).1482 ······A·File·that·m\x8mu\x8us\x8st\x8t·be·a·file·(or·not·exist).
1483 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,1483 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,
1484 ······file_okay=True,·dir_okay=False),))]1484 ······file_okay=True,·dir_okay=False),))]
1485 ··cyclopts.types.ExistingFile_\x81485 ··cyclopts.types.ExistingFile_\x8
1486 ······A·Path·file·that·m\x8mu\x8us\x8st\x8t·exist.1486 ······A·Path·file·that·m\x8mu\x8us\x8st\x8t·exist.
1487 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,1487 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,
1488 ······file_okay=True,·dir_okay=False),))]1488 ······file_okay=True,·dir_okay=False),))]
1489 ··cyclopts.types.ResolvedFile_\x81489 ··cyclopts.types.ResolvedFile_\x8
1490 ······A·Path·file.·resolve()·is·invoked·prior·to·returning·the·path.1490 ······A·Path·file.·resolve()·is·invoked·prior·to·returning·the·path.
1491 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,1491 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=False,
1492 ······file_okay=True,·dir_okay=False),)),·Parameter(converter=<function1492 ······file_okay=True,·dir_okay=False),)),·Parameter(converter=<function
1493 ······_path_resolve_converter·at·0xf68fde38>)]1493 ······_path_resolve_converter·at·0xf6849e38>)]
1494 ··cyclopts.types.ResolvedExistingFile_\x81494 ··cyclopts.types.ResolvedExistingFile_\x8
1495 ······A·Path·file·that·m\x8mu\x8us\x8st\x8t·exist.·resolve()·is·invoked·prior·to·returning·the1495 ······A·Path·file·that·m\x8mu\x8us\x8st\x8t·exist.·resolve()·is·invoked·prior·to·returning·the
1496 ······path.1496 ······path.
1497 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,1497 ······alias·of·Annotated[Path,·Parameter(validator=(Path(exists=True,
1498 ······file_okay=True,·dir_okay=False),)),·Parameter(converter=<function1498 ······file_okay=True,·dir_okay=False),)),·Parameter(converter=<function
1499 ······_path_resolve_converter·at·0xf68fde38>)]1499 ······_path_resolve_converter·at·0xf6849e38>)]
1500 *\x8**\x8**\x8**\x8*·N\x8Nu\x8um\x8mb\x8be\x8er\x8r_\x8?\x8·*\x8**\x8**\x8**\x8*1500 *\x8**\x8**\x8**\x8*·N\x8Nu\x8um\x8mb\x8be\x8er\x8r_\x8?\x8·*\x8**\x8**\x8**\x8*
1501 Annotated·types·for·checking·common·int/float·value·constraints.·All·of·these1501 Annotated·types·for·checking·common·int/float·value·constraints.·All·of·these
1502 types·will·also·work·on·sequence·of·numbers·(e.g.·tuple[int,·int]·or·list1502 types·will·also·work·on·sequence·of·numbers·(e.g.·tuple[int,·int]·or·list
1503 [float]).1503 [float]).
1504 ··cyclopts.types.PositiveFloat_\x81504 ··cyclopts.types.PositiveFloat_\x8
1505 ······A·float·that·m\x8mu\x8us\x8st\x8t·be·>0.1505 ······A·float·that·m\x8mu\x8us\x8st\x8t·be·>0.
1506 ······alias·of·Annotated[float,·Parameter(validator=(Number(lt=None,·lte=None,1506 ······alias·of·Annotated[float,·Parameter(validator=(Number(lt=None,·lte=None,
Offset 1570, 15 lines modifiedOffset 1570, 15 lines modified
1570 ······def·main(json:·types.Json):1570 ······def·main(json:·types.Json):
1571 ··········print(json)1571 ··········print(json)
  
1572 ······app()1572 ······app()
1573 ······$·my-script·'{"foo":·1,·"bar":·2}'1573 ······$·my-script·'{"foo":·1,·"bar":·2}'
1574 ······{'foo':·1,·'bar':·2}1574 ······{'foo':·1,·'bar':·2}
1575 ······alias·of·Annotated[Any,·Parameter(converter=<function·_json_converter·at1575 ······alias·of·Annotated[Any,·Parameter(converter=<function·_json_converter·at
1576 ······0xf68b98e8>)]1576 ······0xf6802938>)]
1577 *\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nf\x8fi\x8ig\x8g_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*1577 *\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nf\x8fi\x8ig\x8g_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*
1578 Cyclopts·has·builtin·configuration·classes·to·be·used·with·_\x8A_\x8p_\x8p_\x8._\x8c_\x8o_\x8n_\x8f_\x8i_\x8g·for1578 Cyclopts·has·builtin·configuration·classes·to·be·used·with·_\x8A_\x8p_\x8p_\x8._\x8c_\x8o_\x8n_\x8f_\x8i_\x8g·for
1579 loading·user-defined·defaults·in·many·common·scenarios.·All·Cyclopts·builtins1579 loading·user-defined·defaults·in·many·common·scenarios.·All·Cyclopts·builtins
1580 index·into·the·configuration·file·with·the·following·rules:1580 index·into·the·configuration·file·with·the·following·rules:
1581 ···1.·Apply·root_keys·(if·provided)·to·enter·the·project's·configuration1581 ···1.·Apply·root_keys·(if·provided)·to·enter·the·project's·configuration
1582 ······namespace.1582 ······namespace.
1583 ···2.·Apply·the·command·name(s)·to·enter·the·current·command's·configuration1583 ···2.·Apply·the·command·name(s)·to·enter·the·current·command's·configuration
761 B
./usr/share/doc/python-cyclopts-doc/html/searchindex.js
651 B
js-beautify {}
    
Offset 1310, 16 lines modifiedOffset 1310, 16 lines modified
1310 ········"":·[1,·3,·4,·6,·7,·8,·9,·10,·11,·12,·14,·15,·16,·17,·18,·19,·21,·22,·24,·27,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·40,·42],1310 ········"":·[1,·3,·4,·6,·7,·8,·9,·10,·11,·12,·14,·15,·16,·17,·18,·19,·21,·22,·24,·27,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·40,·42],
1311 ········"0":·[1,·16,·17,·20,·21,·22,·24,·29,·38,·41],1311 ········"0":·[1,·16,·17,·20,·21,·22,·24,·29,·38,·41],
1312 ········"0287":·15,1312 ········"0287":·15,
1313 ········"0b":·22,1313 ········"0b":·22,
1314 ········"0o":·22,1314 ········"0o":·22,
1315 ········"0th":·21,1315 ········"0th":·21,
1316 ········"0x":·22,1316 ········"0x":·22,
 1317 ········"0xf6802938":·1,
1317 ········"0xf68b98e8":·1,1318 ········"0xf6849e38":·1,
1318 ········"0xf68fde38":·1, 
1319 ········"1":·[1,·2,·15,·16,·17,·21,·22,·38,·42],1319 ········"1":·[1,·2,·15,·16,·17,·21,·22,·38,·42],
1320 ········"10":·[1,·6,·10,·16,·21,·22,·38],1320 ········"10":·[1,·6,·10,·16,·21,·22,·38],
1321 ········"100":·[1,·21,·28,·38],1321 ········"100":·[1,·21,·28,·38],
1322 ········"1024":·21,1322 ········"1024":·21,
1323 ········"1037":·2,1323 ········"1037":·2,
1324 ········"11":·10,1324 ········"11":·10,
1325 ········"1102":·2,1325 ········"1102":·2,