python script to extract files from remote ZIP archives without downloading the entire archive
Project description
cloud_unzip
python script to extract files from remote ZIP archives without downloading the entire archive
Installation
pip install git+https://github.com/rhythmcache/cloud_unzip.git
Usage
usage: cloud_unzip [-h] [-l] [-t] [-e EXTRACT] [-o OUTPUT] [-p] [-w WORKERS] url
Extract files from remote ZIP archives
positional arguments:
url URL of the remote ZIP file
options:
-h, --help show this help message and exit
-l, --list List files in the ZIP archive
-t, --tree Display zip contents in tree format
-e, --extract EXTRACT Extract specific files from the ZIP archive (comma-separated)
-o, --output OUTPUT Output directory for extracted files. Use "-" to write to stdout
-p, --parallel Extract files in parallel
-w, --workers <n> Maximum number of worker threads for parallel extraction
To extract a single file
cloud_unzip -e path/to/file/inside/zip <url>
To extract Multiple files
- Enter file paths comma separated
cloud_unzip -e path/to/file1,path/to/file2,path/to/file3 <url>
( use --parallel to extract multiple files parallely , default extraction method is sequential )
Limitations
- Server must support range request
- only
DeflateandStoremethods are currently supported
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloud_unzip-0.1.0.tar.gz
(6.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloud_unzip-0.1.0.tar.gz.
File metadata
- Download URL: cloud_unzip-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc8f715ef87e9b2cc207186125b9b660e3de6137d68e5eef87b44ca8146ce2b4
|
|
| MD5 |
0c33b3bb6e5433f73a4182117b49efae
|
|
| BLAKE2b-256 |
7a4b1b0eb78ed1c0fa0e04df574db89a3577f28c293a74a2a0d81b64a1d9979c
|
File details
Details for the file cloud_unzip-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cloud_unzip-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64e4474cbbf65b427407d359d4271241bd557cf700c4133c117580d579ed7d83
|
|
| MD5 |
721fe049a4ef68b947f74ba8107fe6ae
|
|
| BLAKE2b-256 |
c7397e9eb030d53186507d8598e41ea503b41f7eb80dd095a0d059621078239a
|