def load_local_from_zip(zip_filename):
    """Load local node pack from the given name of zip file."""

    with TemporaryDirectory() as tempdir:

        node_pack_zip = HERE / zip_filename

        with ZipFile(str(node_pack_zip), 'r') as myzip:
            myzip.extractall(tempdir)

        node_pack_path = str(next(Path(tempdir).iterdir()))

        load_scripts([node_pack_path],[], store_references_on_success=False)
Load local node pack from the given name of zip file.
nodezator/graphman/scriptloading/tests.py