Pyramid - A Python web framework
Clone or download
mmerickel Merge pull request #3358 from cdunklau/cdunklau-get-renderer-fromconf
Add registry arg to pyramid.renderers.get_renderer
Latest commit bff4d2b Sep 19, 2018
Permalink
Failed to load latest commit information.
docs Fix tiny typo in glossary doc ("l10" -> "l10n") Sep 14, 2018
pyramid Add a test with a different configurator instance Sep 19, 2018
.gitignore add .python-version to gitignore Jun 26, 2018
.travis.yml Attempt to get Python 3.8 to build on Travis-CI Aug 29, 2018
BFG_HISTORY.rst Redoing some changes. My bad ;) Jun 28, 2018
CHANGES.rst Update changelog for 3354 Sep 18, 2018
CONTRIBUTORS.txt Add registry arg to pyramid.renderers.get_renderer Sep 18, 2018
COPYRIGHT.txt Update copyright Sep 19, 2018
HACKING.txt Rewrap paragraph Sep 19, 2018
HISTORY.rst Redoing some changes. My bad ;) Jun 28, 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 Synch Hello World app with canonical version on trypyramid.com and el… Aug 21, 2018
RELEASING.txt Bump Python version to 3.7 in docs and project meta files Aug 22, 2018
TODO.txt update todo Jan 24, 2017
appveyor.yml Add support for Python 3.7 in Appveyor Aug 22, 2018
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 Bump Python version to 3.7 in docs and project meta files Aug 22, 2018
setup.cfg add a manifest and a tox step to check it Jun 28, 2017
setup.py Pin Sphinx to <=1.7.9 to avoid Travis build failure Sep 14, 2018
tox.ini Add support for Python 3.7 and 3.8 with allowed failure of 3.8 Aug 22, 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 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('0.0.0.0', 6543, 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.