Skip to content
Pyramid - A Python web framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Add issue templates, first draft. Sep 22, 2018
docs Fix docs build. Apr 2, 2019
src/pyramid Revert "Use inspect.stack() instead of sys._getframe()" Apr 16, 2019
tests Use depth argument for view_config info. Apr 5, 2019
.coveragerc initial work removing pcreate Oct 31, 2018
.flake8 initial work removing pcreate Oct 31, 2018
.gitignore add .python-version to gitignore Jun 26, 2018
.travis.yml initial work to remove py2 from the codebase Nov 13, 2018
BFG_HISTORY.rst Redoing some changes. My bad ;) Jun 28, 2018
CONTRIBUTORS.txt Merge pull request #3480 from luhn/sphinx-2.0 Mar 30, 2019
COPYRIGHT.txt Update copyright Sep 19, 2018
HACKING.txt Remove Python 2 and explicit mention of Python 3 Nov 18, 2018
HISTORY.rst move master to 2.0.dev0 Oct 31, 2018
LICENSE.txt drop hacking-tox.ini Oct 16, 2018
README.rst move master to 2.0.dev0 Oct 31, 2018
RELEASING.txt Remove scaffolds testing instructions Nov 18, 2018
appveyor.yml initial work to remove py2 from the codebase Nov 13, 2018 prep 1.10 Oct 31, 2018
pyproject.toml no longer need to exclude scaffolds from black Nov 24, 2018
rtd.txt note to self: check the branch and be consistent when viewing docs on… Jan 12, 2016
setup.cfg configure black and update flake8 Oct 15, 2018 lint Apr 13, 2019
tox.ini remove basepython statements from tox.ini Apr 16, 2019



master Travis CI Status master 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 World!')

if __name__ == '__main__':
    with Configurator() as config:
        config.add_route('hello', '/')
        config.add_view(hello_world, route_name='hello')
        app = config.make_wsgi_app()
    server = make_server('', 6543, app)

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 for guidelines on running tests, adding features, coding style, and updating documentation when developing in or contributing to Pyramid.


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


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

You can’t perform that action at this time.