Skip to main content

Backport of zipfile Python 3.9 to Python 2.7 with some enhancements

Project description

PyPI

zipfile39

  • Backport of zipfile Python 3.9 (especially caae717) to older Python including Python 2.7.
    • This means Python 2.7 can use zf.open(name, 'w').
  • Uses backports.lzma for ZIP_LZMA (method 14) Python2 handler.
  • Introduces ZIP_DEFLATED64 (method 9), ZIP_DCLIMPLODED (method 10), 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).
    • isal / pyppmd / zipfile_deflate64 Python2 use my own backport.
  • If isal is installed:
    • crc32 and inflation are accelerated automatically.
    • ZIP_DEFLATED compresslevel -10, -11, -12 and -13 are available, which correspond to isal compression level 0, 1, 2 and 3.
  • If slz is installed:
    • ZIP_DEFLATED compresslevel -21 is available.
  • If codecs7z is installed:
    • ZIP_DEFLATED/ZIP_BZIP2 compresslevel 11 - 19 are available. Enjoy 7-zip's ultimate compression on Python.

Requisites

Wheels

Some dependencies need complex build procedures. For your sake those wheels are published in actions CI.

Legal

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

Uploaded Source

File details

Details for the file zipfile39-0.0.8.0.tar.gz.

File metadata

  • Download URL: zipfile39-0.0.8.0.tar.gz
  • Upload date:
  • Size: 427.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18

File hashes

Hashes for zipfile39-0.0.8.0.tar.gz
Algorithm Hash digest
SHA256 31dcde3e28a146e8daa93234981e6dd24021ae7c94506a248002a7d1f0ce8192
MD5 4138fd0dc4b208b8a865e92569a7f316
BLAKE2b-256 5dea23f2742be2eb840174f04dbed5a47b280f4110b4ad686bc4b5a1545f0a25

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