traveler.assets.extract_archive#

traveler.assets.extract_archive(archive, out_path)[source]#

Extract a supported archive and return its content directory.

Supported formats are .tar.gz, .tar.zst, and .zip.

Parameters:
  • archive (Path)

  • out_path (Path)

Return type:

Path