{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"}],"enrichment":{"capability":"Wraps streams to compress data on-the-fly using GZIP, and decompresses GZIP or zlib streams asynchronously without loading entire files into memory.","skillfed_tags":["streaming-io","compression"],"use_cases":["Upload large files to cloud storage (S3, etc.) with on-the-fly GZIP compression to reduce bandwidth.","Stream GZIP-compressed data from remote sources and decompress asynchronously without buffering the entire file.","Wrap file uploads in a compression layer to reduce payload size in bandwidth-constrained environments.","Process compressed log files or archives by decompressing chunks as they are read from disk or network.","Integrate compression into custom I/O pipelines where standard file compression is too memory-intensive."],"what_it_does":"gzip-stream is a minimal library that lets you compress or decompress data on-the-fly by wrapping existing streams. Instead of reading an entire file into memory, it processes data in chunks\u2014useful when uploading large files over the network or reading compressed data from remote sources. The main class, GZIPCompressedStream, inherits from io.RawIOBase so it acts like a standard Python stream; you pass it another stream and a compression level, then use it anywhere a file-like object is expected. The library also provides AsyncGZIPDecompressedStream for async contexts, letting you decompress while reading from sources like S3 without blocking.\n\nThe package has no external runtime dependencies and is written for Python 3.5 and later. It is classified as Production/Stable but has been dormant since late 2021, with the last commit in October 2024. The codebase is small and focused, making it suitable for simple streaming compression tasks, but the lack of recent maintenance means you should verify compatibility with your Python version and use case before relying on it for critical workflows.","worth_installing":"Yes, if you need lightweight on-the-fly GZIP compression for streaming I/O and can accept dormant maintenance. The library has no dependencies, a permissive license, and solves a specific problem well. However, verify Python version compatibility with your target environment and test async decompression thoroughly before using it in production, given the 1710-day gap since the last release."},"id":"gzip-stream","links":{"html":"https://skillfed.io/packages/gzip-stream","md":"https://skillfed.io/packages/gzip-stream.md","pypi":"https://pypi.org/project/gzip-stream/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-12-08","license_spdx":null,"license_treatment":"permissive","name":"gzip-stream","python_support":"supports_current","summary":"Compress stream by GZIP on the fly."},"popularity":{"monthly_downloads":790386,"position":5051,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
