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

Uploaded Source

Built Distribution

zipfile2-0.0.7-py2.py3-none-any.whl (25.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for zipfile2-0.0.7.tar.gz
Algorithm Hash digest
SHA256 b58096b2d591a1074c46fa3e849905e891b77874a79d435ab26ea25cd8a6e9be
MD5 70ebd32a47c1ac4e3c9689fbfb07d511
BLAKE2b-256 7ac00ab423c2e23458f0ddc7e2a1b2067f42e8ae43644a303e3697e931d92b80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zipfile2-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef7e5b326737eec99d4ca407ba4e0130f32f094603856a236f36fc03b915b549
MD5 ece71762ecfe54772c7a6c5ce6ef2f8c
BLAKE2b-256 2a0c8023b7701997e03e52dcd2e96010deca321978c159e56f3d36274c24c4e4

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