code: def envelope(geometry, **kwargs):
      """Computes the minimum bounding box that encloses an input geometry.
  
      Parameters
      ----------
      geometry : Geometry or array_like
      **kwargs
          See :ref:`NumPy ufunc docs <ufuncs.kwargs>` for other keyword arguments.
  
      Examples
      --------
      >>> from shapely import GeometryCollection, LineString, MultiPoint, Point
      >>> envelope(LineString([(0, 0), (10, 10)]))
      <POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))>
      >>> envelope(MultiPoint([(0, 0), (10, 10)]))
      <POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))>
      >>> envelope(Point(0, 0))
      <POINT (0 0)>
      >>> envelope(GeometryCollection([]))
      <POINT EMPTY>
      """
      return lib.envelope(geometry, **kwargs)
  
imports: import numpy
  from shapely import lib
  from shapely._enum import ParamEnum
  from shapely.algorithms._oriented_envelope import _oriented_envelope_min_area
  from shapely.decorators import multithreading_enabled, requires_geos
label_desc: Use image node_id 9 for calling a global function with example usage: envelope(geometry) and returns: lib