title: Expiration of HashMap in Redis python?
body: <p>I want to store the following hash map in redis:</p>
  
  <pre><code>"data": {
         "name": "XYZ",
         "age": 22,
         "address": "a-z"
  }  
  </code></pre>
  
  <p>I want this whole hash map (with the given key) to expire in time, let's say 72 hours.</p>
  
  <p>How do I use <code>ttl/expire</code> function in python?</p>