3 Analysing data programmatically

The data file generated by Haizea is a Python-pickled AccountingData object. This object contains all the per-lease and per-run data, along with all the counters. You can analyse the data programmatically by unpickling the file from your own Python code and accessing the data contained in the AccountingData object (see the generated pydoc documentation linked from the Haizea website for details on the object's attributes). An example of how this file is unpickled, and some of its information accessed, can be found in function haizea_convert_data in module haizea.cli.commands.

Borja Sotomayor 2009-12-17