zip

Zip file parsing.

Functions

unzip_file(input, output)

Decompress a given Zip file.

zip_file(input, output)

Compress a given directory into a Zip file.

undertale.pipeline.zip.unzip_file(input: str, output: str) str

Decompress a given Zip file.

Parameters:
  • input – Path to the Zip input file.

  • output – Path to the output directory to create.

Returns:

The output directory created.

undertale.pipeline.zip.zip_file(input: str, output: str) str

Compress a given directory into a Zip file.

Parameters:
  • input – Path to the input directory.

  • output – Path to the output Zip file to create.

Returns:

The output Zip file created.