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