pyramid_addons

A package containing extra needed pyramid functionality including helper functions and form validators.


Keywords
pyramid, validation, addons
License
BSD-2-Clause
Install
pip install pyramid_addons==0.21

Documentation

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.