Paster
Python Paste 常被簡稱為 paste,是由 Ian Backing 開發的工具模組,用來協助建立 WSGI 專案。
http://ivory.idyll.org/articles/wsgi-intro/what-is-wsgi.html 所有的 web app framework 都支援 WSGI 了,原則上只需要處理設定跟佈署的議題。 WSGI PEP 只規範最精簡的介面需求,完全沒提及佈署方式,少數提及設定方式,這些議題都是 Paste 的實作範圍,也因此,討論 WSGI 內部細節時,常和 Paste 扯在一起。
http://pythonpaste.org/script/developer.html Paste 分成 WebOb, Script, Deploy 等部份,其中 Script 提供的 paster 是兩階式的工具程式,可以用來執行 paster help 或 paster create 這樣的指令。 ZopeSkel 就提供 template 給 paster 執行。