{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"Provides LZW compression and decompression functions that accept bytes or BytesIO objects and return compressed or decompressed data.","skillfed_tags":["compression","lzw","data-encoding"],"use_cases":["Compress or decompress data using the classic LZW algorithm when compatibility with (N)compress format is needed.","Integrate LZW compression into Python applications without external CLI tool dependencies.","Process large BytesIO streams with minimal memory overhead by using the BytesIO-based compress/decompress functions.","Archive or transmit data using a well-established, lossless compression format."],"what_it_does":"ncompress is a Python binding to LZW compression, ported from the classic (N)compress CLI tool. It exposes two main functions\u2014compress() and decompress()\u2014that work with either raw bytes or BytesIO objects, returning compressed or decompressed data respectively. The library is implemented in C++ with Python bindings, offering a direct port of the original compress algorithm with minimal changes.\n\nThe package has no runtime dependencies and ships as pre-compiled wheels for Python 3.8+ across macOS, Linux, and Windows on multiple architectures. It's designed for straightforward use: pass data in, get compressed or decompressed output back. The BytesIO variants are slightly faster because they avoid an intermediate copy during bytes-to-string conversion.","worth_installing":"Yes, if you need LZW compression specifically or must work with (N)compress-compatible data. The permissive license, zero runtime dependencies, and broad platform support make it low-friction to add. However, maintenance is dormant (last release 927 days ago), so consider whether you need active support or would prefer a more actively maintained compression library for general-purpose use."},"id":"ncompress","links":{"html":"https://skillfed.io/packages/ncompress","md":"https://skillfed.io/packages/ncompress.md","pypi":"https://pypi.org/project/ncompress/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-01-30","license_spdx":null,"license_treatment":"permissive","name":"ncompress","python_support":"supports_current","summary":"LZW compression and decompression"},"popularity":{"monthly_downloads":177236,"position":10218,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
