code: def _read(self, ddfile):
          
          import csv
  
          d = {}
          with open(ddfile) as f:
              reader = csv.DictReader(f)
              for row in reader:
                  key = row['name']
                  if key.startswith('#'):
                      key = key[1:]
                      deprecated = True
                  else:
                      deprecated = False
                  value = d.setdefault(key, {})
                  value[self._get_value(row)] = deprecated
          return d
docs: Import index just like:
  
              {'key':['value', 'value'], ...}