m-lab / murakami

Run automated internet measurement tests in a Docker container.
Apache License 2.0
41 stars 11 forks source link

Add first version of murakami-convert script for converting jsonl -> csv #13

Closed jheretic closed 4 years ago

jheretic commented 4 years ago

This adds the murakami-convert script for converting Murakami output into other formats. Currently it just supports converting Speedtest.net jsonl -> CSV, but is written in a fairly modular fashion so as to be easily extended for other tests and formats. It is somewhat tested, and includes support for specifying a pattern to extract additional metadata from filenames generated by Murakami. This support is extremely naive though, so it should not be expected to have robust support for non-conforming filenames.

Usage information can be gotten from running poetry run murakami-convert --help if run from the source directory, or murakami-convert --help if installed via pip into your path.