fastdev.io.archive ================== .. py:module:: fastdev.io.archive Module Contents --------------- .. py:function:: extract_archive(filename: str, extract_dir: str, remove_top_dir: bool = False) Extract archive file to a directory. Currently only supports zip files. :param filename: Local path to the archive file. :type filename: str :param extract_dir: Directory to extract the archive file. :type extract_dir: str :param remove_top_dir: Whether to remove the top-level directory in the archive. If True, the top-level common prefix directory will be removed. Defaults to False. :type remove_top_dir: bool, optional