Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates > by-pkgid > c044f82ec6193fba7e13c97913613b07 > files > 772

ipython-doc-2.3.0-2.3.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Module: nbconvert.postprocessors.serve &mdash; IPython 2.3.0 documentation</title>
    
    <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '2.3.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <link rel="top" title="IPython 2.3.0 documentation" href="../../index.html" />
    <link rel="up" title="The IPython API" href="../index.html" />
    <link rel="next" title="Module: nbconvert.preprocessors.base" href="IPython.nbconvert.preprocessors.base.html" />
    <link rel="prev" title="Module: nbconvert.postprocessors.pdf" href="IPython.nbconvert.postprocessors.pdf.html" /> 
  </head>
  <body>

<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<a href="http://ipython.org/"><img src="../../_static/logo.png" border="0" alt="IPython Documentation"/></a>
</div>

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="IPython.nbconvert.preprocessors.base.html" title="Module: nbconvert.preprocessors.base"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="IPython.nbconvert.postprocessors.pdf.html" title="Module: nbconvert.postprocessors.pdf"
             accesskey="P">previous</a> |</li>
        <li><a href="http://ipython.org">home</a>|&nbsp;</li>
        <li><a href="../../search.html">search</a>|&nbsp;</li>
       <li><a href="../../index.html">documentation </a> &raquo;</li>

          <li><a href="../index.html" accesskey="U">The IPython API</a> &raquo;</li> 
      </ul>
    </div>

      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Module: <tt class="docutils literal"><span class="pre">nbconvert.postprocessors.serve</span></tt></a><ul>
<li><a class="reference internal" href="#classes">2 Classes</a></li>
<li><a class="reference internal" href="#function">1 Function</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="IPython.nbconvert.postprocessors.pdf.html"
                        title="previous chapter">Module: <tt class="docutils literal"><span class="pre">nbconvert.postprocessors.pdf</span></tt></a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="IPython.nbconvert.preprocessors.base.html"
                        title="next chapter">Module: <tt class="docutils literal"><span class="pre">nbconvert.preprocessors.base</span></tt></a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../../_sources/api/generated/IPython.nbconvert.postprocessors.serve.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-IPython.nbconvert.postprocessors.serve">
<span id="module-nbconvert-postprocessors-serve"></span><h1>Module: <tt class="xref py py-mod docutils literal"><span class="pre">nbconvert.postprocessors.serve</span></tt><a class="headerlink" href="#module-IPython.nbconvert.postprocessors.serve" title="Permalink to this headline">¶</a></h1>
<p>PostProcessor for serving reveal.js HTML slideshows.</p>
<div class="section" id="classes">
<h2>2 Classes<a class="headerlink" href="#classes" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="IPython.nbconvert.postprocessors.serve.ProxyHandler">
<em class="property">class </em><tt class="descclassname">IPython.nbconvert.postprocessors.serve.</tt><tt class="descname">ProxyHandler</tt><big>(</big><em>application</em>, <em>request</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#IPython.nbconvert.postprocessors.serve.ProxyHandler" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">tornado.web.RequestHandler</span></tt></p>
<p>handler the proxies requests from a local prefix to a CDN</p>
<dl class="method">
<dt id="IPython.nbconvert.postprocessors.serve.ProxyHandler.finish_get">
<tt class="descname">finish_get</tt><big>(</big><em>response</em><big>)</big><a class="headerlink" href="#IPython.nbconvert.postprocessors.serve.ProxyHandler.finish_get" title="Permalink to this definition">¶</a></dt>
<dd><p>finish the request</p>
</dd></dl>

<dl class="method">
<dt id="IPython.nbconvert.postprocessors.serve.ProxyHandler.get">
<tt class="descname">get</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#IPython.nbconvert.postprocessors.serve.ProxyHandler.get" title="Permalink to this definition">¶</a></dt>
<dd><p>proxy a request to a CDN</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="IPython.nbconvert.postprocessors.serve.ServePostProcessor">
<em class="property">class </em><tt class="descclassname">IPython.nbconvert.postprocessors.serve.</tt><tt class="descname">ServePostProcessor</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#IPython.nbconvert.postprocessors.serve.ServePostProcessor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="IPython.nbconvert.postprocessors.base.html#IPython.nbconvert.postprocessors.base.PostProcessorBase" title="IPython.nbconvert.postprocessors.base.PostProcessorBase"><tt class="xref py py-class docutils literal"><span class="pre">IPython.nbconvert.postprocessors.base.PostProcessorBase</span></tt></a></p>
<p>Post processor designed to serve files</p>
<p>Proxies reveal.js requests to a CDN if no local reveal.js is present</p>
<dl class="method">
<dt id="IPython.nbconvert.postprocessors.serve.ServePostProcessor.postprocess">
<tt class="descname">postprocess</tt><big>(</big><em>input</em><big>)</big><a class="headerlink" href="#IPython.nbconvert.postprocessors.serve.ServePostProcessor.postprocess" title="Permalink to this definition">¶</a></dt>
<dd><p>Serve the build directory with a webserver.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="function">
<h2>1 Function<a class="headerlink" href="#function" title="Permalink to this headline">¶</a></h2>
<dl class="function">
<dt id="IPython.nbconvert.postprocessors.serve.main">
<tt class="descclassname">IPython.nbconvert.postprocessors.serve.</tt><tt class="descname">main</tt><big>(</big><em>path</em><big>)</big><a class="headerlink" href="#IPython.nbconvert.postprocessors.serve.main" title="Permalink to this definition">¶</a></dt>
<dd><p>allow running this module to serve the slides</p>
</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="IPython.nbconvert.preprocessors.base.html" title="Module: nbconvert.preprocessors.base"
             >next</a> |</li>
        <li class="right" >
          <a href="IPython.nbconvert.postprocessors.pdf.html" title="Module: nbconvert.postprocessors.pdf"
             >previous</a> |</li>
        <li><a href="http://ipython.org">home</a>|&nbsp;</li>
        <li><a href="../../search.html">search</a>|&nbsp;</li>
       <li><a href="../../index.html">documentation </a> &raquo;</li>

          <li><a href="../index.html" >The IPython API</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright The IPython Development Team.
      Last updated on Sep 02, 2015.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
    </div>
  </body>
</html>