Pyramid Community Cookbook¶
The Pyramid Community Cookbook presents topical, practical "recipes" of using Pyramid. It supplements the main documentation.
To contribute your recipe to the Pyramid Community Cookbook, read Contributing.
Table of contents¶
- Deployment
- Introduction
- Web Servers
- Apache + mod_wsgi
- ASGI (Asynchronous Server Gateway Interface)
- Forked and Threaded Servers
- gevent
- gunicorn
- nginx + pserve + supervisord
- uWSGI
- uWSGI with cookiecutter Pyramid application Part 1: Basic uWSGI + nginx
- uWSGI with cookiecutter Pyramid Application Part 2: Adding Emperor and systemd
- uWSGI + nginx + systemd
- Cloud Providers
- Windows
- Development Tools
- Forms
- Logging
- Porting Applications to Pyramid
- Pyramid for Pylons Users
- Introduction and Creating an Application
- Launching the Application
- INI File
- The Main Function
- Models
- Views
- Route and View Examples
- Request and Response
- Templates
- Exceptions, HTTP Errors, and Redirects
- Static Files
- Sessions
- Deployment
- Authentication and Authorization
- Other Pyramid Features
- Migrating an Existing Pylons Application
- Routing: Traversal and URL Dispatch
- Sample Pyramid Applications
- Static Assets (Static Files)
- Templates and Renderers
- Using a Before Render Event to Expose an
h
Helper Object - Using a BeforeRender Event to Expose a Mako
base
Template - Using a BeforeRender Event to Expose Chameleon
base
Template - Using Building Blocks with Chameleon
- Rendering
None
as the Empty String in Mako Templates - Mako Internationalization
- Chameleon Internationalization
- Custom Renderers
- Render into xlsx
- Using a Before Render Event to Expose an
- Testing
- Traversal Tutorial
- Views
- Miscellaneous
- TODO