py3-patiencediff-0.2.19p0
Python implementation of the patiencediff algorithm
Back to search · Project homepage
Description
This package contains the implementation of the patiencediff algorithm, as
first described by Bram Cohen.
Like Python's difflib, this module provides both a convenience unified_diff
function for the generation of unified diffs of text files as well as a
SequenceMatcher that can be used on arbitrary lists.
Patiencediff provides a good balance of performance, nice output for humans,
and implementation simplicity.
The code in this package was extracted from the Bazaar code base.
The package comes with two implementations:
- A Python implementation (_patiencediff_py.py); this implementation only
requires a Python interpreter and is the more readable version of the two.
- A C implementation (_patiencediff_c.c); this implementation
is faster, but requires a C compiler and is less readable.
It may also be called from the command line:
- python3 -m patiencediff file_a file_b
Package information
- Ports path
- textproc/py-patiencediff
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- textproc, lang/python, lang/rust
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, riscv64, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
- devel/py-setuptools-rust
- devel/cargo-generate-vendor STEM->=1.1
- lang/rust