code: def parse_args():
      import numpy
  
      essentia_version = (
          "%s\n"
          "python version: %s\n"
          "numpy version: %s"
          % (
              essentia.__version__,  # full version
              sys.version.split()[0],  # python major version
              numpy.__version__,
          )
      )  # numpy version
  
      from optparse import OptionParser
  
      parser = OptionParser(usage=usage, version=essentia_version)
  
      parser.add_option(
          "--start",
          action="store",
          dest="startTime",
          default="0.0",
          help="time in seconds from which the audio is computed",
      )
  
      parser.add_option(
          "--end",
          action="store",
          dest="endTime",
          default="600.0",
          help="time in seconds till which the audio is computed, 'end' means no time limit",
      )
  
      (options, args) = parser.parse_args()
  
      return options, args
  
file_path: essentia/src/examples/python/outdated/streaming_extractor/midlevel.py
imports: import sys, os
  import essentia
  from essentia import *
  from essentia.streaming import *
  from metadata import getAnalysisMetadata
  from tonaldescriptors import TonalDescriptorsExtractor
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: options,  args