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 likebsdiffwould probably be a better choice. However, as archives grow larger, usingbsdiffcan 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
Metadata
Release files for tarpatch 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tarpatch-0.0.1.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tarpatch-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.0 kB
Release files / tarpatch-0.0.1.tar.gz
| Download URL | tarpatch-0.0.1.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8688da82af72cc9b06b8420af6eeb61a237a1659c568b4f11456a16bd54604ca
|
|
BLAKE2b-256 checksum How to use checksums |
3b386e7841adef8c5ff5e5a770a4448d0dddb09c745a0222a66d1ec3fe4c0b09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tarpatch-0.0.1-py3-none-any.whl
| Download URL | tarpatch-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42fe1107a55f82f47618211871b25135ea2153fc594760490efcb77976e887f0
|
|
BLAKE2b-256 checksum How to use checksums |
a295dbb2233bbce2ad7f5c7eb256fbde83b88d2a8e1b96352962cb49d0d0ce62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|