pyramid

pyramid One of the pylons projects. It's not a full-stack framework, but it can handle small to large apps.

Dependent libraries

When installed, a lot of webob, mako and other libraries will be installed. The pyramid framework is built on top of these libraries, so it's flask-like.

View

venusian The setting of the view_config function is delayed until the application is executed. In other words, using a function that is decorated as a single unit has no effect on the view_config function.

This is undertaken by a library called venusian. http://docs.pylonsproject.org/projects/venusian/en/latest/

This allows you to write tests without worrying about the side effects of ** decorator functions. ** **

I wonder if it makes sense to be able to use python decorators as just metadata, like java annotations. Even if the mechanism behind it becomes complicated, I think it's good that it is easy to write declaratively.

Recommended Posts

pyramid
Introduced Pyramid
pytest + webtest + pyramid
Redirect with Pyramid
Play with Pyramid
Returns json in Pyramid
About Python Pyramid traversal
zipimporter error in pyramid
pyramid tutorial notes (single_file_tasks)