mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
136 lines
5.3 KiB
HTML
136 lines
5.3 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en" data-content_root="./">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<title>Development Sandbox — responder 3.4.1 documentation</title>
|
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=5ecbeea2" />
|
|
<link rel="stylesheet" type="text/css" href="_static/basic.css?v=b08954a9" />
|
|
<link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=27fed22d" />
|
|
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
|
|
<link rel="stylesheet" type="text/css" href="_static/design-elements.e5416f61bae5d36adc6d722a2b6f8cff.css?v=452a8e97" />
|
|
<script src="_static/documentation_options.js?v=149be4c9"></script>
|
|
<script src="_static/doctools.js?v=9bcbadda"></script>
|
|
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
|
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
|
|
<script src="_static/copybutton.js?v=fd10adb8"></script>
|
|
<script>
|
|
</script>
|
|
<script src="_static/design-elements.bbdccc18c4abea9397628f9fea3d48c2.js?v=03c7770e"></script>
|
|
<link rel="index" title="Index" href="genindex.html" />
|
|
<link rel="search" title="Search" href="search.html" />
|
|
<link rel="next" title="Backlog" href="backlog.html" />
|
|
<link rel="prev" title="Changelog" href="changes.html" />
|
|
|
|
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
|
|
</head><body>
|
|
|
|
|
|
<div class="document">
|
|
<div class="documentwrapper">
|
|
<div class="bodywrapper">
|
|
|
|
|
|
<div class="body" role="main">
|
|
|
|
<section id="development-sandbox">
|
|
<span id="sandbox"></span><h1>Development Sandbox<a class="headerlink" href="#development-sandbox" title="Link to this heading">¶</a></h1>
|
|
<section id="setup">
|
|
<h2>Setup<a class="headerlink" href="#setup" title="Link to this heading">¶</a></h2>
|
|
<p>Set up a development sandbox.</p>
|
|
<p>Acquire sources and create virtualenv.</p>
|
|
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/kennethreitz/responder.git
|
|
<span class="nb">cd</span><span class="w"> </span>responder
|
|
uv<span class="w"> </span>venv
|
|
</pre></div>
|
|
</div>
|
|
<p>Install project in editable mode, including
|
|
all development tools.</p>
|
|
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>uv<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>--upgrade<span class="w"> </span>--editable<span class="w"> </span><span class="s1">'.[develop,docs,release,test]'</span>
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="operations">
|
|
<h2>Operations<a class="headerlink" href="#operations" title="Link to this heading">¶</a></h2>
|
|
<p>Run tests.</p>
|
|
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="nb">source</span><span class="w"> </span>.venv/bin/activate
|
|
pytest
|
|
</pre></div>
|
|
</div>
|
|
<p>Format code.</p>
|
|
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>ruff<span class="w"> </span>format<span class="w"> </span>.
|
|
ruff<span class="w"> </span>check<span class="w"> </span>--fix<span class="w"> </span>.
|
|
</pre></div>
|
|
</div>
|
|
<p>Documentation authoring.</p>
|
|
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>sphinx-autobuild<span class="w"> </span>--open-browser<span class="w"> </span>--watch<span class="w"> </span>docs/source<span class="w"> </span>docs/source<span class="w"> </span>docs/build
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="sphinxsidebar" role="navigation" aria-label="Main">
|
|
<div class="sphinxsidebarwrapper"><p class="logo">
|
|
<a href="index.html">
|
|
<img class="logo" src="_static/responder.png" />
|
|
</a>
|
|
</p>
|
|
<p>
|
|
<strong>Responder</strong> — a familiar HTTP service framework for Python.
|
|
</p>
|
|
<h3>Useful Links</h3>
|
|
<ul>
|
|
<li><a href="https://github.com/kennethreitz/responder">Responder @ GitHub</a></li>
|
|
<li><a href="https://pypi.org/project/responder/">Responder @ PyPI</a></li>
|
|
<li><a href="https://github.com/kennethreitz/responder/issues">Issue Tracker</a></li>
|
|
</ul>
|
|
<div>
|
|
<h3><a href="index.html">Table of Contents</a></h3>
|
|
<ul>
|
|
<li><a class="reference internal" href="#">Development Sandbox</a><ul>
|
|
<li><a class="reference internal" href="#setup">Setup</a></li>
|
|
<li><a class="reference internal" href="#operations">Operations</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
<search id="searchbox" style="display: none" role="search">
|
|
<h3 id="searchlabel">Quick search</h3>
|
|
<div class="searchformwrapper">
|
|
<form class="search" action="search.html" method="get">
|
|
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
|
<input type="submit" value="Go" />
|
|
</form>
|
|
</div>
|
|
</search>
|
|
<script>document.getElementById('searchbox').style.display = "block"</script>
|
|
</div>
|
|
</div>
|
|
<div class="clearer"></div>
|
|
</div>
|
|
<div class="footer">
|
|
©2018-2026, Kenneth Reitz.
|
|
|
|
|
|
|
<a href="_sources/sandbox.md.txt"
|
|
rel="nofollow">Page source</a>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html> |