Steve Piercy
2018-09-22 2a45fe74f9598b4e726ab17ce17948d4e709894b
commit | author | age
ac6320 1 Pyramid
CM 2 =======
612d74 3
93c94e 4 .. image:: https://travis-ci.org/Pylons/pyramid.png?branch=1.9-branch
d10b97 5         :target: https://travis-ci.org/Pylons/pyramid
93c94e 6         :alt: 1.9-branch Travis CI Status
d10b97 7
93c94e 8 .. image:: https://readthedocs.org/projects/pyramid/badge/?version=1.9-branch
19d341 9         :target: https://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/
93c94e 10         :alt: 1.9-branch Documentation Status
d10b97 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__':
134ef7 30        with Configurator() as config:
MM 31            config.add_route('hello', '/hello/{name}')
32            config.add_view(hello_world, route_name='hello')
33            app = config.make_wsgi_app()
7b536f 34        server = make_server('0.0.0.0', 8080, app)
MM 35        server.serve_forever()
36
80ce00 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
19d341 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>`_.