"par2 Python Utilities"
Project description
Par2Py
MIT Licensed par2 parser / A Python framework for interacting with Par2 files
Par2 is a file format for using Reed-Solomon Coding to perform file recovery operations using "blocks" of recovery data.
#Rationale While working on a QR code based backup solution, I found myself wanting additional redundancy. Which is where Par2 comes in. Par2 is a great system with many advantages:
- Everything is in "packets", with extremely easy to decode headers.
- Packet headers are easy to find, with their "magic" values ?guaranteed? to only show up there.
- Any amount of padding (including random data) is allowed between packets.
- Provided that enough redundancy exists, a missing file can be completely reconstructed.
To increase the likelihood of file recovery I found myself needing to perform byte alignment on individual packets. There were other reasons as well, but this led to creating a par2 parser, and I decided that it would be worth it as a standalone program.
References:
Note that you can recover everything in the second link easily from any "vol...par2" file.
Other (similar) projects:
- par2ools by Jason Moiron
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 Distributions
Built Distribution
File details
Details for the file par2py-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: par2py-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c65aa7b27e73fad5f89d8fd233fde61e96fa8fa7b288290c7ac97e43788e7750 |
|
MD5 | 17f372812c8cb9b718360284f7fd20b2 |
|
BLAKE2b-256 | 959e7d1f0d60aa8eda9a0d47dc40f222d2ceb557f86af62436dac94c0d8d0373 |