package documentation

Zipfile wrappers.

From __init__.py:

Exception Error Undocumented
Function unzip Unpack a zip archive into a directory.
Function unzip_bytes Unpack a zip archive in memory into a directory.
Function unzip_bytes_to_dict Unpack a zip archive in memory into a dict.
Function unzip_to_dict Unpack a zip archive into a dict.
Function zip Create a zip archive in a file.
Function zip_to_bytes Create a zip archive in memory.
Function _scan_dir Undocumented
Function _unzip Undocumented
Function _zip Undocumented
def zip(path: str, *sources, flat=False) -> int: (source)

Create a zip archive in a file.

def zip_to_bytes(*sources, flat=False) -> bytes: (source)

Create a zip archive in memory.

def unzip(path: str, target_dir: str, flat=False) -> int: (source)

Unpack a zip archive into a directory.

def unzip_bytes(source: bytes, target_dir: str, flat=False) -> int: (source)

Unpack a zip archive in memory into a directory.

def unzip_to_dict(path: str, flat=False) -> dict: (source)

Unpack a zip archive into a dict.

def unzip_bytes_to_dict(source: bytes, flat=False) -> dict: (source)

Unpack a zip archive in memory into a dict.

def _zip(target, sources, flat): (source)

Undocumented

def _unzip(source, target_dir, target_dict, flat): (source)

Undocumented

def _scan_dir(source_dir): (source)

Undocumented