import time


def timetag(method):
    """
    Tag the output of function with current time in seconds from epoch, rounded.
    """
    def time_tag_warpper(*args, **kwargs):
        result = method(*args, **kwargs)
        time_tag = str(int(time.time()))
        return '%s_%s' % (result, time_tag)
    return time_tag_warpper