Binary patches for tarballs
Project description
TarPatch
Binary patches for tarballs
BEWARE: THIS PROJECT IS STILL IN THE EXPERIMENTAL PHASE
What is tarpatch?
Tarpatch allows you to create a patch that represents the difference between two tar archives (a.k.a. tarballs).
This patch is typically much smaller than the archives themselves, so it can be used for efficient transmission of updates.
Instead of creating a single monolithic binary diff, tarpatch creates binary diffs for the individual files in the archives.
The resulting patch file can be inspected easily, because it is in JSON format.
FAQ
- Q: Why not simply create a monolithic binary difference file using e.g.
bsdiff
? A: For small archives, something likebsdiff
would probably be a better choice. However, as archives grow larger, usingbsdiff
can become too expensive in terms of memory use.
Questions?
Please have a look at the Q&A and existing issues.
Similar or related projects
- bsdiff4 (Python)
- Courgette from Chromium (C++, source)
- containers/tar-diff (Go)
- difflib (Python, standard library)
- GNU diffutils
- GNU patch
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
tarpatch-0.0.1.tar.gz
(17.5 kB
view hashes)
Built Distribution
tarpatch-0.0.1-py3-none-any.whl
(12.6 kB
view hashes)