-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
109 lines (104 loc) · 7.85 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<!--[if lte IE 8]><script>'article aside footer header nav section time'.replace(/\w+/g,function(n){document.createElement(n)})</script><script src="js/queries.js"></script><![endif]-->
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CherryPy — A Minimalist Python Web Framework</title>
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/tidelift.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Convergence%7CFjord+One" />
<link rel="icon" href="images/favicon.gif" />
</head>
<body>
<img width="128" src="images/cherrypy.png" alt="" class="site" />
<div class="fix-o">
<header class="site clear">
<hgroup class="fix-o">
<h1 class="site">CherryPy</h1>
<h2 class="site">A Minimalist Python Web Framework</h2>
</hgroup>
<nav class="site">
<ul>
<li><a href="https://pypi.org/project/CherryPy">Download</a></li>
<li><a href="https://docs.cherrypy.dev/en/latest/">Documentation</a></li>
<li><a href="https://cheroot.cherrypy.dev/en/latest/">Cheroot</a></li>
<li><a href="https://groups.google.com/group/cherrypy-users">Community</a></li>
<li><a href="https://github.com/cherrypy/cherrypy">Development</a></li>
</ul>
</nav>
<a class="tidelift-link" href="https://tidelift.com/subscription/pkg/pypi-cherrypy?utm_source=pypi-cherrypy&utm_medium=referral&utm_campaign=homepage">CherryPy for Enterprise</a>
</header>
<section class="site">
<header>
<h2>CherryPy is as easy as…</h2>
</header>
<pre class="prettyprint" id="python"><span class="kwd">import</span><span class="pln"> cherrypy
</span><span class="kwd">class</span><span class="pln"> </span><span class="typ">HelloWorld</span><span class="pun">(</span><span class="kwd">object</span><span class="pun">):</span><span class="pln">
</span><span class="pun decorator">@</span><span class="lit decorator">cherrypy</span><span class="pun decorator">.</span><span class="lit decorator">expose</span><span class="pln">
</span><span class="kwd">def</span><span class="pln"> index</span><span class="pun">(</span><span class="kwd">self</span><span class="pun">):</span><span class="pln">
</span><span class="kwd">return</span><span class="pln"> </span><span class="str">"Hello World!"</span><span class="pln">
cherrypy</span><span class="pun">.</span><span class="pln">quickstart</span><span class="pun">(</span><span class="typ">HelloWorld</span><span class="pun">())</span><span class="pln"></span></pre>
</section>
<section class="site">
<header>
<h2>CherryPy is a pythonic, object-oriented web framework</h2>
</header>
<div class="half">
<p>CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.</p>
<p>CherryPy is now more than ten years old and it is has proven to be very fast and stable. It is being <a href="https://docs.cherrypy.dev/en/latest/intro.html#success-stories">used in production by many sites</a>, from the simplest to the most demanding.</p>
</div>
</section>
<section class="site">
<header>
<h2>Features</h2>
</header>
<ul class="half feature-list">
<li>A reliable, <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec1.html#sec1.2" target="_blank">HTTP/1.1-compliant</a>, <a href="http://www.wsgi.org/en/latest/index.html" target="_blank">WSGI</a> thread-pooled webserver.</li>
<li>Easy to <a href="https://docs.cherrypy.dev/en/latest/advanced.html#multiple-http-servers-support">run multiple HTTP servers</a> (e.g. on multiple ports) at once.</li>
<li>A <a href="https://docs.cherrypy.dev/en/latest/basics.html#config">powerful configuration system</a> for developers and deployers alike.</li>
<li>A <a href="https://docs.cherrypy.dev/en/latest/extend.html#server-wide-functions">flexible plugin system</a>.</li>
<li>Built-in tools for <a href="https://docs.cherrypy.dev/en/latest/pkg/cherrypy.lib.html#module-cherrypy.lib.caching">caching</a>, encoding, <a href="https://docs.cherrypy.dev/en/latest/basics.html#using-sessions">sessions</a>, <a href="https://docs.cherrypy.dev/en/latest/basics.html#authentication">authentication</a>, <a href="https://docs.cherrypy.dev/en/latest/basics.html#static-content-serving">static content</a>, and <a href="https://docs.cherrypy.dev/en/latest/extend.html#per-request-functions">many more</a>.</li>
<li>Swappable and customizable...everything.</li>
<li>Built-in <a href="https://docs.cherrypy.dev/en/latest/pkg/cherrypy.lib.html?highlight=profiler#module-cherrypy.lib.profiler">profiling</a>, <a href="https://docs.cherrypy.dev/en/latest/pkg/cherrypy.lib.html?highlight=cover#module-cherrypy.lib.covercp">coverage</a>, and testing support.</li>
<li>Runs on Python 2.7+, 3.5+, PyPy, Jython and <a href="http://www.defuze.org/archives/228-running-cherrypy-on-android-with-sl4a.html" target="_blank">Android</a>.</li>
</ul>
</section>
<section class="site">
<header>
<h2>For Enterprise</h2>
</header>
<div class="tidelift-highlight"><a href="https://tidelift.com/subscription/pkg/pypi-cherrypy?utm_source=pypi-cherrypy&utm_medium=referral&utm_campaign=homepage2">Available as part of the tidelift subscription</a></div>
<p>CherryPy and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.</p>
<p>If you want the flexibility of open source and the confidence of commercial-grade software, this is for you. <a href="https://tidelift.com/subscription/pkg/pypi-cherrypy?utm_source=pypi-cherrypy&utm_medium=referral&utm_campaign=homepage2">Learn more</a>.</p>
</section>
<section class="site">
<header>
<h2>Online tests</h2>
</header>
<p>Each time we change our codebase, a test runs so you can see the results <a href="https://travis-ci.org/cherrypy/cherrypy" target="_blank">here</a>.</p>
</section>
<section class="site">
<header>
<h2>Contribute</h2>
</header>
<p>CherryPy is an open-source project, thus, welcoming contributions. <br/>If you are interested you may:
<ul class="feature-list">
<li>Fork CherryPy on GitHub <a href="https://github.com/cherrypy/cherrypy" target="_blank">here</a> and submit pull-request with your modifications.</li>
<li>Join us on <a href="https://gitter.im/cherrypy/cherrypy">Gitter</a> or IRC <mark>#cherrypy</mark> channel on the <a href="https://www.oftc.net/" target="_blank">OFTC network</a>.</li>
<li>Subscribe to the CherryPy <a href="https://groups.google.com/group/cherrypy-users" target="_blank">users mailing list</a>.</li>
</ul>
</section>
<section class="site">
<header>
<h2>License</h2>
</header>
<p>CherryPy is distributed under a <a href="https://github.com/cherrypy/cherrypy/blob/master/LICENSE.md" target="_blank">BSD license</a>.</p>
</section>
</div>
<footer class="site">
<p>© 2001–2019 The CherryPy team. Licensed by <a href="https://creativecommons.org/licenses/by/3.0/" rel="license" target="_blank">Creative Commons</a>. <span class="switch">Site development and cherry icon by <a href="https://github.com/rnmp" target="_blank">Rolando Murillo</a>.</span><span class="switch">Site hosted on <a href="https://cherrypy.github.io" target="_blank">GitHub Pages</a>.</span></p>
</footer>
</body>
</html>