$npx skillfedfor your agent

zipstream-ng

A modern and easy to use streamable zip file generator

Worth itPyPI UtilitiesReleased May 20261.1M downloads / moLGPL-3.0-onlyPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — zipstream_ng-1.9.2-py3-none-any.whl
v1.9.2 · released 2026-05-17 · Python >=3.5

Yes. Low install friction, no dependencies, active maintenance, copyleft license (acceptable for most use cases), and zero known vulnerabilities. Install if you need to stream zips efficiently in a web backend or generate archives on-the-fly from iterables. Verify license compatibility if distributing in closed-source software.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies and active maintenance (last release 89 days ago, last commit 2026-05-29).
  • Supports Python 3.5 through 3.15.

License · maintenance · safety

LGPL-3.0-only (copyleft) — LGPL-3.0-only (copyleft): derivative works and distributions must be licensed under LGPL-3.0 and source made available; acceptable for internal tools and open-source projects, but requires careful review before use in proprietary closed-source software.

last release 2026-05-17 (89 days) · last repo commit 2026-05-29 · 47 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,083,846 downloads/mo, #4,391 on PyPI

Verify before relying

from zipstream import ZipStream

zs = ZipStream.from_path("/path/to/files/")

with open("files.zip", "wb") as f:
    f.writelines(zs)
  • Whether the pre-calculated size feature works with all compression types or only uncompressed streams
  • Performance characteristics on very large file counts or total sizes beyond typical use
Same gist for agents: .md · .json

What it is and what it does

zipstream-ng is a Python library for generating zip files on-the-fly as a stream, rather than building the entire archive in memory or writing to disk first. It reads files and data iteratively, yielding compressed chunks as they are requested, which makes it ideal for web backends that need to serve zipped downloads without consuming significant memory or disk space. The library supports adding files from filesystem paths, raw bytes, strings, and any iterable object, and can optionally calculate the total size of the resulting zip before generation begins—useful for setting HTTP Content-Length headers.

The package has no external dependencies and is threadsafe, meaning multiple threads can safely add data to the same stream concurrently. It automatically uses Zip64 extensions only when needed, tracks the modification date of the most recent file for Last-Modified headers, and includes a built-in HTTP server module that can serve directories as downloadable zips. The library is performant and memory-efficient: typical peak memory usage stays below 20MB even when zipping terabytes of files.

Use it for

  • Web backend serving user-requested file collections as a single zip download without temporary disk files or high memory overhead
  • Streaming large directory archives over HTTP with Content-Length and Last-Modified headers for client progress bars and cache validation
  • Generating zip files on-demand from database records, API responses, or other non-filesystem iterables without buffering to disk
  • Building archive responses in Flask, FastAPI, or other web frameworks where memory and latency are constraints
  • Creating zip manifests with embedded metadata by generating the stream, pausing to add a manifest file, then finalizing

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low install friction, no dependencies, active maintenance, copyleft license (acceptable for most use cases), and zero known vulnerabilities. Install if you need to stream zips efficiently in a web backend or generate archives on-the-fly from iterables. Verify license compatibility if distributing in closed-source software.

Install

zipstream-ng on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies and active maintenance (last release 89 days ago, last commit 2026-05-29). Supports Python 3.5 through 3.15.

License in practice

LGPL-3.0-only (copyleft): derivative works and distributions must be licensed under LGPL-3.0 and source made available; acceptable for internal tools and open-source projects, but requires careful review before use in proprietary closed-source software.

Quickstart

from zipstream import ZipStream

zs = ZipStream.from_path("/path/to/files/")

with open("files.zip", "wb") as f:
    f.writelines(zs)

Verify before relying

  • Whether the pre-calculated size feature works with all compression types or only uncompressed streams
  • Performance characteristics on very large file counts or total sizes beyond typical use

Package facts

LicenseLGPL-3.0-only copyleft
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 89 days since the last release
Last repo commit
First released
Downloads1,083,846 / month, #4,391 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: zipstream_ng-1.9.2-py3-none-any.whl

Tags

Capabilities
streaming zip file generationzip without temporary fileslow memory zip creationon-the-fly zip streamingzip size pre-calculationweb backend zip downloaditerable zip packing
Topics
streamingweb-backendcompression

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “zip without temporary files”

  • zipstream-ngGenerates zip files on-the-fly by streaming data without temporary…
  • zipstreamGenerates zip archives as an iterator of byte chunks, enabling…
  • fsProvides a unified filesystem abstraction layer that lets you work…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also iterable-io · zipstream · zipstream-new · stream-zip · stream-unzip · remotezip · seekablehttpfile · gzip-stream · remotezip2 · pyzipper