Hello,
this will most likely only be interesting to the people working on the tor-weather rewrite. I have started work on a Python wrapper for OnionOO with support for transparently caching OnionOO replies in memcached.
It is hosted on github for now: https://github.com/duk3luk3/onion-py
Please let me know if you have any thoughts on it!
Best regards, Luke
Lukas,
Looks like I can scrap the Onionoo wrapper that I have been thinking about for weather. Will let you know if I have any questions.
Cheers! On Monday 31 March 2014 02:22 AM, Lukas Erlacher wrote:
Hello,
this will most likely only be interesting to the people working on the tor-weather rewrite. I have started work on a Python wrapper for OnionOO with support for transparently caching OnionOO replies in memcached.
It is hosted on github for now: https://github.com/duk3luk3/onion-py
Please let me know if you have any thoughts on it!
Best regards, Luke
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
On 03/31/2014 08:59 AM, Abhiram Chintangal wrote:
Lukas,
Looks like I can scrap the Onionoo wrapper that I have been thinking about for weather. Will let you know if I have any questions.
Cheers!
Hi,
for now the wrapper is very thin - it just queries OnionOO and stuffs the data into an object hierarchy. Here is my plan going forward - Beyond adding documentation and making the whole thing robust against failure and edge cases, I am also thinking about adding complex queries and aggregation functions where they make sense. I currently have one "challenge" to get working to exercise the code, which is to find the aggregate bandwidth fraction of relay families. When I have that I'll take a look at weather and figure out what I need to add to my code to make it convenient to use for weather's usecases. I will also take a look at the Tor Challenge Karsten mentioned.
Please do let me know if there is anything you need!
Best, Luke
On 30/03/14 22:52, Lukas Erlacher wrote:
Hello,
this will most likely only be interesting to the people working on the tor-weather rewrite. I have started work on a Python wrapper for OnionOO with support for transparently caching OnionOO replies in memcached.
It is hosted on github for now: https://github.com/duk3luk3/onion-py
Please let me know if you have any thoughts on it!
Neat!
My first thought is that the best way to evaluate and improve such a library is to write an actual application using it.
You're right that the weather rewrite people might find it useful and give you some good feedback. And even though that rewrite project has become quieter, there are still people working on it. But I'm not sure if you'll get the feedback you're hoping for right now. Maybe in a couple of weeks?
Another fine application to evaluate your library could be the "new little tool that fetches Onionoo documents once (or twice) per day for all relays participating in the relay challenge and that produces graph data."
https://lists.torproject.org/pipermail/tor-relays/2014-March/004172.html
Would you be interested in writing such a tool, maybe using OnionPy? (If so, please also say so on tor-relays@ where that thread started.)
All the best, Karsten
On 03/31/2014 09:25 AM, Karsten Loesing wrote:
On 30/03/14 22:52, Lukas Erlacher wrote:
Hello,
this will most likely only be interesting to the people working on the tor-weather rewrite. I have started work on a Python wrapper for OnionOO with support for transparently caching OnionOO replies in memcached.
It is hosted on github for now: https://github.com/duk3luk3/onion-py
Please let me know if you have any thoughts on it!
Neat!
My first thought is that the best way to evaluate and improve such a library is to write an actual application using it.
You're right that the weather rewrite people might find it useful and give you some good feedback. And even though that rewrite project has become quieter, there are still people working on it. But I'm not sure if you'll get the feedback you're hoping for right now. Maybe in a couple of weeks?
Another fine application to evaluate your library could be the "new little tool that fetches Onionoo documents once (or twice) per day for all relays participating in the relay challenge and that produces graph data."
https://lists.torproject.org/pipermail/tor-relays/2014-March/004172.html
Would you be interested in writing such a tool, maybe using OnionPy? (If so, please also say so on tor-relays@ where that thread started.)
All the best, Karsten
Hi,
I will definitely take a look at that! Thanks!
Cheers, Luke