Skip to main content

Delta compression algorithm from fossil SCM

Project description

# Delta compression algorithm for python

> > This is a python wrapper of the original C implementation. (Source code from Fossil-2.6)

Fossil achieves efficient storage and low-bandwidth synchronization through the
use of delta-compression. Instead of storing or transmitting the complete
content of an artifact, fossil stores or transmits only the changes relative to
a related artifact.

- [Format](
- [Algorithm](
- [Original implementation](

Other implementations:

- [JavaScript]( ([Online demo](
- [C#](

## Install

pip install python-fossil-delta

## Example

import fossil_delta

def main():
delta = fossil_delta.create_delta(b'abc', b'abcdef')
out = fossil_delta.apply_delta(b'abc', delta)
print(out) # --> abcdef

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

python-fossil-delta-18.11.27.tar.gz (10.3 kB view hashes)

Uploaded source

Built Distributions

Supported by

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