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

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.8
File Size Uploaded Provenance Actions
unzip_http-0.8.tar.gz 7.6 kB With provenance Details for unzip_http-0.8.tar.gz

Built distribution (wheel)

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

Total release size: 15.2 kB

Release files / unzip_http-0.8.tar.gz

Download URL unzip_http-0.8.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aff54deec9a9d06f76b7d216025b23d8906c1cdf5dc4fcbcee3830431e833298
BLAKE2b-256 checksum
How to use checksums
faf5b67fecb0917bc01723ae184db612211a2281e787192a733cd22775ee9d52
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 27, 2026.

Transparency log

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

Download URL unzip_http-0.8-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d5d0536886a54e1dec887a6c48666c50be156bd804df80699af2c0a447b09a8
BLAKE2b-256 checksum
How to use checksums
0fb1858d1de3c0f8cb9076e6631eec43e04470aaa67770112259150b5048b5b5
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 27, 2026.

Transparency log

Security for unzip-http 0.8

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.8.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 27, 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