STEM: Tor2csv / Tor2xml / Tor2json ?

Hi, i just would like to provide a suggestion for Stem use (maybe already done), now that it has a powerful cached-consensus/descriptors parsers. Would it possible to provide easy to use command line tools to access Tor's data in the following formats: - csv - xml - json So that anyone requiring to access tor's current network data can easily use a function / script trough a command line tool and get it in easy to be formatted output. That's just a suggestion, but it maybe very useful for anyone requiring to work on tor's network data in an easy/accessible way. -naif

We discussed this on irc. I like the idea of providing csv import/export functionality and Fabio is filing a ticket for it. This would be a nice project for one of the new people hacking on stem, though I'm happy to do it if someone has a pressing need for it. I'm less interested in xml though if someone wants to do it then patches are welcome. Json is already covered by Onionoo (we plan to make a python Onionoo implementation later, but it may be a while). Gotcha to be aware of is that Stem currently just parses relay/bridge server and extra-info descriptors. Consensus entries will be easy and tops my todo list for descriptor work, though I've been busy helping volunteers of late. Cheers! -Damian
participants (2)
-
Damian Johnson
-
Fabio Pietrosanti (naif)