Skip to main content
# 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](http://www.fossil-scm.org/index.html/doc/tip/www/delta_format.wiki)
- [Algorithm](http://www.fossil-scm.org/index.html/doc/tip/www/delta_encoder_algorithm.wiki)
- [Original implementation](http://www.fossil-scm.org/index.html/artifact/f3002e96cc35f37b)

Other implementations:

- [JavaScript](https://github.com/dchest/fossil-delta-js) ([Online demo](https://dchest.github.io/fossil-delta-js/))
- [C#](https://github.com/endel/FossilDelta/blob/master/README.md)

## Install

```
pip install python-fossil-delta
```

## Example

```python
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
```


Metadata

Release files for python-fossil-delta 18.11.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-fossil-delta 18.11.27
File Size Uploaded Provenance Actions
python-fossil-delta-18.11.27.tar.gz 10.3 kB Without provenance Details for python-fossil-delta-18.11.27.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for python-fossil-delta 18.11.27
File Interpreter ABI Platform Actions
python_fossil_delta-18.11.27-cp36-cp36m-macosx_10_14_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64 Details for python_fossil_delta-18.11.27-cp36-cp36m-macosx_10_14_x86_64.whl
python_fossil_delta-18.11.27-cp27-cp27m-macosx_10_13_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.13+ x86-64 Details for python_fossil_delta-18.11.27-cp27-cp27m-macosx_10_13_x86_64.whl

Total release size: 48.5 kB

Release files / python-fossil-delta-18.11.27.tar.gz

Download URL python-fossil-delta-18.11.27.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3588d125d58dec821524168e6c73009beee08ee21ea38dceef1a13c788d99501
BLAKE2b-256 checksum
How to use checksums
0f3a1e9d3b66f6298b40fa9f476b57660d56a360221c2b4a5f7058f76eac0ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / python_fossil_delta-18.11.27-cp36-cp36m-macosx_10_14_x86_64.whl

Download URL python_fossil_delta-18.11.27-cp36-cp36m-macosx_10_14_x86_64.whl
Size 19.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
c317763d7cfb42c4e68c1fb9669c961d81e48fea5d4eee9d65afe12ca66aded0
BLAKE2b-256 checksum
How to use checksums
c2e70c98ca92bcfcce1fcd8cfaf71e58b42c7a92e378e1ff73a6d0bdbb1dbca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / python_fossil_delta-18.11.27-cp27-cp27m-macosx_10_13_x86_64.whl

Download URL python_fossil_delta-18.11.27-cp27-cp27m-macosx_10_13_x86_64.whl
Size 19.0 kB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
43d97b627f9d82da48649157e05f16083a2464ac167dc142e98a7b0a9f8af470
BLAKE2b-256 checksum
How to use checksums
915f115d312a75ca477077bc57f02dbbbfda4745f31d9c066fe31f333ed9e45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Security for python-fossil-delta 18.11.27

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page