code: def extract_attribute(module_name, attribute_name):
      
      with open('%s/__init__.py' % module_name) as input_file:
          for line in input_file:
              if line.startswith(attribute_name):
                  return ast.literal_eval(line.split('=')[1].strip())
docs: Extract metatdata property from a module