Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Aspose.Zip for Python via .NET is a library that can be used by Python developers for a variety of archive-processing tasks. It supports ZIP, GZIP, BZIP2, TAR, CPIO, LZIP, 7Z, LZMA, XZ and Z formats. It allows you to encrypt and decrypt files, create self-extracting archives and extract RAR, CAB, WIM formats as well. The API is easy to use and robust.
Product Page | Documentation | Demos | Blog | API Reference | Search | Free Support | Temporary License
Try our Free Online Apps demonstrating some of the most popular compression and archive-related functionality.
Aspose.Zip for Python via .NET is a Python API to create, manipulate, extract & protect archive formats including ZIP, BZIP, BZ2 & TAR. It allows your Python applications to compress/decompress files and folders without getting into the complexity of coding new compression algorithms or understanding the existing ones. Enable your programs to work with a vast range of features, such as creating archives, saving archives, archive extraction, encrypting/decrypting archives, compressing single or multiple files as well as directory contents. It also allows you to apply security to your archived and compressed files and folders via password, AES (128, 192, 256) encryption, or mixed encryption. Check out the Landing Pages of Aspose.Zip for Python via .NET for a more detailed description of the features and possibilities of the library.
Bzip2
& LZMA
compression algorithms.AES128
, AES192
, AES256
encryption to archives.Gzip
or Bzip2
to pack files & folders into a TAR
archive.LZMA
or LZMA2
compression & optional encryption to create 7z
archives.Compression: Zip, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip, 7z
Decompression: Zip, Rar, Cab, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip
Aspose.Zip for Python via .NET can be used to develop 32-bit and 64-bit Python applications for different operating systems (such as Windows, Linux or MacOS) where Python 3.5 or later is installed.
Run pip install aspose-zip
to fetch the package. If you already have Aspose.Zip for Python via .NET and want to get the latest version, please run pip install --upgrade aspose-zip
.
To learn more about Aspose.Zip for Python via .NET and explore the basic requirements and features of the library, check out the following Aspose.Zip for Python via .NET Documentation pages for other use cases.
import aspose.zip as zp
with zp.Archive() as archive:
archive.create_entry("entry_name.dat", "input_file.dat")
archive.save('my_archive.zip')
import aspose.zip as zp
with zp.Archive("input_archive.zip") as archive:
archive.extract_to_directory("outputDirectory")
import aspose.zip as zp
import io
with zp.sevenzip.SevenZipArchive(zp.saving.SevenZipEntrySettings(None, zp.saving.SevenZipAESEncryptionSettings("p@s$"))) as archive:
archive.create_entry("data.bin", io.BytesIO(b"\x00\xFF"))
archive.save("result_archive.7z")
Product Page | Documentation | Demos | Blog | API Reference | Search | Free Support | Temporary License
FAQs
Aspose.Zip for Python via .NET is a library that can be used by Python developers for a variety of archive-processing tasks. It supports ZIP, GZIP, BZIP2, TAR, CPIO, LZIP, 7Z, LZMA, XZ and Z formats. It allows you to encrypt and decrypt files, create self-extracting archives and extract RAR, CAB, WIM formats as well. The API is easy to use and robust.
We found that aspose-zip demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.