code: def parse_stream(stream, format=u"Jæren Sparebank"):
      
      Class = formats[format.lower()]
      return Class.csv_to_transactions(stream)
docs: Parses bank CSV stream (like a file handle or StringIO) and returns
      Transactions instance.
  
      Returns:
          A ``Transactions`` object.