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('abc', 'abcdef')
out = fossil_delta.apply_delta('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.7.2.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

python_fossil_delta-18.7.2-cp27-cp27m-macosx_10_13_x86_64.whl (18.2 kB view hashes)

Uploaded CPython 2.7m macOS 10.13+ x86-64

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