{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"}],"enrichment":{"capability":"pgzip is a multi-threaded gzip implementation that accelerates compression and decompression by parallelizing block-indexed gzip operations, maintaining compatibility with standard gzip files.","skillfed_tags":["compression","parallelization","io-performance"],"use_cases":["Compressing large text files or datasets where I/O and CPU parallelism can reduce wall-clock time.","Batch processing pipelines that need to compress or decompress files concurrently using a gzip-compatible format.","Replacing standard gzip in data workflows where compression throughput is a bottleneck and standard gzip files must remain readable.","CLI-based compression tasks via the command-line interface with configurable thread count and compression level."],"what_it_does":"pgzip replaces Python's built-in gzip module with a multi-threaded alternative that uses block indexing to parallelize compression and decompression. It maintains full compatibility with standard gzip files by leveraging the FEXTRA feature defined in the gzip specification, so compressed files can be read by any standard gzip tool. The package exposes the same API as the standard gzip module (open, compress, decompress), making it a drop-in replacement for I/O-bound compression workloads.\n\nThe main trade-off is that only the three core methods (open, compress, decompress) are well-tested; other GzipFile methods like seek() and tell() have not been thoroughly validated. Performance gains depend heavily on available CPU cores and I/O bandwidth. The project is actively maintained but explicitly seeking additional maintainers.","worth_installing":"Yes, if you need faster gzip compression/decompression and can tolerate that seek/tell are not fully tested. The low install friction, permissive license, active maintenance, and zero security vulnerabilities make it safe to adopt. Not necessary if you rarely compress large files or if your bottleneck is not CPU/I/O bound."},"id":"pgzip","links":{"html":"https://skillfed.io/packages/pgzip","md":"https://skillfed.io/packages/pgzip.md","pypi":"https://pypi.org/project/pgzip/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-23","license_spdx":null,"license_treatment":"permissive","name":"pgzip","python_support":"supports_current","summary":"A multi-threading implementation of Python gzip module"},"popularity":{"monthly_downloads":225931,"position":9210,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
