{
  "id": "zipfile",
  "name": "zipfile",
  "description": "",
  "version": "0.1.0",
  "author": "",
  "license": "MIT",
  "tags": [
    "python-stdlib"
  ],
  "status": "HUMAN_REVIEWED",
  "official": true,
  "source": "https://github.com/micropython/micropython-lib/tree/master/python-stdlib/zipfile",
  "updatedAt": "2026-09-12T03:55:17.883Z",
  "page": "https://checkmim.com/packages/zipfile",
  "createdAt": "2026-09-12T03:55:17.883Z",
  "install": {
    "mpremote": "mpremote mip install zipfile",
    "mip": "import mip; mip.install(\"zipfile\")"
  },
  "readme": "# zipfile\n\nThis library implements part of Python's `zipfile` module, namely allowing you\nto open archives and read data out of them - as long as files are not compressed\nwith an unsupported compressor or encrypted.\n\nOne difference between CPython's `zipfile` implementation of `ZipFile` and this\nmodule's is that the former does enumerate the files contained in an archive\nwhen opening it, and this information is cached and still available even after\nthe archive has been closed via `ZipFile.close`.  To save memory, this\nimplementation neither performs any automatic enumeration on open, nor caches\nthe files list.  Attempting to interact with a `ZipFile` instance once it's been\nclosed will raise a `ValueError` exception.\n\n## Installation\n\nUse `mip` via `mpremote`:\n\n```bash\n> mpremote mip install zipfile\n```\n\nSee [Package\nmanagement](https://docs.micropython.org/en/latest/reference/packages.html) for\nmore details on using `mip` and `mpremote`.\n"
}