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

Uploaded Source

Built Distribution

zipfile2-0.0.9-py2.py3-none-any.whl (43.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for zipfile2-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6bfca84f4571849a05e1a03fca0a2cb4f090978033e7c1105c1efbf2f08de9c9
MD5 36f5f09e1e9aaedcf668636d1180de0d
BLAKE2b-256 5a19beecdb5f126d876b3f883f7ba5a42d4d9b74bb47fb4997a66e8d184c48bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zipfile2-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5728c790f9c0d7120820170bdeb4f8d0defd810f56f8185f0bf389828f4f1d3e
MD5 6e162f95a2b55023a948d2a773a94a20
BLAKE2b-256 eab7a0a8375adae9c19431679a079e8ec283a95949de0b78b517c9c8473681a9

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