An open API service indexing awesome lists of open source software.

https://github.com/frafra/extract-from-url

Download and extract files on-the-fly (ZIP files too)
https://github.com/frafra/extract-from-url

libarchive pyfilesystem2 python python3 tqdm unzip

Last synced: 7 months ago
JSON representation

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

Awesome Lists containing this project

README

          

.. image:: https://img.shields.io/pypi/v/extract_from_url.svg
:target: https://pypi.org/project/extract_from_url/

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 `_.