forked from daqing15/soxo
-
Notifications
You must be signed in to change notification settings - Fork 0
znetor/soxo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Title: a flask-bottle-like micro python web framework Version: 0.14 Author: [email protected] Created: 2012-07-27 Python-Version: 2.6+ License: BSD 免责声明 ======== 一个简单的类Flask框架,由本人写的一个类Django框架改成 框架只是为了让比本菜鸟还菜鸟的人理解Web框架而已,请勿用在实际开发中 代码烂得可以,懒得整理,大家忍受吧! 本人愿意添加好玩的新功能,有BUG或者什么意见建议欢迎提供! 本框架的目标是:1K行代码实现最多最酷的功能! 使用说明 ======== 使用:from soxo import * 即可使用, 见最下面代码例子 开发时使用python soxo.py ./AppMain.py 最简单例子 ========= :: from soxo import * co = Soxo() co.debug = True @co.route('/123/<float:yy>/') class TestView(BaseView): def get(self, yy): print yy return '123', co.run() 更多详细使用例子见examples文件夹 运行examples:cd examples;python soxo.py ./test.py
About
a micro flask like python web framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published