Pecan

Software Screenshot:
Pecan
Software Details:
Version: 0.8.3
Upload Date: 28 Feb 15
Distribution Type: Freeware
Downloads: 201

Rating: 1.0/5 (Total Votes: 1)

Pecan focuses on an app or website's relation to HTTP requests, unlike classic frameworks that deal with sessions, databases and user interactions.

In this way it's a low-level Python framework, but one more powerful than classic solutions because it allows developers to build more efficient and performance-based apps instead.

Features:

  • Various security features included
  • Template language support
  • JSON support
  • Object-dispatch for easy routing (via WSGI)
  • REST-style controllers
  • Easy configuration
  • Extensible codebase
  • Documentation

What is new in this release:

  • For HTTP POSTs, map JSON request bodies to controller keyword arguments.
  • Improved argspec detection and leniency for wrapped controllers.
  • When path arguments are incorrect for RestController, return HTTP 404, not 400.
  • When detecting non-content for HTTP 204, properly catch UnicodeDecodeError.
  • Fixed a routing bug for generic subcontrollers.
  • Fixed a bug in generic function handling when context locals are disabled.
  • Fixed a bug that mixes up argument order for generic functions.

What is new in version 0.6.0:

  • Added better support for hook composition via subclassing and mixins. For more information, see :ref:`attaching_hooks`.
  • Added support for specifying custom request and response implementations at the WSGI application level for people who want to extend the functionality provided by the base classes in webob.
  • Pecan controllers may now return an explicit webob.Response instance to short-circuit Pecan's template rendering and serialization.
  • For generic methods that return HTTP 405, pecan now generates an Allow header to communicate acceptable methods to the client.
  • Fixed a bug in adherence to RFC2616: if an exposed method returns no response body (or namespace), pecan will now enforce an HTTP 204 response (instead of HTTP 200).
  • Fixed a bug in adherence to RFC2616: when pecan responds with HTTP 204 or HTTP 304, the Content-Type header is automatically stripped (because these types of HTTP responses do not contain body content).
  • Fixed a bug: now when clients request JSON via an Accept header, webob HTTP exceptions are serialized as JSON, not their native HTML representation.
  • Fixed a bug that broke applications which specified default_renderer = json.

What is new in version 0.5.0:

  • This release adds formal support for pypy.
  • Added colored request logging to the pecan serve command.
  • Added a scaffold for easily generating a basic REST API.
  • Added the ability to pass arbitrary keyword arguments to pecan.testing.load_test_app.
  • Fixed a recursion-related bug in the error document middleware.
  • Fixed a bug in the gunicorn_pecan command that caused threading.local data to leak between eventlet/gevent green threads.
  • Improved documentation through fixes and narrative tutorials for sample pecan applications.

What is new in version 0.3.2:

  • Made some changes to simplify how pecan.conf.app is passed to new apps.
  • Fixed a routing bug for certain _lookup controller configurations.
  • Improved documentation for handling file uploads.

Similar Software

ColtJS
ColtJS

13 May 15

Locomotive
Locomotive

13 May 15

Nib
Nib

1 Mar 15

Knockout
Knockout

10 Dec 15

Comments to Pecan

Comments not found
Add Comment
Turn on images!