Popular recipes tagged "meta:requires=cherrypy"http://code.activestate.com/recipes/tags/meta:requires=cherrypy/2009-03-31T18:24:06-07:00ActiveState Code RecipesServe static web content from within a gzipped tarball to save space using CherryPy (Python)
2009-03-31T18:24:06-07:00Dan McDougallhttp://code.activestate.com/recipes/users/4169722/http://code.activestate.com/recipes/576706-serve-static-web-content-from-within-a-gzipped-tar/
<p style="color: grey">
Python
recipe 576706
by <a href="/recipes/users/4169722/">Dan McDougall</a>
(<a href="/recipes/tags/cherrypy/">cherrypy</a>, <a href="/recipes/tags/compression/">compression</a>, <a href="/recipes/tags/embedded/">embedded</a>, <a href="/recipes/tags/gzip/">gzip</a>, <a href="/recipes/tags/html/">html</a>, <a href="/recipes/tags/http/">http</a>, <a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/routes/">routes</a>, <a href="/recipes/tags/web/">web</a>, <a href="/recipes/tags/web_server/">web_server</a>).
</p>
<p>This code lets you store all of your static website content inside a gzipped tarball while transparently serving it to HTTP clients on-demand. Perfect for embedded systems where space is limited.</p>
cherrypy RESTResource (Python)
2005-11-10T19:28:04-08:00anders pearsonhttp://code.activestate.com/recipes/users/2661181/http://code.activestate.com/recipes/444766-cherrypy-restresource/
<p style="color: grey">
Python
recipe 444766
by <a href="/recipes/users/2661181/">anders pearson</a>
(<a href="/recipes/tags/web/">web</a>).
Revision 2.
</p>
<p>Extension of the Restful Resource recipe from the cherrypy wiki (<a href="http://www.cherrypy.org/wiki/RestfulResource" rel="nofollow">http://www.cherrypy.org/wiki/RestfulResource</a>) to support nested resources and to dispatch based on HTTP verbs.</p>
Creating Browser-Based Desktop Apps with CherryPy 2.1 (Python)
2005-10-27T04:04:48-07:00Christian Wyglendowskihttp://code.activestate.com/recipes/users/778172/http://code.activestate.com/recipes/442481-creating-browser-based-desktop-apps-with-cherrypy-/
<p style="color: grey">
Python
recipe 442481
by <a href="/recipes/users/778172/">Christian Wyglendowski</a>
(<a href="/recipes/tags/web/">web</a>).
Revision 2.
</p>
<p>You want to create a simple browser-based desktop application with minimal fuss.</p>
Rendering Arbitrary Objects with CherryPy (Python)
2005-10-11T22:41:16-07:00Christian Wyglendowskihttp://code.activestate.com/recipes/users/778172/http://code.activestate.com/recipes/440696-rendering-arbitrary-objects-with-cherrypy/
<p style="color: grey">
Python
recipe 440696
by <a href="/recipes/users/778172/">Christian Wyglendowski</a>
(<a href="/recipes/tags/web/">web</a>).
</p>
<p>This is my implementation of Rendering Arbitrary Objects with Nevow (<a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286260" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286260</a>) using CherryPy 2.1. CherryPy doesn't care about adapters or stuff like that, but since it is written in Python it is easy to add that sort of functionality.</p>
serving dynamically-generated PDF files via XML/RPC (Python)
2005-05-05T23:41:15-07:00gian paolo cicerihttp://code.activestate.com/recipes/users/631476/http://code.activestate.com/recipes/413404-serving-dynamically-generated-pdf-files-via-xmlrpc/
<p style="color: grey">
Python
recipe 413404
by <a href="/recipes/users/631476/">gian paolo ciceri</a>
(<a href="/recipes/tags/distributed/">distributed</a>).
</p>
<p>It's only a matter to put together Reportlab to generate a pdf file on the fly and Cherrypy xmlrpc filter to serve it as an XML/RPC binary object (base64-encoded).</p>