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/
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
Release history Release notifications | RSS feed
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.6.tar.gz
(38.2 kB
view details)
File details
Details for the file lzmaffi-0.0.6.tar.gz
.
File metadata
- Download URL: lzmaffi-0.0.6.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad638061941aed9c636f1dbc083dad313a4bfa4f32abc4d71d14901c38d6c897 |
|
MD5 | 852deb71d2df1fe8f3a0653954615dc1 |
|
BLAKE2b-256 | c3b02d755260730a8f6f13337ffcfa7b4de961173e409305bdfc63c78f696672 |