Skip to main content

PPMd compression/decompression library

Project description

https://readthedocs.org/projects/ppmd-cffi/badge/?version=latest https://badge.fury.io/py/ppmd-cffi.svg https://github.com/miurahr/ppmd/workflows/Run%20Tox%20tests/badge.svg https://coveralls.io/repos/github/miurahr/ppmd/badge.svg?branch=main

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 and by 7-Zip as one of several possible methods.

ppmd, aka. ppmd-cffi, is a python bindings with PPMd implementation by C language. The C codes are derived from p7zip, portable 7-zip implementation. ppmd-cffi support PPMd ver.H and PPMd ver.I.

Development status

A development status is considered as Beta state.

Manuals

You can find a manual at the readthedocs

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 extension sources are bundled with ppmd-cffi source package, and release provides binary wheels for Windows 64-bit, MacOS X, and Linux.

Command

ppmd-cffi provide small utility compress/decompress files.

$ ppmd target.txt
$ ppmd -x target.txt.ppmd

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ppmd-cffi-0.4.1.tar.gz (445.9 kB view hashes)

Uploaded Source

Built Distributions

ppmd_cffi-0.4.1-pp37-pypy37_pp73-win32.whl (36.2 kB view hashes)

Uploaded PyPy Windows x86

ppmd_cffi-0.4.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (37.6 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

ppmd_cffi-0.4.1-pp36-pypy36_pp73-win32.whl (36.2 kB view hashes)

Uploaded PyPy Windows x86

ppmd_cffi-0.4.1-pp36-pypy36_pp73-macosx_10_9_x86_64.whl (37.6 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

ppmd_cffi-0.4.1-cp39-cp39-win_amd64.whl (45.1 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

ppmd_cffi-0.4.1-cp39-cp39-win32.whl (39.2 kB view hashes)

Uploaded CPython 3.9 Windows x86

ppmd_cffi-0.4.1-cp39-cp39-manylinux2014_x86_64.whl (124.8 kB view hashes)

Uploaded CPython 3.9

ppmd_cffi-0.4.1-cp39-cp39-manylinux2014_aarch64.whl (121.8 kB view hashes)

Uploaded CPython 3.9

ppmd_cffi-0.4.1-cp39-cp39-manylinux1_x86_64.whl (124.8 kB view hashes)

Uploaded CPython 3.9

ppmd_cffi-0.4.1-cp39-cp39-manylinux1_i686.whl (116.7 kB view hashes)

Uploaded CPython 3.9

ppmd_cffi-0.4.1-cp39-cp39-macosx_11_0_arm64.whl (43.2 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

ppmd_cffi-0.4.1-cp39-cp39-macosx_10_9_x86_64.whl (43.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

ppmd_cffi-0.4.1-cp38-cp38-win_amd64.whl (45.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

ppmd_cffi-0.4.1-cp38-cp38-win32.whl (39.2 kB view hashes)

Uploaded CPython 3.8 Windows x86

ppmd_cffi-0.4.1-cp38-cp38-manylinux2014_x86_64.whl (125.3 kB view hashes)

Uploaded CPython 3.8

ppmd_cffi-0.4.1-cp38-cp38-manylinux2014_aarch64.whl (122.4 kB view hashes)

Uploaded CPython 3.8

ppmd_cffi-0.4.1-cp38-cp38-manylinux1_x86_64.whl (125.3 kB view hashes)

Uploaded CPython 3.8

ppmd_cffi-0.4.1-cp38-cp38-manylinux1_i686.whl (117.2 kB view hashes)

Uploaded CPython 3.8

ppmd_cffi-0.4.1-cp38-cp38-macosx_10_9_x86_64.whl (43.8 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

ppmd_cffi-0.4.1-cp37-cp37m-win_amd64.whl (45.0 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

ppmd_cffi-0.4.1-cp37-cp37m-win32.whl (39.2 kB view hashes)

Uploaded CPython 3.7m Windows x86

ppmd_cffi-0.4.1-cp37-cp37m-manylinux2014_x86_64.whl (124.3 kB view hashes)

Uploaded CPython 3.7m

ppmd_cffi-0.4.1-cp37-cp37m-manylinux2014_aarch64.whl (121.1 kB view hashes)

Uploaded CPython 3.7m

ppmd_cffi-0.4.1-cp37-cp37m-manylinux1_x86_64.whl (124.3 kB view hashes)

Uploaded CPython 3.7m

ppmd_cffi-0.4.1-cp37-cp37m-manylinux1_i686.whl (116.3 kB view hashes)

Uploaded CPython 3.7m

ppmd_cffi-0.4.1-cp37-cp37m-macosx_10_9_x86_64.whl (43.7 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

ppmd_cffi-0.4.1-cp36-cp36m-win_amd64.whl (45.0 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

ppmd_cffi-0.4.1-cp36-cp36m-win32.whl (39.2 kB view hashes)

Uploaded CPython 3.6m Windows x86

ppmd_cffi-0.4.1-cp36-cp36m-manylinux2014_x86_64.whl (124.3 kB view hashes)

Uploaded CPython 3.6m

ppmd_cffi-0.4.1-cp36-cp36m-manylinux2014_aarch64.whl (121.0 kB view hashes)

Uploaded CPython 3.6m

ppmd_cffi-0.4.1-cp36-cp36m-manylinux1_x86_64.whl (124.3 kB view hashes)

Uploaded CPython 3.6m

ppmd_cffi-0.4.1-cp36-cp36m-manylinux1_i686.whl (116.3 kB view hashes)

Uploaded CPython 3.6m

ppmd_cffi-0.4.1-cp36-cp36m-macosx_10_9_x86_64.whl (43.7 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

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