Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for python-fossil-delta, version 18.11.27
Filename, size File type Python version Upload date Hashes
Filename, size python_fossil_delta-18.11.27-cp27-cp27m-macosx_10_13_x86_64.whl (19.0 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size python_fossil_delta-18.11.27-cp36-cp36m-macosx_10_14_x86_64.whl (19.1 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size python-fossil-delta-18.11.27.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page