code: def find_all_templates(module):
      pattern = re.compile("([^_]+)(?:_[^_]+)+")
      names = set()
      for full_name in module.__dict__:
          result = pattern.match(full_name)
          if result:
              names.add(result.group(1))
      return list(names)
  
file_path: graphvite/python/graphvite/helper.py
imports: from __future__ import absolute_import, print_function
  import re
  from .None import lib
label_desc: Use image node_id 3 for calling a global function with example usage: find_all_templates(module) and returns: list