欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Simpleweb
来自开放百科 - 灰狐
(版本间的差异)
第13行: | 第13行: | ||
auth_plugin = auth.SimpleAuth() | auth_plugin = auth.SimpleAuth() | ||
...... | ...... | ||
− | + | ==Install== | |
+ | Once [[setuptools]] and [[easy_install]] are working, installing simpleweb is as simple as: | ||
+ | easy_install simpleweb | ||
+ | easy_install flup | ||
+ | easy_install Cheetah | ||
+ | easy_install SQLObject or easy_install SQLAlchemy | ||
+ | |||
http://simpleweb.essienitaessien.com/ | http://simpleweb.essienitaessien.com/ |
2007年2月24日 (六) 13:11的版本
simpleweb: A simple python WSGI compliant web framework, inspired by Django, TurboGears and Web.py
Functions
- db_plugin
support for two ORMs, SqlObject and SqlAlchemy.
from simpleweb.plugins import dblayer db_plugin = dblayer.SqlObjectDB('mysql://foouser:foopass@localhost/foodb')
- template_plugin
from simpleweb.plugins import template template_plugin = template.Cheetah()
- auth_plugin
from simpleweb.plugins import auth auth_plugin = auth.SimpleAuth()
......
Install
Once setuptools and easy_install are working, installing simpleweb is as simple as: easy_install simpleweb easy_install flup easy_install Cheetah easy_install SQLObject or easy_install SQLAlchemy
分享您的观点