Bowe Strickland
2018-10-27 6e49871feaa1a60549206cf5512c9fb7f3d5fd56
commit | author | age
ac6320 1 Pyramid
CM 2 =======
612d74 3
0080e9 4 .. image:: https://travis-ci.org/Pylons/pyramid.png?branch=1.10-branch
d10b97 5         :target: https://travis-ci.org/Pylons/pyramid
0080e9 6         :alt: 1.10-branch Travis CI Status
d10b97 7
0080e9 8 .. image:: https://readthedocs.org/projects/pyramid/badge/?version=1.10-branch
MM 9         :target: https://docs.pylonsproject.org/projects/pyramid/en/1.10-branch
10         :alt: 1.10-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
4ef406 22     from wsgiref.simple_server import make_server
SP 23     from pyramid.config import Configurator
24     from pyramid.response import Response
7b536f 25
4ef406 26     def hello_world(request):
4b84f6 27         return Response('Hello World!')
7b536f 28
4ef406 29     if __name__ == '__main__':
SP 30         with Configurator() as config:
4b84f6 31             config.add_route('hello', '/')
4ef406 32             config.add_view(hello_world, route_name='hello')
SP 33             app = config.make_wsgi_app()
4b84f6 34         server = make_server('0.0.0.0', 6543, app)
4ef406 35         server.serve_forever()
7b536f 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>`_.