Skip to content

ggicci/python-fossil-delta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Other implementations:

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

About

Fossil delta compression algorithm for python.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published