title: Storing keys with prefix that expire in redis
body: <p>Trying to store values that expire x amount of time with a key prefix</p>
  
  <p>I'm using using redis.  I'm currently storing the values using hset</p>
  
  <pre><code>import redis
  
  
  r = redis.StrictRedis('localhost')
  
  
  for i in range(10):
      r.hset('name', i, i)
  
  
  print(r.hgetall('name'))
  </code></pre>
  
  <p>I want each key to have a different expire time, as I will be storing each key individually.</p>
  
  <p>How do I do this?</p>