act.utils.pack_gzip#

act.utils.pack_gzip(filename, write_directory=None, remove=False)[source]#

Creates a gunzip file from a filename path

Parameters:
  • filename (str, pathlib.Path) – Filename to use in creation of gunzip version.

  • write_directory (str, pahtlib.Path, list, None) – Path to directory to place newly created gunzip file.

  • remove (boolean) – Remove provided filename after creating gunzip file

Returns:

write_filename (str) – Full path name of created gunzip file