frafra / extract-from-url

Download and extract files on-the-fly (ZIP files too)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Download and extract files on-the-fly (ZIP files too)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%