code: def get_version():
      main_file = os.path.join(
          CURDIR, "pytorch_toolbelt", "__init__.py"
      )
      _version_re = re.compile(r"__version__\s+=\s+(?P<version>.*)")
      with open(main_file, "r", encoding="utf8") as f:
          match = _version_re.search(f.read())
          version = (
              match.group("version")
              if match is not None
              else '"unknown"'
          )
      return str(ast.literal_eval(version))
  
file_path: pytorch-toolbelt/setup.py
imports: import ast
  import io
  import re
  import os
  import sys
  from setuptools import find_packages, setup
  from distutils.version import LooseVersion
label_desc: Use image node_id 5 for calling a global function with example usage: get_version() and returns: str