code: def insp(ctx, input, mode, interpreter):
      """Open the input file in a Python interpreter."""
      logger = logging.getLogger()
      try:
          with ctx.obj["env"]:
              with rasterio.open(input, mode) as src:
                  main(
                      "Rasterio %s Interactive Inspector (Python %s)\n"
                      'Type "src.meta", "src.read(1)", or "help(src)" '
                      "for more information."
                      % (
                          rasterio.__version__,
                          ".".join(map(str, sys.version_info[:3])),
                      ),
                      src,
                      interpreter,
                  )
      except Exception:
          logger.exception("Exception caught during processing")
          raise click.Abort()
  
file_path: rasterio/rasterio/rio/insp.py
imports: from __future__ import absolute_import
  import code
  import logging
  import sys
  import collections
  import warnings
  import numpy
  import click
  from .None import options
  import rasterio
label_desc: Use image node_id 3 for calling a global function with example usage: insp(ctx, input, mode, interpreter) without return types