PPMd compression/decompression library
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 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
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
Hashes for ppmd_cffi-0.4.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 917d660f0663f10280df44784397d3c64dd7b8e7b05d4a24959dffcb0726d829 |
|
MD5 | bdfaf370ffc426eefbfc2aeb11109c69 |
|
BLAKE2b-256 | e07d2c8ecf6d03423a74b4ed0c4cb881a03b06eb3fdd7207125f2e4216664b7f |
Hashes for ppmd_cffi-0.4.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62eaeb3835312c89b2a50e517e943edc4468c03f799d5f1b5dff939a697a3cac |
|
MD5 | 0ea062f627658d187e779e3cd981a744 |
|
BLAKE2b-256 | 2507931c49f61830487e47a740964495b33ad6b6c1e244c279747eda216f9410 |
Hashes for ppmd_cffi-0.4.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9410bcd5e5d683e820f4bbf1db0cde2f421d7579f1a70e653387c512e707c68 |
|
MD5 | 7577e942007cf2338bd25c9fff1f3e1f |
|
BLAKE2b-256 | d52783144990a759a3e08000d68c5301c68c2183c03a9652361ecb1fec31ffbf |
Hashes for ppmd_cffi-0.4.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 627073dcca1f7deaabef6fa1e822edc6dc57de09d52118ed5822497585815838 |
|
MD5 | 28fc1cf4aa2f3c214a938493fb7f0111 |
|
BLAKE2b-256 | d203bc0ded648ff07bc21acb97c791e37d78b92050f277ee88b63394aa805ba3 |
Hashes for ppmd_cffi-0.4.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6e1ec6844f38bae8dc3d43dc7de042d7364767f75b8ec0fa548c9ce75669d6 |
|
MD5 | 07470c33e5e065ac48bf1e177ce0fae7 |
|
BLAKE2b-256 | 5798fa257f4c69d875661dbc5a724f04df2a7a893379986a4d357826cf4e9fae |
Hashes for ppmd_cffi-0.4.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d50559ee785a4ef9b717dbd021a4ed0d4152c6de5f295a0abed13f1d96082c3 |
|
MD5 | 0ad861685a036386e96fb0c6bd41fd32 |
|
BLAKE2b-256 | 9a29e17639b067530a3134bd7c62864865123d2e586a645a5874dea205c8cba8 |
Hashes for ppmd_cffi-0.4.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ced738f5339223468a563083bb199285252267d9be6ed29c10a919ff91f953e |
|
MD5 | 2acf0c712803861f97fe3439b813217d |
|
BLAKE2b-256 | cafb624787cb2f1bf44878a1decd23820db75cc142731cf0bff91be54ddedf6a |
Hashes for ppmd_cffi-0.4.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0809c58bfa3e90a8bd78f480e08ef84911d51e900ef7b066e9972793532edf96 |
|
MD5 | 4354b711872f3612213e58397f72bbec |
|
BLAKE2b-256 | 907c219f5ad5057f370430918e60569b0f5f69a852ad8f5f7499f2ba4de15861 |
Hashes for ppmd_cffi-0.4.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345dbb05ebfac0fe8f233b687da353b197cbfb0e7292312a6f4ec5c7ef707fed |
|
MD5 | c2a98f9080191d3103530deebab6e9c4 |
|
BLAKE2b-256 | de07254de32d836be2e504a8d2917771eed0ed3cfb7395434a03b8e427af3e24 |
Hashes for ppmd_cffi-0.4.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66a85eca43e44e8f4853c6635a538c2733c604206d3036782a4c0feedd11b4a |
|
MD5 | 5070b6835702ba10b19f7ca665aaff32 |
|
BLAKE2b-256 | 7d8ec551923f8c4afa53066ad58b593c631b1c2a96224711b488282d3c3848b7 |
Hashes for ppmd_cffi-0.4.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6302ab4c52752ff4bb4e9709113d7585d64d94eb2a11c0ad4bf353c582d723cc |
|
MD5 | 87e74736219fe0000a5062dd28ce2c40 |
|
BLAKE2b-256 | 091520a875448579456a9facb501dccb821c438f7ca490cce8965c5cf87a80b2 |
Hashes for ppmd_cffi-0.4.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b9ac8cbf7caf5f8f4ea4dfce5b53fab69354433df1080d549ee1d062f5f3a99 |
|
MD5 | 75ef55d56473dff58606d796ef9701b3 |
|
BLAKE2b-256 | 34617ef3ad9f93eb7fb0c4d664c06f3f8253dacbf68eb3dc392c5a2d9e6ba4ec |
Hashes for ppmd_cffi-0.4.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6718751643935f56af509300e4d8686a1d09a01a9e18990da3db30b7c6d612f |
|
MD5 | 481d6d6c35a1fa7daea545970d2085cb |
|
BLAKE2b-256 | 20804b3566f82d187ce5b019c31bc978f6efa363f02563327ed85d505b5977db |
Hashes for ppmd_cffi-0.4.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0720ac45d5766af7bef62dfa45099c2241f409dd2b8bced814ca716312e0a9bb |
|
MD5 | 1978e52bd5ae4eacbd215965f20ab0f9 |
|
BLAKE2b-256 | adc41a3533460e74c7ae172fd0e64fe77167c6560d3221a9bc56a4369d3f6057 |
Hashes for ppmd_cffi-0.4.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b57fc25410a643bfc96fae41dd511e6ab56fe824868e718f947567aa556b954b |
|
MD5 | bd78a5a5f074b809b2d8ed6782cb089e |
|
BLAKE2b-256 | a5214ae576313896d1f393e2578e56d578e28a7d02854b1cd286d0002cb1ab5a |
Hashes for ppmd_cffi-0.4.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672c03dc821762c3ee16ba4c0e95936247ab42b87cb9e9df7d180324bfe6f710 |
|
MD5 | f81ef58fa70ffd64a12709a7c37e75c5 |
|
BLAKE2b-256 | 2545b8ec4f8e69b53f191e9e64f753e8da19ef0f9d84dcc99268da51a1b0cdc6 |