Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Pyramid handlers emulate Pylons 1 controllers

Project Description

pyramid_handlers is a package which allows Pyramid to largely emulate the functionality of Pylons 1 “controllers”. Handlers are a synthesis of Pyramid url dispatch and method introspection of a view class that makes it easier to create bundles of view logic which reacts to particular route patterns. It works under Python 2.6, 2.7, and 3.2.

See http://docs.pylonsproject.org/projects/pyramid_handlers/en/latest/ for detailed documentation.

0.5 (2012-03-20)

  • Python 3.2 compatibility (sans ZCML support; pyramid_zcml does not work under Python 3).
  • Removed Python 2.5 compatibility. This also means Jython compatibility has been dropped. If you need Python 2.5 compatibility, use 0.4.
  • No longer raises a ConfigurationError when an __action_decorator__ is an instance method (there’s no distinction between unbound methods and functions under Python 3).

0.4 (2011-11-25)

  • Add pyramid.handlers.method_name_xformer setting, which allows the view associated with a handler action to match when a converted action name is found in the URL (as opposed to the original method name). See this version’s docs for more info.
  • Use submodule for docs theme.
  • Modify tox testing scheme.

0.3 (2011-08-24)

  • Using None as a pattern is no longer permitted in a call to add_handler. This is for compatibility with an upcoming Pyramid “route groups” feature.

0.2 (2011-07-22)

  • Fix include example in docs.
  • Add example of __action_decorator__ in documentation.
  • Drop install dependency on pyramid_zcml.
  • Add a tox.ini for Jenkins testing.
  • Fix tests for Pyramid 1.1.

0.1 (2011-01-18)

  • Initial release, broken out of Pyramid core.
Release History

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_handlers-0.5.tar.gz (33.3 kB) Copy SHA256 Checksum SHA256 Source Mar 20, 2012

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