python bottle框架

  • 简介:

Bottle是一个快速、简洁、轻量级的基于WSIG的微型Web框架,此框架只由一个 .py 文件,除了Python的标准库外,其不依赖任何其他模块。

Bottle框架大致可以分为以下部分:

路由系统,将不同请求交由指定函数处理
模板系统,将模板中的特殊语法渲染成字符串,值得一说的是Bottle的模板引擎可以任意指定:Bottle内置模板、mako、jinja2、cheetah
公共组件,用于提供处理请求相关的信息,如:表单数据、cookies、请求头等
服务,Bottle默认支持多种基于WSGI的服务

  • 安装

pip install bottle

easy_install bottle

框架基本使用,例:

#!/usr/bin/env python
# -*- coding:utf-8 -*- from bottle import Bottle
root = Bottle() @root.route('/index/')
def index():
return "Hello World" root.run(host='localhost', port=8080)

效果:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOcAAABpCAIAAABOLKPfAAAZNklEQVR4nO2d+VsTWbrH6++5z9zu0daeK91zZ+6d5c7WPb24tTYoiICItrLIEpAQAgHc4oZGSSsEBRHCEglb2EETQUD2JEAC2UNCVgJJUO4PB6uLqkoljbQQ+nyf7+NTnLxnqVOfenPqJCCyP+KHAxFnD5w4d+jE+UMn4w+fTPwuOvHIqeSjscmhsamhsamhcalhp2mhp9PCztDC4tKOxaWFxdHC4tJC42hhcWlhcelhZ2hhZ9JC49LC1kwLjaOFxdGOnUk/djYj/GxG+A+Z4efoEfH0E4mMk4nMk0k5UUk50Rdyo5Nzo5NZMSl5p1LyYlLyYlLzY1PzT6Xlx6YVxKZdiqVdiqVdOv3u39NpBbG0S6fSCmLTCk6ByNT8U6l5MSn5MaD6WiN5Man5GBfEpBXEpKLOj0nNjwZOyY9OyYtOyYtKyYtKzotKZp0EvsA6eSE3EjgpNzIp5wRwIjMikRmRwIxIyI5IyA6PxzghOzwhOyKBGZHIjEgE8bnvDOrmRKwZtLDm8J/hbB9mhmMaBO2vqxWfHR6ffTyecTyecfw849j5rDWfw/hd4fHzjOOYM1rneN9+N4zwdzMQkZiz/hzBGLJ9juGn3hnh8dnr2lk/daAXxL70Bho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7vl2uJb6GYOuTUkr7rUq0ucS1i+IsS4gfpr3Hi7UE5MLhC2KbaBGqJ8kstvlHKnSv0RQy0PzWzDnh/jRPvDsqBQWq3qTaBWiraNiHXrnuG+qmvtdXC+gezQHItpDb49Z5PY1TYbs66Fq0dFbVu4wBgS1boZ13ri1riKMA7CaR2++m99xBwTyxydggJqf73EKg/2CJ9nH+3SUUCqa/GKaldo3TdGgRSuy21Gfu12O1RH5tK+DrrFsT+uVgLx40F9EscoO/GqaldX3Vt+QGp3YaC3/mCCj5BaqGCT5BaqOATpBYq+ASphQo+QWqhgk+QWqjgE6QWKvgEqYUKPkFqoYJPkFqo4BOkFir49P9/QRg7TK9rbAAAAABJRU5ErkJggg==" alt="" />

一、路由系统

路由系统是的url对应指定函数,当用户请求某个url时,就由指定函数处理当前请求,对于Bottle的路由系统可以分为一下几类:

静态路由
动态路由, 正则表达式
请求方法路由, POST、GET、PUT等
二级路由, 分发至其它入口

1、静态路由

@root.route('/index/')
def index():
return "welcome index page"

2、动态路由

输入的URL跟参数

@root.route('/index/<pagename>')
def index(pagename):
return pagename

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAASoAAABjCAIAAACjeNpoAAAXsElEQVR4nO1d+1dTV74/f89dc+9da2bae6WdO713Hnde7bQzttp61aoMvqqttbVWQMIbH2gslYqSKiYKIvJIJLzCK0EJSgF5hxMIBBJIyDsQyEnG3B82bHfOK4cAHmz3Z31W12FnP777e76f/d1nn8QSvqV/YmKKTouPndPesMlFTTipSXfI7AlNe8Mz3vCMN2zxoeRsbvGJPzUeEjZfCBNTdI67OOgMGR0U6aCMToqzDi9FnxoPiTlfCBNTdBpdm0XRp8ZDLD/MLcHxzdHe+FaXnzcknDOu5T7SqtEPVzV331Hp5CqtXKW9o9JVNXdr9MN9pNXiDq6pQ0xMSKNz4yn6pPhJzHpDQjg+59N0jciV2krN085+08jU/Picz+JcmnEExud8I1Pznf2mSs1TuVLb/GR0wuYX2C0mJuRmyE/0SfEztvxm3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q5zlhaBg+XFbEufUot9TCt18Mua08uISyw8jGvgXDy8Ha9oYY/xUgOX3UoDVh8EGLL9NQdThFH7njsEBLL/NAufXWDEwVoHlh4EhGrD8MDBEA5YfBoZo+H9VaGb8mYPDkgAAAABJRU5ErkJggg==" alt="" />

输入的参数为数字

@root.route('/index/<id:int>')
def index(id):
return str(id)

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAARMAAABfCAIAAABEJrRMAAAWs0lEQVR4nO1d+1tTx7pef8959jnnebrbniNtz+45e7en993urdXWo1Zl463aqvVSAblfvKCxKIqSKiYKInJJJNzCLQEJSgG5h0QCgQQSEnKDQBK2nB9Gh2GtWZPFAovovM/7Q5w1880333zvzKyLyox7Q5SUlEslM+4JCeTo5GyHwarW9RbXtN5SamVKjUypuaXUFte0qnW9HQarxRUQbo2Sck2TGfOEwvLJuFfd0idTaIrUj5o7TX3DE0/GvRbnzKjD/2Tc2zc80dxpKlI/kik0NQ/7B20+ITYpKdc0wyhn1BWobzPIFA11rfoRh3/CN0fgiMNf/5tepmhoaDdaXMFVHxsl5YsjSTlPxn2F1Q8rHnSH1QxK88R0eVNXYfXDJ+PeVR8eJeULImP1hLDst7hu3W9s7jLZfXMi+KDTlJVXkVfeXNrQTkn56pGxukNcDlg9N0rqOwYsdu+caLbpLXJFvcvjnaOgeOWAUc6wY1au1DZ1DC5HNoBNHYOFlQ+CodA8BcWrBcbiDrFY1dJf2tBu886tCEvr21oe61d7mBQUKwy2cvRWj/Rerck+JUQVObeKbtxRkOuY7FO/FtV4fNMr7np3d/eK26SgEAhm1B1CWf6gR/2of9w7F5Yn0yT//h/v/9vb70uyb5Jrqh/1a37rJfvx9OlTq9VaV1dXUFBQUFBQV1c3Njb29OlTQhOqHIpVBDPqCkEOOWalRbUjEzPjnjky41Il6/77s8837vhk/bY33/1wzB0iVDbb/deLa0Nzc3xOeL1emUym1Wrtdvvs7Ozs7KzdbtdoNHK53Ofz8bWiyqFYRTCjriDkw77Ru9UtYb87i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usa0tRzmKLAvqieG2wfOXwbR9idxzWVWL/BkkEyGH+bOb0JUg5GA8F9EXxGmHZyuGc1eDdETe5CJd4DS6+oec8BHjmGjebefsiGCS0IvZF8Rpiecph3c1zW/Jc5L1ENAguPncGyWViNhPcWGyQ0EpoXxSvD5ajHFUUX949w1IPbGENLnjDSt/w902EMYTzcCl9UbwuEK0c8r0K0pi0FXBepQg1uOj1j7DXPQLdWG5fFK8JxCmHeKhiVRO05yzXoNg9R8wluudQzItTDv86bZBEsE416K0C3yXywi9IXouzmdwXn0FSK/6+KF5TkN6E4o8n+MPLYhWEeXC1+NISDJIfVfB9tENwA7cmhDuKUeVQzNMvPikoxIEqh4JCDKhyKCjEgCqHgkIMqHIoKMSAKoeCQgz+H8OoJ3+mGHdBAAAAAElFTkSuQmCC" alt="" />

正则表达式

@root.route('/index/<name:re:[a-z]+>')
def index(name):
return name

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAABdCAIAAABb6H8lAAASrUlEQVR4nO2d6VtT177H999zn3PvfZ6e2nul7T09Q3s7n/YcrbZetSoHp2qr1qEyhTAEVCSKoigpIlEQY4BEAiQBAmFIlAIyZ5AMkEBC5oRAdnLkvlh2neXeO5sInKD3ru/zfZGsrHl98ltr7eAjMeuPon46FxQpHrX0jk67wvPBWIK2zi8094yIFI+ezgUoFWJjoybs/ij0pM1752F334jJGYytwr3DprKalprmvsbOQWxsRhN2XxRYb/ffalAN6W3OQGzVHtDZhBKV1x+IYWEx6TlwFteSUKruGZpaC23APUNTotZeMhpdxsKiibD5ojZfVK6dbOwcdARi6+JG1YD2iW6jh4b1Koqw+aI6u1/woN3kDCUCU8Ud8a17EvY8JmfoZ3GbP7iw7t0dHR1d9zqxkilixhdt7h1TPp6cC8RWdBaP/+//8d6/vfUev/w2e07l48muX8bZ23727Jndbu/o6Kirq6urq+vo6JidnX327BlLEQzc6y7C7FoSiNun5xfn/DF2ZxfwN//+08+27f14y+433/lg1hdlyWx1hivr26OxWLyGA4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ZpQaMbiWT001a+fG7H6NnwuVufHOnvbowl532g8v+4DXHcb5yNWD2n3P99V7f6o1UMa59etfvwHmNhJNQYOO6nGwGEn1Rg47KQaA4edVBN1ykFs7KR5ff5rWyysBIWBw0qqMHBYSRUGDiupwsBhJVUYOKykCgOHlVRh4LCSKgwcVlKFgcNKqjBwWEkVBg4rqcLAYSVVGDispAoDh5VUYeCwkio6cAZ+yq//BjeFb1g5HQvrJfQicACqNBl8y5expmNhvaRQ4Az8FMboFS8dC+ulhQInS2PmKl46FtZLCwHOwE9Bts2V07GwXl5U4PCOivVPFT7DYSVVL95SZWkE4200XjoW1kuK9hwOedz2QlSLl46F9TLCvzRgJVUYOKykCgOHlVRh4LCSKgwcVlKFgcNKqjBwWEkVBg4rqfpfh4qZYEIpEukAAAAASUVORK5CYII=" alt="" />

静态文件

#!/usr/bin/env python
# -*- coding:utf-8 -*- from bottle import Bottle, static_file
root = Bottle() @root.route('/index/<path:path>')
def index(path):
return static_file(path, root='E:\static') root.run(host='localhost', port=8080)

3、请求方法路由

@root.route('/index/', method='POST')
def index():
return "post" @root.get('/index/')
def index():
return "get" @root.post('/index/')
def index():
return "post" @root.put('/index/')
def index():
return "put" @root.delete('/index/')
def index():
return "delete"

4、二级路由

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAABSCAIAAACUm6K+AAAKnklEQVR4nO2d308b2RXH8wdAqz41qapV06a7Jul2yyo/WMc2NhhTgsH8sAMEsCN+bAAPThVtkRJ7bfYXDgYDrSfUECIhEQ8bAkvJ4q123Gi1L32pVKXqwzbb5X/pw525c+fOjBn/whf7jr4PnmHmzmHOZ865Fx8dzng8HlOjjYoK6gxlggoTZYIKV9GYeLk6gink7yn7r0eVh0rIhB4sjJ7ZFM/z3GyvxVq4DcJoPDuZ12iTLM/zXNhTBEvIkdHiCyZjTGcOv1RpmVCVihdzYaI3wqGeQ3dPERPO6Vgy5DNauphYck3cksnQoGh5Hr5UVaFMpFKpPbXt6dOn5DCBeQ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uLTJyfjtAAAAAElFTkSuQmCC" alt="" />

index.py

#!/usr/bin/env python
# -*- coding:utf-8 -*-
from bottle import template, Bottle
from bottle import static_file root = Bottle() @root.route('/index/')
def index():
return template('<b>Root {{name}}</b>!', name="wang") import sub_index01
import sub_index02 root.mount('index01', sub_index01.index01_obj)
root.mount('index02', sub_index02.index02_obj) root.run(host='localhost', port=8080)

sub_index01.py

#!/usr/bin/env python
# -*- coding:utf-8 -*-
from bottle import Bottle index01_obj = Bottle() @index01_obj.route('/sub_index01/', method='GET')
def index():
return "sub_index01"

sub_index02.py

#!/usr/bin/env python
# -*- coding:utf-8 -*-
from bottle import Bottle index02_obj = Bottle() @index02_obj.route('/sub_index02/', method='GET')
def index():
return "sub_index02"

访问主页

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAAB6CAIAAADGcKOtAAAYo0lEQVR4nO2d+VsbR5rH9ffsM7v7PJnJ7JpkdmZ3jp2ZTDLJjBM78dqObQZfARscAzZgQAjEYWw5mBthsMQlhAAJBEhC4kbivkESRpwChIQuTokx+0NBU3S3WjIQ047r+3wfP1Kpuurtqk+/Vd2SbUbHpLNDZ2/T2lrGrc3jFtXIinJwUTFglPXONfTO1HfPSLum6jRTdV2Gui5DfTd4MSXVTEk1r6Sdk9JOfU2HrqZDJwF/dmprOnU1nbqaDl1th66mQ1vToZW0j4vbxsVtY+K2MUnbuLh1TNw2LmkbF7ePS9onJO3jNe0TkvaJmo4JSbu2pkNb0z4h2f9I3DYmbh0Vt45Wt4xUNw9XNg+JVAMiZX+Fsk/Y2CdU9JbL9w2/lveWy3sF8h6BrEcg6ymTgRe9Ajlwn0DRX07igfJG4MHyxkGhckioHBIqh4WqYaFqpEI1UtGEebSiaaRCNSJUjQhVw+XKIUHjYJlioEzeVyrrLWnoKa7vLqrrKpJ2FdXh3L3vriJpF1+q4Us1fOl+eX1PcX1PcUNviawPdqmsr1TWv2d5f6l8oFQ+UKYYLFMMljUOCRqHBMrhcuVIuXKkXA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dGodkk0uKBMm8VIEA8pS3iZpgYx6GeDp6D+sQoIQry+ojRUxT6TQlO78i3X++T3ndG9Rw/su0HQpRGQoy+lV94IR1DiFEco2jnSTu974wi0V+IUSS6CzGKRHchRpHoLsQoEt2FGEWiuxCjSHQXYhSJ7kKMItFdiFEkugsxikR3IUaR6C7EKBLdhRhForsQo0h0F2IUie5CjCLRXYhRJLoLMYpEdyFGkeguxCgS3YUYRaK7EKNIdBdiFInu+n9Hcln/k4lLHAAAAABJRU5ErkJggg==" alt="" />

访问sub_index01子应用和sub_index02子应用

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATgAAAB3CAIAAAAYZMswAAAeuUlEQVR4nO19+VcjR56n/p59s7vv2e3etds907sz3duXPe6Zcrtsj8ttG1MUFNRdxX0IcRYUUNwgDiFxg+77RhKHOCVxClHcNwIkcUt0sT8EJElmKiWgMKgdn/d5tpSKjPhGxOcTVyY2hT3sYg87+aNbMuu2dnKvc9bdO+/unff0L3gGFjz9C+6BBXf//EH//EHf3H7f7H7PzF7vzE7P1E73+GaX1d4xstxuntUZx7WGQbWqRyXvUErbFSKdTKiVCTRSgVrKV0uFGjFfI+GrxTyVkKsQcpVCnkrEVwv5GqGgTSjWC6UdInmXUG4UKYxCuVEk7xbIu/jSDoHYwBfreSIdT6Tji/U8sYEnaefJOvnyboGqT6DpF6j7+Ko+vrKXp+jhyLtbpV3Nks5GcWe9uKtWYmRKuhmSHoa0lyHrY8j6GXLAAYZ8oEY+UKM4JVNhYipNLKW5VmmuU1nq1YMNmsFGzWC9erBOZWEpzUylGfxaqzTXKk11ioE6eV+drLdO2lMrMbLEnUxhR43AwBAYGHx9NU9fzdNV8/QMvoEhMNQI2muE7cg/q/n6Km5bBVtDb1XTW1X0FhW9RVXeoqK3quit6gq2upKjreLpGHxDjbCDJTHWy3oblQPNGktr2zBbN8LRj3IMY1yDFU2OYYytH2Prx1p0o01tI/XaYZZ6iKEarFIOVigs5TJzqcxUKjWVnIelMlOZzFwm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shUCBqhVuSK5pERnDyswRVVvOgXvzzsG4YxbP3iofHF34x7C/fNJmyQBARRAo9cwyIKLZGowH8jypVPK0ww5Uphzb3oLfzP55XR/JUpfIYRLyTJlCCnKMmZFsGWALdc2X1XiFy5v+bqJkxkjHD5vIDZElqdYRgaKuGXaBvMBJfLVpIKE2wNRIquuJcKS4bxZngCE2dMxK9miXBIUQS7nis7hlEUWa7knIlgy4B37/piK8iecb4oiSBXHm9fnVzD28HlygRSn3H3ESRXZrpAQBA1CDgZfq4EQVFss6Mrv1wj5dzhCmYOBTeVbFkJthaEPchB/BZXVHiuyAxGkR7tCJYr80vQNefOFu8kQcV8tsoIt+RhK8EWBt9RU0LYkSzrcdBK0MJOhsNPb3ldXrhcMQGtdB3eV5jcWE6hwgXLOD/m2dgSEEQdfNEVecbJTH/DH35iyTD3c1MGViHX8K5XHu/ip8G4yXjAx/awrKay74SJegmiDPKLHAIC0YDIlYBANHhpckXzVPYcm4CAgB8kuhIQiAZErgQEogGRKwGBaEDkSkAgGhC5EhCIBkSuBASiAZErAYFo8P8bofiDzhwp8QAAAABJRU5ErkJggg==" alt="" />

python bottle框架的更多相关文章

  1. python bottle框架(WEB开发、运维开发)教程

    教程目录 一:python基础(略,基础还是自己看书学吧) 二:bottle基础 python bottle web框架简介 python bottle 框架环境安装 python bottle 框架 ...

  2. 让python bottle框架支持jquery ajax的RESTful风格的PUT和DELETE等请求

    这两天在用python的bottle框架开发后台管理系统,接口约定使用RESTful风格请求,前端使用jquery ajax与接口进行交互,使用POST与GET请求时都正常,而Request Meth ...

  3. python bottle 框架开发任务管理系统 V_1.0版

    经过1-2个星期的开发,现在开发了个半成品(UI现在比较烂,因为我的前端本来就很差,将就下吧),大概功能如下:用户功能(添加.删除.修改),添加部门功能,任务管理功能(添加.删除.修改,详细).项目管 ...

  4. 让python bottle框架支持jquery ajax的RESTful风格的PUT和DELETE等请求(新方法)

    通过上篇博文的方法处理后,进入代码调试后发现ajax获取不了服务器端返回的数据,度娘后发现原来AJAX的OPTIONS请求方式是状态类型查询,即向服务器提交信息后不返回任何信息,只将执行状态(200状 ...

  5. python bottle框架 解决跨域问题的正确方式

    经查询,网上有几种说法 https://www.cnblogs.com/EmptyFS/p/6138923.html 我首先查到的就是这个,我采用了文中所说的修改源码的方式, 但是经测试发现,修改源码 ...

  6. Python开发者须知 —— Bottle框架常见的几个坑

    Bottle是一个小巧实用的python框架,整个框架只有一个几十K的文件,但却包含了路径映射.模板.简单的数据库访问等web框架组件,而且语法简单,部署方便,很受python开发者的青睐.Pytho ...

  7. 关于python的bottle框架跨域请求报错问题的处理

    在用python的bottle框架开发时,前端使用ajax跨域访问时,js代码老是进入不了success,而是进入了error,而返回的状态却是200.url直接在浏览器访问也是正常的,浏览器按F12 ...

  8. Python自动化运维之29、Bottle框架

    Bottle 官网:http://bottlepy.org/docs/dev/index.html Bottle是一个快速.简洁.轻量级的基于WSIG的微型Web框架,此框架只由一个 .py 文件,除 ...

  9. 微型 Python Web 框架 Bottle - Heroin blog

    微型 Python Web 框架 Bottle - Heroin blog 微型 Python Web 框架 Bottle

随机推荐

  1. js中各种宽度高度总结

    offsetWidth 是对象的可见宽度,包滚动条等边线,会随窗口的显示大小改变 IE6.0.FF1.06+:offsetWidth = width + padding + borderoffsetH ...

  2. hdu5481 Desiderium

    链接 Desiderium 题意 给定n条线段,从中选取若干条,共有2n种选法(因为每一条线段有两种方法:选或者不选). 每一种选法都对应一个长度,也就是所选线段的并集长度. 求这2n种选法长度之和. ...

  3. linux 系统下 android studio 获取SHA1

    百度地图申请key的时候需要填写包名和SHA1 包名比较好找可以在 AndroidManifest.xml 文件中找到 SHA1的获取方式有两种可以在android studio 下面选择Termin ...

  4. 第八章:Java集合

    1.Java集合 A:对象的容器. B:实现数据结构(栈.队列) 2.  Set:无序不重复 List: 有序可重复,长度可变. Map: 存放键值对. 3.  Iterator foreach

  5. MyBatis学习--SqlMapConfig.xml配置文件

    简介 SqlMapConfig.xml是MyBatis的全局配置文件,在前面的文章中我们可以看出,在SqlMapConfig.xml主要是配置了数据源.事务和映射文件,其实在SqlMapConfig. ...

  6. 【BZOJ 3150】新Nim游戏

    http://www.lydsy.com/JudgeOnline/problem.php?id=3105 并不会QwQ 为什么贪心是正确的. 向小神请教了一个弱智问题(小神好神啊OTZ) 然后就写了一 ...

  7. puppet的配置

    1时间问题 agent与master端务必要保持时间的一致性,最好使用ntp服务 检查ntp服务是否安装 [root@master-elk ~]# rpm -qa|grep ntp ntpdate-. ...

  8. Entity Framework Code First (四)Fluent API - 配置属性/类型

    上篇博文说过当我们定义的类不能遵循约定(Conventions)的时候,Code First 提供了两种方式来配置你的类:DataAnnotations 和 Fluent API, 本文将关注 Flu ...

  9. NHibernate中session.update()及session.merge()的区别

    今天的工作中遇到一个奇怪的问题,如下: "a different object with the same identifier value was already associated w ...

  10. js学习笔记6----作用域及解析机制

    1.作用域: 域:空间.范围.区域… 作用:读.写 script  全局变量,全局函数 自上而下 函数 由里到外 {} 2.js解析: ⑴   “找一些东西”:var. function. 参数…… ...