[tor-dev] Onionoo in Python

2012-07-09 Thread Norman Danner
On 7/6/12 10:34 AM, Sathyanarayanan Gunasekaran wrote:>> OK; Megan and Erik, after you incorporate the export function into >> Descriptor in stem, please start reading through the Django tutorial. > > I'm not sure if Django is a good choice for this project. We don't > require such a heavy web

Re: [tor-dev] Onionoo in Python

2012-07-09 Thread Sathyanarayanan Gunasekaran
> Is this available yet? Yep - https://github.com/gsathya/pyonionoo It's pretty hacky(it was meant to be a prototype to see if Cyclone was a good idea - and well, i like it) and will probably have to be refactored. > So we need to decide on both some milestones and also what various people > ough

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Norman Danner
On 7/9/12 12:09 PM, Sathyanarayanan Gunasekaran wrote: Is this available yet? Yep - https://github.com/gsathya/pyonionoo It's pretty hacky(it was meant to be a prototype to see if Cyclone was a good idea - and well, i like it) and will probably have to be refactored. Based on a quick look,

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Fabio Pietrosanti (naif)
On 7/10/12 5:36 PM, Norman Danner wrote: > > > On 7/9/12 12:09 PM, Sathyanarayanan Gunasekaran wrote: >>> Is this available yet? >> >> Yep - https://github.com/gsathya/pyonionoo It's pretty hacky(it was >> meant to be a prototype to see if Cyclone was a good idea - and well, >> i like it) and wil

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Damian Johnson
> On APAF (anonymous python application framework) GSoc project, to build > cross-platform Windows, OSX, Linux applications including Tor there is > the use of Twisted+Cyclone. I'm still not clear though - what is the advantage of providing Onionoo as a hidden service? We shouldn't add dependencie

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Fabio Pietrosanti (naif)
On 7/10/12 6:18 PM, Damian Johnson wrote: >> On APAF (anonymous python application framework) GSoc project, to build >> cross-platform Windows, OSX, Linux applications including Tor there is >> the use of Twisted+Cyclone. > > I'm still not clear though - what is the advantage of providing > Oniono

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Sathyanarayanan Gunasekaran
> So basically if you would like to make a desktop application including > Onionoo & Atlas together to provide an end-user an application that he > can download to query/search/analyze the Consensus, APAF it's a good choice. > If you just need to do it for a single application that does not need to

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Sathyanarayanan Gunasekaran
> Based on a quick look, it seems like Cyclone provides a slightly nicer way > to specify how to handle the various requests than does a plain Twisted web > application. Are there any other advantages to using Cyclone as opposed to > plain Twisted? Cyclone provides a much nicer API than Twisted w

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread meejah
Norman Danner writes: > Based on a quick look, it seems like Cyclone provides a slightly > nicer way to specify how to handle the various requests than does a > plain Twisted web application. Are there any other advantages to > using Cyclone as opposed to plain Twisted? >From what I understand

Re: [tor-dev] Onionoo in Python

2012-07-10 Thread Norman Danner
I agree, Twisted is not a web application framework. So the question is this: do we want/need a web application framework for Onionoo? It seems like it is such a straightforward service (process one of a very few different request types, send back a JSON response) that maybe any web applicat

Re: [tor-dev] Onionoo in Python

2012-07-11 Thread Norman Danner
(Side-conversation that got off of tor-dev@, bring it back.) Based on what Sathya has to say, along with our own playing around with plain Twisted, I'm inclined to agree that Cyclone provides enough extra value to justify the additional dependency. Sathya, do you want to work on the back-end

Re: [tor-dev] Onionoo in Python

2012-07-11 Thread Sathyanarayanan Gunasekaran
> Sathya, do you want to work on the back-end while we work on the front-end > (starting with the code you've already written)? Okay. ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

Re: [tor-dev] Onionoo in Python

2012-07-13 Thread Arturo Filastò
On 07/10/2012 05:36 PM, Norman Danner wrote: Based on a quick look, it seems like Cyclone provides a slightly nicer way to specify how to handle the various requests than does a plain Twisted web application. Are there any other advantages to using Cyclone as opposed to plain Twisted? To me,