Python Other
Latest commit 50d216a May 22, 2017 @stevepiercy stevepiercy add change note
Permalink
Failed to load latest commit information.
docs Also replace script tags appear everywhere May 22, 2017
pyramid Fix #2548, add SRI has for script tags May 22, 2017
.gitignore Merge pull request #1471 from Pylons/feature.py3-coverage Mar 5, 2015
.travis.yml cache pip wheels in travis builds Mar 1, 2017
BFG_HISTORY.txt we want to keep the reference alive Mar 12, 2013
CHANGES.txt add change note May 23, 2017
CONTRIBUTORS.txt Merge branch 'master' into change-to-localhost May 13, 2017
COPYRIGHT.txt we no longer depend on any Django-derived code Sep 5, 2011
HACKING.txt add 3.6 support to documentation Nov 26, 2016
HISTORY.txt forward port some history changes from 1.8-branch Apr 13, 2017
LICENSE.txt first cut at moving paste.auth stuff into core Sep 5, 2011
README.rst switch readme to 1.9-branch badges May 2, 2017
RELEASING.txt add more events for updating trypyramid.com May 2, 2017
TODO.txt update todo Jan 24, 2017
appveyor.yml require tests to pass on py36 on travis and appveyor Jan 8, 2017
builddocs.sh remove py2-docs from tox.ini and reorder so coverage is last Nov 26, 2015
contributing.md link to 1.9-branch in contributing May 2, 2017
coverage.sh add convenience shell scripts Apr 13, 2015
hacking-tox.ini add custom tox config that creates a development environment Aug 16, 2013
rtd.txt note to self: check the branch and be consistent when viewing docs on… Jan 12, 2016
scaffoldtests.sh Merge branch 'master' into pcreate-to-cookiecutter Dec 13, 2016
setup.cfg add the license file to the wheel's dist-info May 2, 2017
setup.py prep 1.9a2 May 9, 2017
tox.ini require tests to pass on py36 on travis and appveyor Jan 8, 2017

README.rst

Pyramid

master Travis CI Status Master Documentation Status Latest Documentation Status IRC Freenode

Pyramid is a small, fast, down-to-earth, open source Python web framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.

from wsgiref.simple_server import make_server
from pyramid.config import Configurator
from pyramid.response import Response

def hello_world(request):
    return Response('Hello %(name)s!' % request.matchdict)

if __name__ == '__main__':
    with Configurator() as config:
        config.add_route('hello', '/hello/{name}')
        config.add_view(hello_world, route_name='hello')
        app = config.make_wsgi_app()
    server = make_server('0.0.0.0', 8080, app)
    server.serve_forever()

Pyramid is a project of the Pylons Project.

Support and Documentation

See Pyramid Support and Development for documentation, reporting bugs, and getting support.

Developing and Contributing

See HACKING.txt and contributing.md for guidelines on running tests, adding features, coding style, and updating documentation when developing in or contributing to Pyramid.

License

Pyramid is offered under the BSD-derived Repoze Public License.

Authors

Pyramid is made available by Agendaless Consulting and a team of contributors.