Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

An improved ZipFile class.

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zipfile2, version 0.0.12
Filename, size File type Python version Upload date Hashes
Filename, size zipfile2-0.0.12-py2.py3-none-any.whl (44.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size zipfile2-0.0.12.tar.gz (43.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page