pyminizip
A minizip wrapper - To create a password encrypted zip file in python.
Decision gist · record as of 2026-08-14
Yes-with-conditions. The package does what it claims, but install friction is real (zlib system dependency required), maintenance is dormant (no updates since 2023), and two security vulnerabilities are flagged. Install only if you need Windows-compatible encrypted ZIPs and can verify the vulnerabilities do not affect your threat model; consider alternatives if you need active maintenance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- zlib system library must be installed before pip install (apt-get install zlib on Linux, brew install zlib on macOS, xcode-select --install on macOS).
- High install friction: requires zlib system library (apt-get on Linux, brew on macOS, xcode-select on macOS).
- Package is dormant—last release December 2021, no commits since September 2023—so dependency issues or platform-specific build failures are unlikely to be addressed.
License · maintenance · safety
permissive license (permissive) — Permissive zlib/libpng license; no restrictions on use or redistribution in proprietary or open-source projects.
last release 2021-12-21 (1697 days) · last repo commit 2023-09-14 · 105 stars
2 known vulnerabilities (OSV.dev, 2026-08-14) · 427,873 downloads/mo, #6,747 on PyPI
Alternatives
Verify before relying
pip install pyminizip
import pyminizip
pyminizip.compress('/path/to/file.txt', '', '/path/to/output.zip', 'mypassword', 5)
pyminizip.uncompress('/path/to/output.zip', 'mypassword', '/extract/here', 0)- Whether the package still builds cleanly against current zlib versions on modern Python versions.
- Current status of the two known vulnerabilities (GHSA-mq29-j5xf-cjwr, PYSEC-2026-501) and their severity.
- Whether Windows extraction compatibility claim still holds for modern Windows versions.
- Exact Python version support, as classifiers indicate Python 2 and 3 but requires_python is unspecified.
What it is and what it does
pyminizip is a thin Python wrapper around the minizip C library that lets you create password-encrypted ZIP archives and extract them, with explicit support for Windows compatibility. It exposes three functions: compress() for single files, compress_multiple() for batches with optional progress callbacks, and uncompress() for extraction. The package has no runtime Python dependencies but requires the zlib system library to be installed before pip install will succeed.
The package is classified as Alpha and has been dormant since late 2023, with its last release in December 2021. It supports both Python 2 and Python 3 according to its classifiers, though the exact version support is unspecified. The lack of recent maintenance combined with two known security vulnerabilities means you should evaluate whether the security posture is acceptable for your use case.
Use it for
- Encrypt sensitive files with a password before distributing them to Windows users who need to extract them locally.
- Batch-compress multiple files into a single password-protected archive with progress tracking during the operation.
- Create password-protected backups of configuration or data files that need to be extracted on Windows systems.
- Add password protection to ZIP files in a Python application without requiring external command-line tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes-with-conditions.
The package does what it claims, but install friction is real (zlib system dependency required), maintenance is dormant (no updates since 2023), and two security vulnerabilities are flagged. Install only if you need Windows-compatible encrypted ZIPs and can verify the vulnerabilities do not affect your threat model; consider alternatives if you need active maintenance.
Install
pyminizip on PyPI
Before you install
High install friction: requires zlib system library (apt-get on Linux, brew on macOS, xcode-select on macOS). Package is dormant—last release December 2021, no commits since September 2023—so dependency issues or platform-specific build failures are unlikely to be addressed.
zlib system library must be installed before pip install (apt-get install zlib on Linux, brew install zlib on macOS, xcode-select --install on macOS).
License in practice
Permissive zlib/libpng license; no restrictions on use or redistribution in proprietary or open-source projects.
Quickstart
pip install pyminizip
import pyminizip
pyminizip.compress('/path/to/file.txt', '', '/path/to/output.zip', 'mypassword', 5)
pyminizip.uncompress('/path/to/output.zip', 'mypassword', '/extract/here', 0)
Verify before relying
- Whether the package still builds cleanly against current zlib versions on modern Python versions.
- Current status of the two known vulnerabilities (GHSA-mq29-j5xf-cjwr, PYSEC-2026-501) and their severity.
- Whether Windows extraction compatibility claim still holds for modern Windows versions.
- Exact Python version support, as classifiers indicate Python 2 and 3 but requires_python is unspecified.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 1,697 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 427,873 / month, #6,747 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | 2 GHSA-mq29-j5xf-cjwr, PYSEC-2026-501 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: zlib/libpng LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Archiving :: Compression |
Evidence: pyminizip-0.2.6.tar.gz
Tags
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 › “password protected zip files”
- pyminizipCreates password-encrypted ZIP files that can be extracted on…
- pyzipperpyzipper replaces Python's standard zipfile module to read and write…
- stream-unzipStreams unzip operations on ZIP archives without loading entire files…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyzipper · zipfile-deflate64 · zip-files · cart · zipfile-zstd · pyppmd · python-lzf · gzip-stream · xpress9 · pysmb