Python Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs Merge pull request #3283 from LuisCastilloH/Issue-3154 May 17, 2018
pyramid Replace MIMEAccept with acceptparse.create_accept_header May 19, 2018
.gitignore Add .cache folder to gitignore May 19, 2018
.travis.yml fix pypy by using a specific version Oct 22, 2017
BFG_HISTORY.rst Mark changelogs as ReST, for better Github rendering. Mar 8, 2018
CHANGES.rst Update CHANGES.rst for #3251 May 19, 2018
CONTRIBUTORS.txt Updated CONTRIBUTORS.txt May 15, 2018
COPYRIGHT.txt we no longer depend on any Django-derived code Sep 5, 2011
HACKING.txt use correct file extension for CHANGES May 19, 2018
HISTORY.rst Mark changelogs as ReST, for better Github rendering. Mar 8, 2018
LICENSE.txt first cut at moving paste.auth stuff into core Sep 5, 2011
MANIFEST.in Mark changelogs as ReST, for better Github rendering. Mar 8, 2018
README.rst prep 1.10.dev0 Jun 27, 2017
RELEASING.txt Forward port some items from 1.9-branch into RELEASING.txt Apr 26, 2018
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 remove 1.10 alpha branch until it is actually released Jun 27, 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 a manifest and a tox step to check it Jun 28, 2017
setup.py Depend on newer version of WebOb May 19, 2018
tox.ini ensure the pyramid deps are installed from source, not the dist in pypi Apr 24, 2018

README.rst

Pyramid

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 %(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.