thiezn / iperf3-python

Python wrapper around iperf3
https://iperf3-python.readthedocs.org/
MIT License
110 stars 51 forks source link

Parse the JSON results into a python object #1

Closed thiezn closed 8 years ago

thiezn commented 8 years ago

At the moment the server and client returns the raw json output. It could be handy to parse this output into a python object for easy access. an example could be something like this:

>>TestResult.duration
10
>>TestResult.sender_bps
1234
thiezn commented 8 years ago

Initial TestResult class created that provides a text JSON and dict of the result. Next step will be to parse the results in easy accessible variables.