A package containing extra needed pyramid functionality including helper functions and form validators.
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
pyramid_addons
.gitignore
.pylintrc
.travis.yml
LICENSE.txt
MANIFEST.in Add Simplified BSD License. Oct 30, 2012
README.md
example_add_item.py
lint.sh
run_example.py
setup.cfg
setup.py

README.md

Build Status

Suggested Alternative Packages

I created this package for use in two pyramid projects I was developing simultaneously and the features were needed in both of them. I've since learned about the following packages, and as such I will be removing functionality provided by this package.

Pyramid Layout

Pyramid Layout should completely replace the need for the site_layout decorator that pyramid_addons provides.

Colander

Colander is a validation package that should replace the need for the validation module provided by pyramid_addons. While its syntax appears to be a bit different it is an official pyramid package so it should be utilized rather than a less actively developed package.

Other notes

After discovering that pyramid supports view_configs that handle pyramid's HTTP exceptions, the neccessity for the http_ json response building functions that this package provides are no longer necessary.

Example Program

See the example directory for a sample Pyramid web application that utilizes this package. The run_example.py script will start the web application, and the example_add_item.py script is used to interface with the simple json API the web application exposes.