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
Built Distribution
File details
Details for the file tarpatch-0.0.1.tar.gz
.
File metadata
- Download URL: tarpatch-0.0.1.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8688da82af72cc9b06b8420af6eeb61a237a1659c568b4f11456a16bd54604ca |
|
MD5 | aff1596d5c15973b8b046b5c93947dec |
|
BLAKE2b-256 | 3b386e7841adef8c5ff5e5a770a4448d0dddb09c745a0222a66d1ec3fe4c0b09 |
File details
Details for the file tarpatch-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: tarpatch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42fe1107a55f82f47618211871b25135ea2153fc594760490efcb77976e887f0 |
|
MD5 | 3e706e4fe8a01f8fd77b9fb15a2ff49a |
|
BLAKE2b-256 | a295dbb2233bbce2ad7f5c7eb256fbde83b88d2a8e1b96352962cb49d0d0ce62 |