Generate a `SetReadingEvent` object from a string

def from_str(string):
        """Generate a `SetReadingEvent` object from a string
        """
        match = re.match(r'^START READING (\w+) FROM \w+ (\d+)$', string)
        if match:
            return SetReadingEvent(match.group(1), int(match.group(2)))
        else:
            raise EventParseError