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.12.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

zipfile2-0.0.12-py2.py3-none-any.whl (44.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for zipfile2-0.0.12.tar.gz
Algorithm Hash digest
SHA256 7376f7c968717ac895ef862da913e790cf1b518caf56c4822c04684c46a8a608
MD5 600f643ddcd4eb9dac9b2ec00cbe7851
BLAKE2b-256 874d3613bb68422c4912db18c5db263434a0bbce129ab3315c603683e5a0a464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zipfile2-0.0.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9adf577d825461480e485027116c035f666b72ac3911af71aa93da6e0579eb8
MD5 460a9b9cf1b0850b73681abbe36add47
BLAKE2b-256 60add6bc08f235b66c11bbb76df41b973ce93544a907cc0e23c726ea374eee79

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