API Documentation

pyramid_beaker.set_cache_regions_from_settings(settings)

Add cache support to the Pylons application.

The settings passed to the configurator are used to setup the cache options. Cache options in the settings should start with either 'beaker.cache.' or 'cache.'.

pyramid_beaker.session_factory_from_settings(settings)

Return a Pyramid session factory using Beaker session settings supplied from a Paste configuration file

pyramid_beaker.BeakerSessionFactoryConfig(**options)

Return a Pyramid session factory using Beaker session settings supplied directly as **options