码迷,mamicode.com
首页 >  
搜索关键字:wsgi    ( 943个结果
简单性能测试: bottle vs flask
###目的测试在不同的部署方式下的性能。###硬件环境IntelCorei5-3230MCPU@2.60GHz×4内存:7.4GiB操作系统:Ubuntu14.0464位###uwsgi```uwsgi_python--http-socket=:8000--workers=2--wsgi-filehello.py--callableapp2>/dev/null```###bottle测试代码(hello.py)```frombottlei..
分类:其他好文   时间:2015-08-06 02:13:10    阅读次数:1116
WSGI学习系列Pecan
Pecan Introduce Pecan was created to fill a void in the Python web-framework world. A very lightweight framework that provides object-dispatch style.....
分类:其他好文   时间:2015-08-05 20:06:43    阅读次数:406
WSGI学习系列WebOb
WebObWebOb是一个用于对WSGI request环境进行包装,以及用于创建WSGI response的一个包。Related API Link: http://docs.webob.org/en/latest/reference.htmlWebOb把WSGI的几个参数、返回的方法都封装成了R...
分类:Web程序   时间:2015-08-04 13:21:30    阅读次数:322
Flask + WSGI + Nginx 云部署
这几天学着用flask写一些rest api,然后部署到云上。这个过程虽然网上有很多的教程,但还是遇到不少的问题!采用flask的原因是因为它比较容易上手吧。用flask有专门restful api的框架,用起来简单粗暴有木有!另外,查了一下flask的应用框架,发现用WSGI + Nginx有下面...
分类:其他好文   时间:2015-08-02 18:03:03    阅读次数:175
fresh in werkzeug
hello world WSGI appWSGI应用WSGI环境用environ参数创建Request请求Responseshello world WSGI appdef application(environ, start_response): start_response( ...
分类:其他好文   时间:2015-07-30 16:47:59    阅读次数:145
Python 学习笔记13:Python + wsgi + django 配置。坑爹的python3和wsgi不兼容的解决
Python + wsgi + django 配置。坑爹的python3和wsgi不兼容的解决
分类:编程语言   时间:2015-07-28 20:29:46    阅读次数:179
django集成tornado进行上线
#*_*?coding=utf8?*_* #!/usr/bin/env?python import?os import?sys ?? from?tornado.options?import?options,?define,?parse_command_line import?django.core.handlers.wsgi import?tornado.htt...
分类:其他好文   时间:2015-07-22 16:42:55    阅读次数:545
WSGI学习系列eventlet.wsgi
WSGI是Web Service Gateway Interface的缩写。WSGI标准在PEP(Python Enhancement Proposal)中定义并被许多框架实现,其中包括现广泛使用的django框架。PythonWeb服务器接口(Python Web Server Gateway I...
分类:其他好文   时间:2015-07-20 12:50:12    阅读次数:244
nova-api源码分析(APP的调用)
3.2调用APIRouter的 __call__函数 nova/wsgi.pyclass Router(object): def __init__(self, mapper): self.map = mapper self._router = routes.mid...
分类:移动开发   时间:2015-07-20 10:33:14    阅读次数:216
快速部署Python应用:Nginx+uWSGI配置详解
快速部署Python应用:Nginx+uWSGI配置详解相比于PHP,Python应用的部署很麻烦,比较常用的方法有fcgi与wsgi,然而这两种都很让人头痛。文章介绍了Nginx+uwsgi的简便方法,来快速的部署Python应用。AD:在PHP里,最方便的就是deployment了,只要把php...
分类:编程语言   时间:2015-07-19 14:58:22    阅读次数:148
943条   上一页 1 ... 79 80 81 82 83 ... 95 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!