code: def pkg_version():
      import re
  
      here = os.path.dirname(__file__)
      pardir = [os.path.pardir] * 2
      topdir = os.path.join(here, *pardir)
      srcdir = os.path.join(topdir, "src")
      with open(os.path.join(srcdir, "mpi4py", "__init__.py")) as f:
          m = re.search(r"__version__\s*=\s*'(.*)'", f.read())
          return m.groups()[0]
  
file_path: mpi4py/docs/source/conf.py
imports: import os
  import sys
  import typing
  import datetime
  import importlib
label_desc: Use image node_id 1 for calling a global function with example usage: pkg_version() and returns: m