Python Other
Latest commit 7fb8893 Mar 1, 2017 @stevepiercy stevepiercy committed on GitHub Merge pull request #2969 from stevepiercy/master
use correct directory name for cookiecutter generated README.txt
Permalink
Failed to load latest commit information.
docs use correct directory name for cookiecutter generated README.txt Mar 1, 2017
pyramid add an IExecutionPolicy that can wrap the router Feb 25, 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 changelog for #2964 Mar 1, 2017
CONTRIBUTORS.txt Merge branch 'master' into pr/2853 Dec 14, 2016
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 switch to 1.9.dev0 Jan 22, 2017
LICENSE.txt first cut at moving paste.auth stuff into core Sep 5, 2011
README.rst save a redirect Jan 22, 2017
RELEASING.txt update manifest checks Jan 24, 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 prep 1.8a1 Dec 26, 2016
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 Strip allegedly-smart quotes in comments. Nov 14, 2016
setup.py switch to 1.9.dev0 Jan 22, 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__':
    config = Configurator()
    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.