Registry / data / lcpdelta

lcpdelta

JSON →
library2.2.0pypypiunverified

LCPDelta is a Python library for computing delta updates and patches, commonly used in content distribution and versioning systems. Version 2.1.27, requires Python >=3.9. Active development with regular releases.

pip install lcpdelta
INSTALL
IMPORT
SIG · LCPDELTA
L
lcpdelta
datapythonv2.2.0
Install
16.0s avg
Import
Disk
275MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 270.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 16.0s · import 0.000s · 261MB
275MB installed
● package 275MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DeltaBuilder
from lcp_delta import DeltaBuilder
from lcpdelta import DeltaBuilder

Basic delta creation and application.

import os from lcpdelta import DeltaBuilder, DeltaApplier # Build a delta between old and new files builder = DeltaBuilder() delta = builder.build('old_file.bin', 'new_file.bin') with open('delta.bin', 'wb') as f: f.write(delta) # Apply delta to recreate new file applier = DeltaApplier() with open('delta.bin', 'rb') as f: delta_data = f.read() applier.apply('old_file.bin', delta_data, 'recreated_file.bin')
Debug
Known issues
breakingLibrary renamed from 'LCPDelta' to 'lcpdelta' in v2.0.0. All imports must use lowercase.
fix
Use `import lcpdelta` instead of `import LCPDelta`.
affects: >=2.0.0
gotchaDeltaBuilder and DeltaApplier are the primary classes. The API expects bytes-like objects for file contents.
fix
Read files in binary mode when passing to builder or applier.
affects: all
deprecatedFunction `create_patch` was deprecated in v2.1.0. Use `DeltaBuilder.build` instead.
fix
Replace calls to `create_patch(old, new)` with `DeltaBuilder().build(old, new)`
affects: 2.1.0 - 2.1.27
Upgrade
Version history
2.2.0latest on PyPI · released May 22, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
4
Resources
lcpdelta — pip install lcpdelta · libregistry