Skip to main content

Port of Python 3.3's 'lzma' module for XZ/LZMA compressed files to cffi.

Project description

This is a port of the 'lzma' module included in Python 3.3 or later
by Nadeem Vawda and Per Oyvind Karlsen, which provides a Python wrapper for XZ Utils
(aka LZMA Utils v2) by Igor Pavlov.

Unlike backports.lzma which is a straight backport, this version uses cffi which means
it runs on PyPy without having to use the (very slow) CPyExt. It also runs perfectly
well on CPython 2.6, 2.7 or 3.

To use, either `import lzmaffi as lzma', or add this at the beginning of your script:

import lzmaffi.compat
lzmaffi.compat.register()

Then `import lzma' as usual.

In order to compile this, you will need to install XZ Utils from http://tukaani.org/xz/

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

lzmaffi-0.0.9.tar.gz (38.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lzmaffi-0.0.9.tar.gz
Algorithm Hash digest
SHA256 cd8ab2e239e8be01b01b977ef6abb37468cc43efbe02a5b344d93c26b2e78051
MD5 918b0e2c0e041d52ea875f0e02a08d84
BLAKE2b-256 1afa9332b5de82295ac98e449f31e3590d825b4da0c6372e286e9f69ec618722

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