Skip to content

frafra/extract-from-url

Repository files navigation

image

Description

Take advantage of libarchive to download and extract files without having to store the archive first. Works with ZIP files too!

It supports pyfilesystem2 in order to save the files to cloud services, remote resource, as well as local directories.

Dependencies

  1. libarchive-c which requires libarchive-devel or libarchive-dev to be built
  2. tqdm for progress bars (optional)

You can use poetry or pip to install the dependencies.

Usage

As standalone program

Please see cli.py --help

As library

Available as package on PyPI.