code: def film_search(self, title):
          
          films = []
          #check for cache or update
          if not hasattr(self, 'film_list'):
              self.get_film_list()
          #iterate over films and check for fuzzy string match    
          for film in self.film_list:
              strength = WRatio(title, film['title'])
              if  strength > 80:
                  film.update({u'strength':strength})
                  films.append(film)
          #sort films by the strength of the fuzzy string match
          films_sorted = sorted(films, key=itemgetter('strength'), reverse = True)
          return films_sorted
docs: film search using fuzzy matching