Skip to main content

unzip-http

Extract individual files from .zip files over http without downloading the entire archive.

Install

pip install unzip-http

Usage

unzip_http [-l] [-f] [-o] <url> <filenames..>

Extract from a remote .zip at <url> to stdout.

A filename can be a wildcard glob; all matching files are extracted in this case.

Specify multiple filenames as distinct arguments (separated with spaces on the command line).

Note: HTTP server must send Accept-Ranges: bytes and Content-Length in headers (most do).

Options:

  • -l: List files in remote .zip file (default if no filenames given)
  • -f: Recreate folder structure from .zip file when extracting (instead of extracting files directly to the current directory)
  • -o: Write files to stdout (if multiple files, concatenate them in zipfile order)

Python module unzip_http

import unzip_http

rzf = unzip_http.RemoteZipFile('https://example.com/foo.zip')
binfp = rzf.open('bar.bin')
txtfp = rzf.open_text('baz.txt')

Credits

unzip-http was written by Saul Pwanson and made available for use under the MIT License.

Similar Libraries

Metadata

Release files for unzip-http 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unzip-http 0.7
File Size Uploaded
unzip_http-0.7.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unzip-http 0.7
File Interpreter ABI Platform
unzip_http-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / unzip_http-0.7.tar.gz

Download URL unzip_http-0.7.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
937996fe7c8fa9c43c2464f7d99ed31dce1aed168b77e5b6633ab962ffd23d77
BLAKE2b-256 checksum
How to use checksums
49603e961273c2ba1179a2dcab8ff6e85228f7b9370544f71067c6c55c9a331e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 20, 2026.

Transparency log

Release files / unzip_http-0.7-py3-none-any.whl

Download URL unzip_http-0.7-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b3736e5a641fe09c0fdd107b2d7e2f6e346f8a1c221167f9c1e77c238ffcfe8
BLAKE2b-256 checksum
How to use checksums
1a0e83f1a2cf133ab323f6ae2e52b86247ba25759ac6f830d20e161d8a3e2f3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files

0.6

2 release files

0.5.1

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page