skip to navigation
skip to content

Not Logged In

lzmaffi 0.2.0

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

Latest Version: 0.3.0

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.7 or 3, and lets you seek through files quickly if you compressed them with the --block-size parameter (available in xz 5.1alpha and above).

Versions below 0.2.0 also run on CPython 2.6.

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/  
File Type Py Version Uploaded on Size
lzmaffi-0.2.0.tar.gz (md5) Source 2014-04-23 37KB
  • Downloads (All Versions):
  • 48 downloads in the last day
  • 166 downloads in the last week
  • 914 downloads in the last month