class_docstr: A read-only BytesIO-like object backed by an in-memory zip file.
  
  This allows a zip file containing formatted files to be read
  without I/O.
  
  Parameters
  ----------
  file_or_bytes : an open Python file, bytes, or None
      If not None, the MemoryFile becomes immutable and read-only. If
      None, it is write-only.
  filename : str
      An optional filename. The default is a UUID-based name.
  ext : str
      An optional file extension. Some format drivers require a
      specific value. The default is ".zip".
class_docstr_tok: ["A","read-only","BytesIO-like","object","backed","by","an","in-memory","zip","file",".","This","allows","a","zip","file","containing","formatted","files","to","be","read","without","I\/O",".","Parameters","--","--","--","--","--","file_or_bytes",":","an","open","Python","file",",","bytes",",","or","None","If","not","None",",","the","MemoryFile","becomes","immutable","and","read-only",".","If","None",",","it","is","write-only",".","filename",":","str","An","optional","filename",".","The","default","is","a","UUID-based","name",".","ext",":","str","An","optional","file","extension",".","Some","format","drivers","require","a","specific","value",".","The","default","is","``",".zip","''","."]
docstr: Open a dataset within the zipped stream.
  
  Parameters
  ----------
  path : str
      Path to a dataset in the zip file, relative to the root of the
      archive.
  
  Returns
  -------
  A Fiona collection object
docstr_tok: ["Open","a","dataset","within","the","zipped","stream",".","Parameters","--","--","--","--","--","path",":","str","Path","to","a","dataset","in","the","zip","file",",","relative","to","the","root","of","the","archive",".","Returns","--","--","--","-","A","Fiona","collection","object"]
code: def open(
      self,
      path=None,
      driver=None,
      encoding=None,
      layer=None,
      enabled_drivers=None,
      allow_unsupported_drivers=False,
      **kwargs,
  ):
      """Open a dataset within the zipped stream.
  
      Parameters
      ----------
      path : str
          Path to a dataset in the zip file, relative to the root of the
          archive.
  
      Returns
      -------
      A Fiona collection object
  
      """
      if path:
          vsi_path = f"/vsizip{self.name}/{path.lstrip('/')}"
      else:
          vsi_path = f"/vsizip{self.name}"
  
      if self.closed:
          raise OSError("I/O operation on closed file.")
      if path:
          vsi_path = f"{self.name}/{path.lstrip('/')}"
      else:
          vsi_path = f"{self.name}"
  
      return Collection(
          vsi_path,
          "r",
          driver=driver,
          encoding=encoding,
          layer=layer,
          enabled_drivers=enabled_drivers,
          allow_unsupported_drivers=allow_unsupported_drivers,
          **kwargs,
      )
  
file_path: Fiona/fiona/io.py
imports: import logging
  from fiona.ogrext import MemoryFileBase, _listdir, _listlayers
  from fiona.collection import Collection
  from fiona.meta import supports_vsi
  from fiona.errors import DriverError
label_desc: Use image node_id 2 for calling the ZipMemoryFile obj's underlying member method code with example usage: obj.open(path, driver, encoding, layer, enabled_drivers, allow_unsupported_drivers) and returns: Collection