unlzw3
Pure Python decompression module for .Z files compressed using Unix compress utility
Decision gist · record as of 2026-08-14
Yes, if you need to read .Z files and cannot rely on platform-specific tools or compiled alternatives. The pure Python implementation trades speed for portability and zero dependencies. No known security issues. Suitable for occasional use; dormant maintenance means no active development but also no churn.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later
- Low friction install with no runtime dependencies.
- Dormant maintenance (602 days since last release) but recent release on 2024-12-20 suggests occasional updates.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) allows free use, modification, and distribution with minimal restrictions.
last release 2024-12-20 (602 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 328,872 downloads/mo, #7,552 on PyPI
Alternatives
Verify before relying
import unlzw3
from pathlib import Path
uncompressed_data = unlzw3.unlzw(Path('file.Z').read_bytes())- Performance characteristics compared to platform-specific alternatives for large files
- Whether UTF-8 decoding assumption matches all real-world .Z file contents
What it is and what it does
unlzw3 is a pure Python decompressor for .Z files created by the Unix compress utility. It takes LZW-compressed binary data and returns a UTF-8 decoded string of the decompressed contents. Because it is written entirely in Python rather than wrapping compiled C code, it runs on any platform Python supports—including Windows—but at the cost of being slower than native utilities or CFFI-based alternatives.
The package has no runtime dependencies and installs with low friction. It is maintained sporadically (last release December 2024 after a 602-day gap), so it is suitable for stable, occasional use rather than active development. The implementation is based on Mark Adler's reference C code and has been modernized with testing and PyPI packaging.
Use it for
- Decompress legacy .Z archives on Windows or macOS where native compress utilities are unavailable
- Read .Z-compressed data in a Python script without requiring system-level utilities or external C libraries
- Process archived datasets in .Z format as part of a data pipeline on any supported Python platform
- Integrate .Z decompression into a portable Python application without platform-specific build steps
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to read .Z files and cannot rely on platform-specific tools or compiled alternatives.
The pure Python implementation trades speed for portability and zero dependencies. No known security issues. Suitable for occasional use; dormant maintenance means no active development but also no churn.
Install
unlzw3 on PyPI
Before you install
Low friction install with no runtime dependencies. Dormant maintenance (602 days since last release) but recent release on 2024-12-20 suggests occasional updates.
Requires Python 3.9 or later
License in practice
MIT license (permissive) allows free use, modification, and distribution with minimal restrictions.
Quickstart
import unlzw3
from pathlib import Path
uncompressed_data = unlzw3.unlzw(Path('file.Z').read_bytes())
Verify before relying
- Performance characteristics compared to platform-specific alternatives for large files
- Whether UTF-8 decoding assumption matches all real-world .Z file contents
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 602 days since the last release |
| First released | |
| Downloads | 328,872 / month, #7,552 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: System :: Archiving :: CompressionTopic :: Utilities |
Evidence: unlzw3-0.2.3-py3-none-any.whl
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 › “unix compress decompressor”
- unlzw3Decompresses .Z files (Unix compress format) using pure Python,…
- brotlipybrotlipy provides Python bindings to the Brotli compression…
- apple-compressPython bindings for Apple's libcompression library, providing both a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities 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.
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.
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.
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.
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.
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.
See also ncompress · python-neo-lzf · compressed-rtf · lzfse · lzstring · python-lzf · lzallright · pylzss · brotlicffi · py7zr