'Creates a human-readable period from the number
of seconds specified for \'period\'.
For instance, converts:
* 1 -> \'1sec\'
* 5 -> \'5secs\'
* 60 -> \'1min\'
* 300 -> \'5min\'
If no period is found in the lookup table, the human
readable period is simply passed through from period,
in seconds.'

def _readable_period(self):

    lut = {1: '1sec', 5: '5sec', 10: '10sec', 15: '15sec', 30: '30sec', 60: '1min', 300: '5min', 600: '10min', 900: '15min', 1800: '30min', 3600: '1hr', 86400: '1day', 604800: '1wk'}
    if (self.period in lut):
        return lut[self.period]
    else:
        return ('%ssec' % str(self.period))
