Skip to main content

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.

Project details


Download files

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

Source Distribution

pyramid_handlers-0.5.tar.gz (33.3 kB view details)

Uploaded Source

File details

Details for the file pyramid_handlers-0.5.tar.gz.

File metadata

File hashes

Hashes for pyramid_handlers-0.5.tar.gz
Algorithm Hash digest
SHA256 52e6c57c2bc9b616d0519896925d22f965d0abc2b4dee902192f720544097726
MD5 9f6229b84403eb063b5dc8d2cff42481
BLAKE2b-256 d8e45f4a5bf24f8ee8bcb550bb071bf4a03a8527c499177d11b90b693b5ea4d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page