title: How do I do a case-insensitive string comparison?
body: <p>How can I compare strings in a case insensitive way in Python?</p>
  <p>I would like to encapsulate comparison of a regular strings to a repository string, using simple and Pythonic code. I also would like to have ability to look up values in a dict hashed by strings using regular python strings.</p>