Supporting Windows for this project is not a big priority, so I would be OK with using a framework which doesn't support it.
Personally I would probably choose Twisted, because it already supports running blocking code in a thread (threads.deferToThread) and we need to do that, because all of the Libcloud is blocking and not async. I don't think Tornado has a similar construct which makes running a blocking function in a thread pool easily, but I might be wrong. - Tomaz 2012/3/23 Ilgiz Islamgulov <[email protected]> > I added a comment to the REST interface task. > > As for me first of all we need to choose framework. > > Tornado may be a better choice than Twisted and Gevent for async code. > Twisted has grown big, complex and it doesn't support Python 3. > I think Gevent is not good choice because monkey patching standard library > is something weird for me. > Tornado has disadvantages too, Tornado doesn't run on Windows > unfortunately. (Is it required to support Windows ?) > > Also Django+Tastypie is an interesting solution. Tastypie already support > a lot of features. Last month i visited Python conference, here one of > speakers told us about REST API. They use Tastypie to create richest APIs > at oDesk corp. > > What do you think? > Thanks. > > > 23 марта 2012 г. 5:35 пользователь Tomaž Muraus <[email protected]>написал: > > Hey Ilgiz, >> >> We already have multiple students interested working on the CLI task, but >> we have no-one for the "REST interface" task yet. It sounds like you would >> be a great fit for this task. >> >> Ideally, like you have said we could share a lot of the code which parses >> the docstrings, etc. between the "CLI tool" and "REST interface" project. >> This means you will also need to spend a lot of time collaborating with >> other student which will work on the "CLI tool" project. >> >> Official GSoC 2012 student applications will open in a few days, which >> also means we need to start working on the official proposal soon. >> >> For now, please register on our ticket tracker ( >> https://issues.apache.org/jira/browse/LIBCLOUD) and add a comment to the >> REST interface task (https://issues.apache.org/jira/browse/LIBCLOUD-159) >> which says something like "I'm interested working on this task and I >> provided more details in my email to [email protected]." >> >> Another thing I would like you to do now is to start thinking about how >> you would implement the project and which framework you would like to use >> (Twisted, Tornado, ...). >> >> Thanks, >> Tomaz >> >> >> 2012/3/22 Ilgiz Islamgulov <[email protected]> >> >>> Hello. >>> >>> I'm python programmer and fourth year university student from Russia. >>> Next year I'll write my degree work. I decided to write my degree work >>> about clouds, because I found them very interest and think them have great >>> future. Yesterday I was looking for python libraries for working with >>> clouds and found libcloud. Today then I was revising libcloud and I found >>> GSoC tickets. As for me it's posible to implement CLI and REST interface >>> with minimum code dublication using magic of Python. Maybe it's foolish >>> idea, but I wonder to help your project. If you will find this idea >>> interesting, please answer me. >>> >>> >>> Some things about me: >>> My name is Ilgiz Islamgulov. I'm a CS student of Ufa State Aviation >>> Technical University. Also I'm workinng in Institute of Computer >>> Science, here I've written some helpful application for our cluster, such >>> as cluster jobs scheduler and сlient-server application for the delivery >>> and monitoring tasks on the cluster and many other apps. I' m working with >>> Rackspace cloud and was working with Heruko, AppEngine. >>> >>> I'm sorry for my bad english writing. >>> -- >>> Best Regards, >>> Ilgiz Islamgulov >>> >> >> > > > -- > С уважением, > Илгиз Исламгулов >
