code: def version():
      this_directory = path.abspath(path.dirname(__file__))
      with open(
          path.join(this_directory, "livelossplot/version.py")
      ) as f:
          version_file = f.read()
          version_match = re.search(
              r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M
          )
          version = version_match.group(1)
  
      return version
  
imports: from setuptools import setup, find_packages
  from os import path
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: version() and returns: version