Pyramid - A Python web framework
Clone or download
mmerickel Merge pull request #3396 from mmerickel/fix-dummy-request-accept
fix the dummy request to support the new accept apis
Latest commit 41f103a Oct 17, 2018
Permalink
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Add issue templates, first draft. Sep 22, 2018
docs fix the dummy request to support the new accept apis Oct 18, 2018
src/pyramid fix the dummy request to support the new accept apis Oct 18, 2018
tests fix the dummy request to support the new accept apis Oct 18, 2018
.coveragerc only check the tests folder for tests Oct 15, 2018
.flake8 configure black and update flake8 Oct 15, 2018
.gitignore add .python-version to gitignore Jun 26, 2018
.travis.yml configure black and update flake8 Oct 15, 2018
BFG_HISTORY.rst Redoing some changes. My bad ;) Jun 28, 2018
CHANGES.rst fix the dummy request to support the new accept apis Oct 18, 2018
CONTRIBUTORS.txt Adjust virtual env instruction line range reference. Oct 5, 2018
COPYRIGHT.txt Update copyright Sep 19, 2018
HACKING.txt Remove by hand method. We use tox. Oct 15, 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 drop hacking-tox.ini Oct 16, 2018
README.rst point cookiecutters at 1.10-branch Oct 16, 2018
RELEASING.txt Use https for wiki.python.org Oct 17, 2018
TODO.txt remove deprecated principal keyword argument to remember Oct 4, 2018
appveyor.yml fix tests to run from the tests folder Oct 15, 2018
contributing.md Rename section from Prerequisites to Developing Oct 15, 2018
pyproject.toml configure black and update flake8 Oct 15, 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
setup.py prep 1.10a1 Oct 16, 2018
tox.ini fix scaffold tests Oct 16, 2018

README.rst

Pyramid

1.10-branch Travis CI Status 1.10-branch 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.