<div dir="ltr">Andrew,<div><br></div><div>Have you considered bottle.py?<div><br></div><div><a href="http://www.slideshare.net/r1chardj0n3s/web-microframework-battle">http://www.slideshare.net/r1chardj0n3s/web-microframework-battle</a> (although the weighing is pretty subjective i guess).<br>
</div><div><br></div><div style>its all in one file (about 3200 lines of code), no special dependencies, simple to use, i think gevent support, python 3 support, good documentation, ...</div></div><div style><br></div><div style>
for now i am going with bottle (although with the built in single thread web server).</div><div style><br></div><div style>Cheers, Lars</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 2, 2013 at 10:59 PM, Andrew Francis <span dir="ltr"><<a href="mailto:andrewfr_ice@yahoo.com" target="_blank">andrewfr_ice@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>Hi Richard and folks:</div><div>
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">Message: 1<br>Date: Thu, 28 Feb 2013 13:45:00 +1300<br>From: Richard Tew <<a href="mailto:richard.m.tew@gmail.com" target="_blank"><span>richard.m.tew@gmail.com</span></a>><br>
To: The Stackless Python Mailing List <<a href="mailto:stackless@stackless.com" target="_blank">stackless@stackless.com</a>><br>Subject: Re: [Stackless] stackless & web.py<br>Message-ID:<br>    <CAN=X-THaqXp_8pY=<a href="mailto:fkKBxKHnQbzckJsgkynsBkiVY_PNc0X_xg@mail.gmail.com" target="_blank">fkKBxKHnQbzckJsgkynsBkiVY_PNc0X_xg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br><br>On Wed, Feb 27, 2013 at 3:18
 AM, lars van Gemerden <<a href="mailto:lars@rational-it.com" target="_blank"><span>lars@rational-it.com</span></a>> wrote:<br>> I am in the process of finding a way connect my application to a webserver.<br>> I am considering web.py but read somewhere that stackless and web.py might<br>
> not be compatible. Is that true?<br><br>...<br><br>>There are several options:<br>>1) Write a Stackless compatible web server.<br>>2) Adapt an existing web server to be Stackless compatible.<br>>3) Monkey-patch using 'stacklesslib', which makes the blocking calls<br>
>built into the Python interpreter and standard library Stackless<br>>compatible.<br><br>>Feel free to follow up with further questions, or request<br>>clarification if I the above is not clear :-)<br></div><div style="color:rgb(0,0,255);font-size:16px;font-family:times new roman,new york,times,serif;background-color:transparent;font-style:normal">
<br></div>I am in the market for a Stackless http server (currently I use Stackless with Twisted). I looked at web.py. <br>Excluding Python 2.3 compatiability code, it looks like over 90% of the threading for web.py is in <br>
util.py.<br><br>I believe there is a version of web.py that uses gevent (<a href="http://code.google.com/p/gevent/source/browse/examples/webpy.py?r=aa7080f89a735172d49dc02627153368280cbc82" target="_blank">http://code.google.com/p/gevent/source/browse/examples/webpy.py?r=aa7080f89a735172d49dc02627153368280cbc82</a>)<br>
<div style="color:rgb(0,0,255);font-size:16px;font-family:times new roman,new york,times,serif;background-color:transparent;font-style:normal"><br></div><div>I don't think it would be that difficult to create a Stackless version. It would give me an opportunity to play with</div>
<div>stacklesslib</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">Cheers,</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
Andrew<br></div><br><div style="font-family:times new roman,new york,times,serif;font-size:12pt"> </div>  </div></div><br>_______________________________________________<br>
Stackless mailing list<br>
<a href="mailto:Stackless@stackless.com">Stackless@stackless.com</a><br>
<a href="http://www.stackless.com/mailman/listinfo/stackless" target="_blank">http://www.stackless.com/mailman/listinfo/stackless</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>====================================<br>
Lars van Gemerden<br><a href="mailto:lars@rational-it.com">lars@rational-it.com</a><br>+31 6 26 88 55 39<br>====================================
</div>