extract-from-url-0.3.0
توضیحات
Download and extract files on-the-fly (ZIP files too)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | extract-from-url-0.3.0 |
| نام | extract-from-url |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Francesco Frassinelli |
| ایمیل نویسنده | francesco.frassinelli@nina.no |
| آدرس صفحه اصلی | https://github.com/frafra/extract-from-url |
| آدرس اینترنتی | https://pypi.org/project/extract-from-url/ |
| مجوز | GPL-3.0+ |
.. image:: https://img.shields.io/pypi/v/extract_from_url.svg
:target: https://pypi.org/project/extract_from_url/
Description
===========
Take advantage of `libarchive <https://libarchive.org/>`_ to download and extract files without having to store the archive first. Works with ZIP files too!
It supports `pyfilesystem2 <https://www.pyfilesystem.org/>`_ in order to save the files to cloud services, remote resource, as well as local directories.
Dependencies
============
1. `libarchive-c <https://pypi.org/project/libarchive-c/>`_ which requires ``libarchive-devel`` or ``libarchive-dev`` to be built
2. `tqdm <https://pypi.org/project/tqdm/>`_ for progress bars (optional)
You can use `poetry <https://poetry.eustace.io/>`_ or `pip <https://pip.pypa.io/>`_ to install the dependencies.
Usage
=====
As standalone program
---------------------
Please see ``cli.py --help``
As library
----------
Available as package on `PyPI <https://pypi.org/project/extract-from-url/>`_.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0 | libarchive-c |
| >=2.0.0 | fs |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl extract-from-url-0.3.0:
pip install extract-from-url-0.3.0.whl
نصب پکیج tar.gz extract-from-url-0.3.0:
pip install extract-from-url-0.3.0.tar.gz