skip to navigation
skip to content

pyramid_authsanity 1.1.0

An auth policy for the Pyramid Web Framework with sane defaults.

An auth policy for the Pyramid Web Framework with sane defaults that works with Michael Merickel’s absolutely fantastic pyramid_services. Provides an easy to use authorization policy that incorporates web security best practices.


Install from PyPI using pip or easy_install inside a virtual environment.

$ $VENV/bin/pip install pyramid_authsanity

Or install directly from source.

$ git clone
$ cd pyramid_authsanity
$ $VENV/bin/pip install -e .


Activate pyramid_authsanity by including it into your pyramid application.


1.1.0 (2017-11-29)

  • Add new Authorization header based authentication source

    This provides out of the box support for “Bearer” like tokens.

1.0.0 (2017-05-19)

  • Remove Python 2.6 support
  • Fix a bug whereby the policy was storing a dict instead of a list in the source, which of course broke things subtly when actually using the policy.
  • Send empty cookie when forgetting the authentication for the cookie source
File Type Py Version Uploaded on Size
pyramid_authsanity-1.1.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-10-30 9KB
pyramid_authsanity-1.1.0.tar.gz (md5) Source 2017-10-30 18KB