Compress file to create archives or Decompress archives of types ZIP, 7Zip, RAR, TAR, GZIP, BZ2, LZ, CPIO, XZ, Z, CAB from within any Python application.
Vendor
Aspose
Company Website
Aspose.ZIP for Python via .NET is a flexible and easy file compression and archive manipulation API for standard archive formats. The API enables Python applications to compress and decompress files and directories, create or extract encrypted archives using different encryption options, and work with a wide variety of widely used archive formats, including ZIP, RAR, 7Zip, GZIP, BZ2, and formats popular in Linux such as CPIO, TAR, Lzip, Bzip2, XZ, and Z. It provides archive protection through user‑defined passwords, ZipCrypto encryption, and AES encryption. Designed to meet the demanding needs of modern data management, the library empowers developers to efficiently compress, archive, and extract files using Python while benefiting from seamless integration and strong performance delivered by .NET technology. With Python’s growing ecosystem and rising popularity in web development, analytics, and scientific computing, Aspose.ZIP for Python via .NET gives developers an effortless way to handle archives without dealing with low-level compression complexities. Creating or extracting an archive requires only a few concise lines of code, making the API highly accessible and user-friendly. Users can install the package from the downloads page or directly via PyPI.
Features
- Create an archive from one or more files.
- Add files to archives without compression.
- Encrypt or decrypt entire archives or individual entries.
- Add new entries to existing archives.
- Delete entries from existing archives.
- Compress folders while preserving full directory structure.
- Decompress archives while maintaining hierarchical structure.
- Apply parallelism to compress very large documents efficiently.
- Simple integration into Python applications using .NET-backed architecture.
- Support for input formats: ZIP, 7Zip, RAR, TAR, GZIP, BZ2, LZ, CPIO, XZ, Z, CAB.
- Support for output formats: ZIP, 7Zip, RAR, TAR, GZIP, BZ2, LZ, CPIO, XZ, Z, CAB.
- Functional with formats supported by the .NET Framework: ZIP, 7ZIP, TAR, TAR.BZ2, TAR.GZ, TAR.LZ, TAR.XZ, TAR.Z, CPIO.
Benefits
- Multi-format Flexibility: Work with nearly all major archive types used across Windows and Linux environments.
- Secure Archiving: Protect archives with passwords, ZipCrypto, or AES encryption.
- Easy to Use: Perform compression and extraction tasks using simple Python code without dealing with complex algorithms.
- High Performance: Parallel processing boosts efficiency when working with large files.
- Cross-platform Power: Combines Python’s ease-of-use with the performance and stability of .NET technology.
- Developer Efficiency: Ideal for automation scripts, data pipelines, document archiving systems, and application backends requiring reliable compression capabilities.