pyramid开发者文档: https://trypyramid.com/documentation.html
一、pyramid简介
在Python web 开发框架里有多种选择,有Django、Tornado、Flask、web2py、Pylons、Pyramid等等,
Pyramid以其高效率和快节奏的开发能力而出名。官方文档是这样描述的:Pyramid is a small, fast, down-to-earth Python web framework. It is developed as part of the Pylons Project. It is licensed under a BSD-like license. 此开源Web框架有一个独立于平台的MVC结构,提供了开发的最简途径。此外,它还是高效开发重用代码的首选平台之一。
二、pyramid安装
按照官方文档即可。As an example, for Python 3.6+ on Linux:
#set an environment variable to where you want your virtual␣environment
$ export VENV=~/env
#create the virtual environment
$ python3 -m venv $VENV
#install pyramid
$ $VENV/bin/pip install pyramid
#or for a specific released version
$ $VENV/b