{
    "content": [
        {
            "type": "text",
            "text": "# zipapp (pydoc)\n\n**Summary:** zipapp\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **CLASSES** (3 lines) — 1 subsections\n  - class ZipAppError (68 lines)\n- **FUNCTIONS** (1 lines) — 2 subsections\n  - create_archive (18 lines)\n  - get_interpreter (1 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nzipapp\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/zipapp.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### CLASSES\n\nbuiltins.ValueError(builtins.Exception)\nZipAppError\n\n#### class ZipAppError\n\n|  Method resolution order:\n|      ZipAppError\n|      builtins.ValueError\n|      builtins.Exception\n|      builtins.BaseException\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.ValueError:\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from builtins.ValueError:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.BaseException:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  setstate(...)\n|\n|  str(self, /)\n|      Return str(self).\n|\n|  withtraceback(...)\n|      Exception.withtraceback(tb) --\n|      set self.traceback to tb and return self.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from builtins.BaseException:\n|\n|  cause\n|      exception cause\n|\n|  context\n|      exception context\n|\n|  dict\n|\n|  suppresscontext\n|\n|  traceback\n|\n|  args\n\n### FUNCTIONS\n\n#### create_archive\n\nCreate an application archive from SOURCE.\n\nThe SOURCE can be the name of a directory, or a filename or a file-like\nobject referring to an existing archive.\n\nThe content of SOURCE is packed into an application archive in TARGET,\nwhich can be a filename or a file-like object.  If SOURCE is a directory,\nTARGET can be omitted and will default to the name of SOURCE with .pyz\nappended.\n\nThe created application archive will have a shebang line specifying\nthat it should run with INTERPRETER (there will be no shebang line if\nINTERPRETER is None), and a main.py which runs MAIN (if MAIN is\nnot specified, an existing main.py will be used).  It is an error\nto specify MAIN for anything other than a directory source with no\nmain.py, and it is an error to omit MAIN if the directory has no\nmain.py.\n\n#### get_interpreter\n\n### DATA\n\nall = ['ZipAppError', 'createarchive', 'getinterpreter']\n\n### FILE\n\n/usr/lib/python3.10/zipapp.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "zipapp",
        "section": "",
        "mode": "pydoc",
        "summary": "zipapp",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "CLASSES",
                "lines": 3,
                "subsections": [
                    {
                        "name": "class ZipAppError",
                        "lines": 68
                    }
                ]
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "create_archive",
                        "lines": 18
                    },
                    {
                        "name": "get_interpreter",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}