This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

What is it

pyramid_maintenance is a pyramid tween.

This tween gives you the possibility to put an application in maintenance mode (rendering only one specific template for all routes), but let a ‘normal’ access to your application for users who have specific permission(s).

How to install it

pip install pyramid_maintenance

How to enable it

If you want to enable pyramid_maintenance tween in your pyramid app, you have to add in your .ini file:

pyramid.tweens = pyramid_maintenance.tween_maintenance

And define the following settings:

# List of permissions (separeted by comma, space, carriage return and/or new line).
# The pyramid app isn't in maintenance mode for people who have one of these permissions.
pyramid_maintenance.permissions = permission1, permission2
# Relative path from defined template location directories.
pyramid_maintenance.template = template.mako

0.2

  • Make you strictless on the .ini file
  • Rename role into permission

0.1

  • Initial version
Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_maintenance-0.2.tar.gz (10.3 kB) Copy SHA256 Checksum SHA256 Source Feb 15, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting