Algorithms for synchronizing plain text
72.51 KB
built 2026-10-17 08:45:50 GMT
Description
The Diff Match and Patch libraries offer robust algorithms to perform
the operations required for synchronizing plain text.
1. Diff
- Compare two blocks of plain text and efficiently return a list of
differences.
2. Match
- Given a search string, find its best fuzzy match in a block of plain
text. Weighted for both accuracy and location.
3. Patch
- Apply a list of patches onto plain text. Use best-effort to apply
patch even when the underlying text doesn't match.
Google's Diff Match and Patch library, packaged for modern Python.
Dependencies
14 totalRequires13
- (python3dist(flit-core) < 4~~ with python3dist(flit-core) >= 3.8)
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(pytest)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
- rpmlib(TildeInVersions) <= 4.10.0-1
Provides1
- python3-diff-match-patch = 20241021-12.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| diff-match-patch-20241021.tar.gz | 41.94 KB |
| python-diff-match-patch.spec | 7.00 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
