Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An improved ZipFile class.

Project Description

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.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(44.6 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Mar 22, 2016
(43.2 kB) Copy SHA256 Hash SHA256
Source None Mar 22, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers