🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

zipfile2

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zipfile2

An improved ZipFile class.

0.0.12
PyPI
Maintainers
2

.. image:: https://travis-ci.org/cournape/zipfile2.png?branch=master :target: https://travis-ci.org/cournape/zipfile2

zipfile2 contains an improved ZipFile class that may be used as a 100 % backward compatible replacement.

Improvements compared to upstream zipfile stdlib:

  • Handling of symlinks (read and write)
  • Compatible 2.6 onwards (including 3.x), include context manager
  • Raises an exception by default when duplicate members are detected.
  • Special class LeanZipFile to avoid using too much memory when handling zip files with a large number of members. Contrary to the stdlib ZipFile, it does not create the list of all archives when opening the file. This can save 100s of MB for zipfiles with a large number of members.

FAQs

Did you know?

Socket

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.

Install

Related posts