An unofficial, cross platform, lightweight, and easy to use wrapper for 7zip command line binaries (7za) in Python. Unlike other libraries, this one fully supports 7zip natively, is easy to setup/install, and is "pythonic" with the intent to be used in code and scripts, not through the terminal. Additionally, you CAN use the '7za' binaries directly as the specific binaries for your system will be installed automatically and you can therefor use it from the terminal/command line as you normally would. This also lends to making cross platform apps using this module.
- Seamless Integration: Unlike other libraries, py7zip seamlessly integrates 7zip functionality directly into Python, eliminating the need for external dependencies or cumbersome command-line executions.
- Cross-Platform Compatibility: Whether you're running Windows, Linux, or Mac, py7zip ensures consistent performance and reliability across all major operating systems.
- Pythonic Design: With a focus on adhering to Python's idiomatic principles, py7zip boasts an intuitive API that is easy to understand and use within your codebase.
- Lightweight and Efficient: Despite its robust feature set, py7zip remains remarkably lightweight, occupying less than a few megabytes of disk space (and only specifically for the detected system).
- Licensing: This Python Module's MIT License is compatible with the "7-Zip" License and can be "used" without restriction, including for commercial purposes (see LICENSE.md).
pip install py7zip
- Browse to the location to install and open terminal/cmd
git clone https://github.com/aliasfoxkde/py7zip.git
pip install .
pip install git+https://github.com/aliasfoxkde/py7zip.git
- CHANGELOG.md: includes versioning and a list of changes made between them.
- FEATURES.md: reference documentation that details the features of this module as well as 7zip.
- LICENSE.md: includes all licensing information for use of this module.
- PLANNING.md: includes Tasks, Improvements, and General planning stages.
- SETUP.md: includes instructions on technical setup of the repository for use with updating and publishing best practices.
- TERMS.md: defines terms used throughout repo.
- USAGE.md: includes detailed instructions on how to use this module.
- NOTE: Documentation is broken down into parts and can be found in ./docs
- Linux x86-64 (64-bit)
- Linux x86 (32-bit)
- Linux arm64 (64-bit)
- Linux arm (32-bit)
- macOS (arm64 / x86-64)
- Windows x64 (64-bit)
- Windows x86 (32-bit )
- Windows arm64 (64-bit)
- If you install this package using
git clone
, then all binary packages will be included. This is not the case when usingpip install
as only the binary for the given system is included; this allows for managing the various binaries easy through git versioning. - Please also keep in mind, unless you are planning on bundling this module with your own custom package, or want to contribute to the project there is little other reason to use git to install it, because your python environement will not be able to locate it and pathing will not be inherited.