{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"py7zr is a pure-Python library for reading, writing, and managing 7z archives with support for multiple compression algorithms, encryption, and both programmatic and command-line interfaces.","skillfed_tags":["compression","archive-format","encryption"],"use_cases":["Extract password-protected 7z archives in a Python application without calling external tools","Create compressed archives with custom algorithms like Brotli or ZStandard for distribution","Selectively extract files from large archives using regex patterns without full decompression","Build multi-volume archives for storage or transfer across size-limited media","Integrate 7z support into backup or data pipeline tools via the shutil interface"],"what_it_does":"py7zr is a pure-Python implementation of 7z archive handling, providing both a library API and command-line tools for compression, decompression, encryption, and decryption. It wraps Python's standard lzma module and adds support for additional algorithms (Brotli, ZStandard, PPMd) and encryption (7zAES) via third-party libraries. The package works on Linux, macOS, Windows, and ARM platforms.\n\nYou use it when you need to work with 7z archives from Python without external system dependencies. It supports password-protected archives, selective file extraction, multi-volume archives, and custom filter chains. The library provides both context-manager-based file operations and a shutil integration layer for archive registration.","worth_installing":"Yes. py7zr is actively maintained, has no known vulnerabilities, installs with low friction, and offers broad algorithm support. The LGPL-2.1-or-later license is permissive for most use cases as long as you distribute source. Install if you need 7z handling in Python; avoid only if your project cannot accept copyleft licensing."},"id":"py7zr","links":{"html":"https://skillfed.io/packages/py7zr","md":"https://skillfed.io/packages/py7zr.md","pypi":"https://pypi.org/project/py7zr/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-19","license_spdx":"LGPL-2.1-or-later","license_treatment":"copyleft","name":"py7zr","python_support":"supports_current","summary":"Pure python 7-zip library"},"popularity":{"monthly_downloads":9610773,"position":1519,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.3"}
