Skip to main content

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 like bsdiff would probably be a better choice. However, as archives grow larger, using bsdiff 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

Project details


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)

Uploaded Source

Built Distribution

tarpatch-0.0.1-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page