{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Compression","url":"https://skillfed.io/packages/category/system-archiving-compression"}],"enrichment":{"capability":"Provides a drop-in replacement for Python's standard library bz2 module with support for multi-stream bzip2 files and additional methods like peek(), read1(), and readinto().","skillfed_tags":["abandoned","legacy-python"],"use_cases":["Decompress multi-stream bzip2 files on Python versions where the standard bz2 module lacks that support.","Use peek() or read1() methods for incremental bzip2 decompression when the standard library interface is insufficient.","Maintain legacy code written for older Python versions that relied on bz2file's extended interface."],"what_it_does":"Bz2file is a bzip2 file handler for Python that mimics the interface of the standard library's bz2 module. It was designed to backport newer bz2 features (like multi-stream support and additional I/O methods) to older Python versions that lacked them. The package reads and writes bzip2-compressed files, supports both text and binary modes, and can work with any file-like object.\n\nThe package is now abandoned and has not been updated since 2014-01-19. It remains in the top 15000 PyPI packages by download count, but that reflects historical usage rather than active adoption. High install friction and lack of maintenance make it a poor choice for new projects.","worth_installing":"No. The package is abandoned, receives no maintenance or security updates, and has high install friction. Unless you are specifically supporting Python 2.6, 2.7, or 3.0 through 3.4 (all end-of-life), use the built-in bz2 module instead."},"id":"bz2file","links":{"html":"https://skillfed.io/packages/bz2file","md":"https://skillfed.io/packages/bz2file.md","pypi":"https://pypi.org/project/bz2file/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2014-01-19","license_spdx":null,"license_treatment":"permissive","name":"bz2file","python_support":"unspecified","summary":"Read and write bzip2-compressed files."},"popularity":{"monthly_downloads":326812,"position":7572,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.98"}
