Skip to main content

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.

Source Distribution

zipfile2-0.0.11.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

zipfile2-0.0.11-py2.py3-none-any.whl (44.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zipfile2-0.0.11.tar.gz.

File metadata

  • Download URL: zipfile2-0.0.11.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zipfile2-0.0.11.tar.gz
Algorithm Hash digest
SHA256 4530472e9bc64b7854c8cdaa570570d6124300dbd857655a0ff593b3278754dd
MD5 096126e44b66a725155d19aba7b428bb
BLAKE2b-256 b4711413814318f21de2a950d8d6aabfc7640781715ec841107c063117c7c73f

See more details on using hashes here.

File details

Details for the file zipfile2-0.0.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for zipfile2-0.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 49e4e53db3a553bd5741f92d93f73584b4c7caf8a0394040271873c1547a1946
MD5 139d88817aedae8762e7595fb8620b25
BLAKE2b-256 6d23e1628f84f355de82b797965aad76590518d25c63d9155e2ecd2a6156be6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page