Skip to main content

Backport of zipfile Python 3.9 to Python 2.7 with some enhancements

Project description

## zipfile39

  • Backport of zipfile Python 3.9 (especially caae717) to older Python including Python 2.7.

  • Uses backports.lzma for ZIP_LZMA (method 14) Python2 handler.

  • Introduces ZIP_DEFLATED64 (method 9), ZIP_ZSTANDARD(method 93), ZIP_XZ (method 95) and ZIP_PPMD (method 98) handlers.
    • ZIP_ZSTANDARD Python2 uses zstandard 0.14.1 (the last compatible version).

    • Due to bindings availability, DEFLATED64 and PPMD are Python3 only.

  • If isal is installed:
    • crc32 and inflation are accelerated automatically.

    • compresslevel -1, -2 and -3 are available, which correspond to isal compression level 1, 2 and 3.

  • Installation requisites:
    • pathlib2 (Python2 only)

    • contextlib2 (Python2 only)

  • Optional requisites:
    • backports.lzma (Python2 only)

    • zstandard

  • Optional requisites (only available for Python3):
    • pyppmd (currenty need python3 -m pip install git+https://github.com/cielavenir/pyppmd@zipfile39_compatible)

    • zipfile_deflate64

    • isal

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

zipfile39-0.0.1.1.tar.gz (27.1 kB view hashes)

Uploaded Source

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