commit | author | age
|
ac6320
|
1 |
Pyramid |
CM |
2 |
======= |
612d74
|
3 |
|
33f1c2
|
4 |
.. image:: https://travis-ci.org/Pylons/pyramid.png?branch=1.9-branch |
d10b97
|
5 |
:target: https://travis-ci.org/Pylons/pyramid |
8ffa42
|
6 |
:alt: master Travis CI Status |
d10b97
|
7 |
|
33f1c2
|
8 |
.. image:: https://readthedocs.org/projects/pyramid/badge/?version=1.9-branch |
MM |
9 |
:target: http://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/ |
c4fe07
|
10 |
:alt: Master Documentation Status |
SP |
11 |
|
33f1c2
|
12 |
.. image:: https://readthedocs.org/projects/pyramid/badge/?version=1.9-branch |
MM |
13 |
:target: http://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/ |
c4fe07
|
14 |
:alt: Latest Documentation Status |
d10b97
|
15 |
|
cff2d8
|
16 |
.. image:: https://img.shields.io/badge/irc-freenode-blue.svg |
MM |
17 |
:target: https://webchat.freenode.net/?channels=pyramid |
|
18 |
:alt: IRC Freenode |
|
19 |
|
112943
|
20 |
`Pyramid <https://trypyramid.com/>`_ is a small, fast, down-to-earth, open |
SP |
21 |
source Python web framework. It makes real-world web application development |
|
22 |
and deployment more fun, more predictable, and more productive. |
ac6320
|
23 |
|
7b536f
|
24 |
.. code-block:: python |
MM |
25 |
|
|
26 |
from wsgiref.simple_server import make_server |
|
27 |
from pyramid.config import Configurator |
|
28 |
from pyramid.response import Response |
|
29 |
|
|
30 |
def hello_world(request): |
|
31 |
return Response('Hello %(name)s!' % request.matchdict) |
|
32 |
|
|
33 |
if __name__ == '__main__': |
134ef7
|
34 |
with Configurator() as config: |
MM |
35 |
config.add_route('hello', '/hello/{name}') |
|
36 |
config.add_view(hello_world, route_name='hello') |
|
37 |
app = config.make_wsgi_app() |
7b536f
|
38 |
server = make_server('0.0.0.0', 8080, app) |
MM |
39 |
server.serve_forever() |
|
40 |
|
881485
|
41 |
Pyramid is a project of the `Pylons Project <http://pylonsproject.org/>`_. |
f20348
|
42 |
|
09fa9d
|
43 |
Support and Documentation |
CM |
44 |
------------------------- |
b7ac16
|
45 |
|
e8a994
|
46 |
See `Pyramid Support and Development |
SP |
47 |
<http://docs.pylonsproject.org/projects/pyramid/en/latest/#support-and-development>`_ |
|
48 |
for documentation, reporting bugs, and getting support. |
b7ac16
|
49 |
|
fb9b9f
|
50 |
Developing and Contributing |
SP |
51 |
--------------------------- |
|
52 |
|
2b8c7d
|
53 |
See `HACKING.txt <https://github.com/Pylons/pyramid/blob/master/HACKING.txt>`_ and |
MM |
54 |
`contributing.md <https://github.com/Pylons/pyramid/blob/master/contributing.md>`_ |
|
55 |
for guidelines on running tests, adding features, coding style, and updating |
|
56 |
documentation when developing in or contributing to Pyramid. |
fb9b9f
|
57 |
|
09fa9d
|
58 |
License |
CM |
59 |
------- |
b7ac16
|
60 |
|
4dc00e
|
61 |
Pyramid is offered under the BSD-derived `Repoze Public License |
09fa9d
|
62 |
<http://repoze.org/license.html>`_. |
b7ac16
|
63 |
|
09fa9d
|
64 |
Authors |
CM |
65 |
------- |
b7ac16
|
66 |
|
112943
|
67 |
Pyramid is made available by `Agendaless Consulting <https://agendaless.com>`_ |
SP |
68 |
and a team of `contributors |
|
69 |
<https://github.com/Pylons/pyramid/graphs/contributors>`_. |