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","''","."]
code: def __init__(self, file_or_bytes=None, filename=None, ext=".zip"):
      super().__init__(file_or_bytes, filename=filename, ext=ext)
      self.name = f"/vsizip{self.name}"
  
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 1 to create a new ZipMemoryFile object from inherited base classes: MemoryFile with example: obj = ZipMemoryFile(file_or_bytes, filename, ext)