ppmd-cffi 0.2.2
pip install ppmd-cffi==0.2.2
Released:
PPMd compression/decompression library
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Lesser General Public License v2 or later (LGPLv2+) (LGPL-2.1+)
- Author: Hiroshi Miura
- Tags ppmd , 7-zip , compression
Classifiers
- Development Status
- License
- Operating System
- Programming Language
- Topic
Project description
PPM(Prediction by partial matching) is a compression algorithm which has several variations of implementations. PPMd is the implementation by Dmitry Shkarin. It is used in the RAR by default and by 7-Zip as one of several possible methods.
ppmd, aka. ppmd-cffi, is a python bindings with PPMd implementation by C language. Core codes are derived from p7zip, portable 7-zip implementation, and now only consist of Ppmd7, PPMd ver.H.
Since 7-zip uses PPMd ver.H and RAR uses PPMd ver.I, the ppmd-cffi is considered compatible with 7-zip’s implementation.
Installation
As usual, you can install ppmd-cffi using python standard pip command. CAUTION: Since it is a bindings with C source code, C compiler should be installed on your operating system.
` pip install ppmd-cffi `
All C source codes are bundled with ppmd-cffi package.
Usage
ppmd-cffi provide two classes. Both class supports context manager, ie. with … as .. syntax.
Encoder
Encoder class provide PPMd encoder. It has encode(), flush() and close() methos.
Decoder
Decoder class pvoride PPMd decoder. It has decode() and close() methods.
Please see test code for a detailed usage.
License
Copyright (C) 2020 Hiroshi Miura
7-Zip Copyright (C) 1999-2010 Igor Pavlov
LZMA SDK Copyright (C) 1999-2010 Igor Pavlov
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Lesser General Public License v2 or later (LGPLv2+) (LGPL-2.1+)
- Author: Hiroshi Miura
- Tags ppmd , 7-zip , compression
Classifiers
- Development Status
- License
- Operating System
- Programming Language
- Topic
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters https://pypi.org/project/ppmd-cffi/0.2.2/#files
Showing 3 of 3 files.
File details
Details for the file ppmd-cffi-0.2.2.tar.gz
.
File metadata
- Download URL: ppmd-cffi-0.2.2.tar.gz
- Upload date:
- Size: 39.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
466663798cd2f80ed3df9f3ee21ddd5ad5b0a2a3ff4b07f1cee5670e4a96f264
|
|
MD5 |
fa1776a0c828a2ec462647f080bc6c9c
|
|
BLAKE2b-256 |
7302aa28c55eae14126d3c707aaeeac32ce8da9f3acad34e720c9ce8e2df8453
|
File details
Details for the file ppmd_cffi-0.2.2-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: ppmd_cffi-0.2.2-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 71.9 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e9e0394f7da7b2e9db4934be4936f1c69f459559f26c647b7d5985c44c422f46
|
|
MD5 |
cadcf6f016706b5e5d4275e346c1d8f7
|
|
BLAKE2b-256 |
4160af2b7eb6b7f51b5814018d6794984dcf9a675b7e5ab9b4ad343ac1d74c91
|
File details
Details for the file ppmd_cffi-0.2.2-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: ppmd_cffi-0.2.2-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 71.3 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e69eb41c35fb5d770459a386082d0ef76adb9f3b671fc6ddafd30d44f8cba156
|
|
MD5 |
eb65d2b97f6b2807f474dbbd8ffd3823
|
|
BLAKE2b-256 |
90c00b6def466c82fcc9c7b8d99b2eea92fc0e3f13cfe671931f3bcfda2caa1c
|
File details
Details for the file ppmd_cffi-0.2.2-cp36-cp36m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: ppmd_cffi-0.2.2-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 71.3 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e32f07180a7429be80dc3c74adf185703edd9204c7303deceff3618b653ba66c
|
|
MD5 |
0b8fe9e47069bd098eea2ca626dbc2e0
|
|
BLAKE2b-256 |
c9356796d067ce356c01e6fec9723f6dfe74a6365f6b61f204a568e0af28edd1
|