remotezip
Access zip file content hosted remotely without downloading the full file.
What it is and what it does
remotezip is a Python library that lets you read and extract individual files from zip archives hosted on remote web servers without downloading the entire archive. It wraps the standard library's zipfile.ZipFile class and uses HTTP Range requests to fetch only the parts of the archive you need—typically the central directory and the specific member you want to extract.
The library requires the remote server to support Range headers and depends only on requests for HTTP communication. It exposes the full ZipFile API (namelist, extract, open, read, etc.), making it a drop-in replacement for local zip operations when bandwidth matters. A command-line tool is also included for quick listing and extraction from the shell.
Use it for:
- Extract a single file from a large remote zip without downloading gigabytes of data.
- List archive contents and selectively download only needed members from S3 or other HTTP-hosted zips.
- Integrate remote zip access into data pipelines where bandwidth or latency is a constraint.
- Stream specific files from cloud-hosted archives using custom authentication (auth parameter).
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Download individual files from remote zip archives without fetching the entire file, using HTTP range requests to minimize bandwidth.
Yes, if your use case involves selective extraction from remote zips and the server supports Range requests. The low install friction and permissive license make it a practical choice. Be aware that dormant maintenance (900 days since last release) means security or compatibility updates may lag; verify the package works with your Python version and target servers before relying on it in production.
Install
remotezip on PyPI
pip
pip install remotezipuv
uv add remotezippoetry
poetry add remotezipInstalling remotezip
Before you install
Low friction install with a single runtime dependency (requests). Dormant maintenance status—last release was 900 days ago, though the repository remains active with recent commits and no archived flag.
License in practice
MIT license permits commercial and private use with minimal restrictions; attribution required.
Quickstart
pip install remotezip
from remotezip import RemoteZip
with RemoteZip('http://example.com/archive.zip') as z:
z.extract('file.txt')
Remote server must support HTTP Range requests; some operations (extractall, testzip) require full archive download and may be inefficient.
Verify before relying
- Whether dormant status (900 days since release) affects real-world reliability or if the package is stable-enough-to-ignore.
- Performance characteristics when dealing with large central directories or archives with many files.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | dormant — 900 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,856/month — #13,560 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: remotezip-0.12.3-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
remotezip2Reads and extracts files from ZIP archives…
permissive · top 15,000 on PyPI
stream-zipConstructs ZIP archives on-the-fly without…
permissive · top 15,000 on PyPI
stream-unzipStreams unzip operations on ZIP archives…
permissive · top 5,000 on PyPI
zipstreamGenerates zip archives as an iterator of byte…
unclear · top 15,000 on PyPI
fastdownloadDownloads, verifies, and extracts archives from…
permissive · top 15,000 on PyPI
pyunpackUnpacks archive files in Python with support…
permissive · top 15,000 on PyPI
zipfile-deflate64Enables extraction of Deflate64-compressed ZIP…
permissive · top 5,000 on PyPI
zipstream-ngGenerates zip files on-the-fly by streaming…
copyleft · top 5,000 on PyPI
conda-package-streamingReads conda package metadata and contents from…
permissive · top 15,000 on PyPI
nbzipnbzip adds a button to Jupyter that zips and…
permissive · top 15,000 on PyPI