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.9

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.9
File Size Uploaded Provenance Actions
unzip_http-0.9.tar.gz 7.8 kB With provenance Details for unzip_http-0.9.tar.gz

Built distribution (wheel)

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

Total release size: 15.4 kB

Release files / unzip_http-0.9.tar.gz

Download URL unzip_http-0.9.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
40a544eff024bb4a7b282ccc32ade78aa2f1c2e74a3daf52bfa674fe1bb403c3
BLAKE2b-256 checksum
How to use checksums
d1bca192184da5422a1f5d36a2d04fcacd9104baa4577504851ccabbbc1840fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 29, 2026.

Transparency log

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

Download URL unzip_http-0.9-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c483080e9d0f3cef10a0505dd91e9cd684de25c6da73b7241a915b02632115a
BLAKE2b-256 checksum
How to use checksums
02b7e864f83d7097bb2fff8639716bb0321fee3e565002176f416c3a285c2c98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 29, 2026.

Transparency log

Security for unzip-http 0.9

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for unzip_http-0.9.tar.gz

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 Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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