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 | Provenance | Actions |
|---|---|---|---|---|
| tarpatch-0.0.1.tar.gz | 17.5 kB | Without provenance | Details for tarpatch-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tarpatch-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for tarpatch-0.0.1-py3-none-any.whl |
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
|
Security for tarpatch 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.