textproc/py-diff-match-patch - The NetBSD Packages Collection

Robust algorithms for synchronizing plain text

The Diff Match and Patch libraries offer robust algorithms to perform the
operations required for synchronizing plain text.

Diff: Compare two blocks of plain text and efficiently return a list of
differences.

Match: Given a search string, find its best fuzzy match in a block of plain
text. Weighted for both accuracy and location.

Patch: Apply a list of patches onto plain text. Use best-effort to apply patch
even when the underlying text doesn't match.

Build dependencies

devel/py-flit_core devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py38-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py39-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py38-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py39-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py38-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py39-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy310-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy311-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy312-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy38-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy39-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy310-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy311-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy312-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy38-diff-match-patch-20230430.tgz
NetBSD 10.0aarch64ebpy39-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy310-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy311-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy312-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy38-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy39-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy310-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy311-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy312-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy38-diff-match-patch-20230430.tgz
NetBSD 10.0alphapy39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py38-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py38-diff-match-patch-20230430.tgz
NetBSD 10.0earmv4py39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy38-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy38-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv6hfpy312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy38-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy312-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy38-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy39-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy310-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy311-diff-match-patch-20230430.tgz
NetBSD 10.0earmv7hfpy312-diff-match-patch-20230430.tgz
NetBSD 10.0i386py310-diff-match-patch-20230430.tgz
NetBSD 10.0i386py311-diff-match-patch-20230430.tgz
NetBSD 10.0i386py312-diff-match-patch-20230430.tgz
NetBSD 10.0i386py38-diff-match-patch-20230430.tgz
NetBSD 10.0i386py39-diff-match-patch-20230430.tgz
NetBSD 10.0i386py310-diff-match-patch-20230430.tgz
NetBSD 10.0i386py311-diff-match-patch-20230430.tgz
NetBSD 10.0i386py312-diff-match-patch-20230430.tgz
NetBSD 10.0i386py38-diff-match-patch-20230430.tgz
NetBSD 10.0i386py39-diff-match-patch-20230430.tgz
NetBSD 10.0i386py310-diff-match-patch-20230430.tgz
NetBSD 10.0i386py311-diff-match-patch-20230430.tgz
NetBSD 10.0i386py312-diff-match-patch-20230430.tgz
NetBSD 10.0i386py38-diff-match-patch-20230430.tgz
NetBSD 10.0i386py39-diff-match-patch-20230430.tgz
NetBSD 10.0i386py310-diff-match-patch-20230430.tgz
NetBSD 10.0i386py311-diff-match-patch-20230430.tgz
NetBSD 10.0i386py312-diff-match-patch-20230430.tgz
NetBSD 10.0m68kpy311-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy27-diff-match-patch-20200713nb1.tgz
NetBSD 10.0powerpcpy310-diff-match-patch-20200713nb1.tgz
NetBSD 10.0powerpcpy311-diff-match-patch-20200713nb1.tgz
NetBSD 10.0powerpcpy37-diff-match-patch-20200713nb1.tgz
NetBSD 10.0powerpcpy38-diff-match-patch-20200713nb1.tgz
NetBSD 10.0powerpcpy39-diff-match-patch-20200713nb1.tgz
NetBSD 10.0powerpcpy310-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy311-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy312-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy38-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy39-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy310-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy311-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy312-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy38-diff-match-patch-20230430.tgz
NetBSD 10.0powerpcpy39-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy310-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy311-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy312-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy38-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy39-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy310-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy311-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy312-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy38-diff-match-patch-20230430.tgz
NetBSD 10.0sh3elpy39-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py310-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py311-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py312-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py38-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py39-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py310-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py311-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py312-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py38-diff-match-patch-20230430.tgz
NetBSD 10.0sparc64py39-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy310-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy311-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy312-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy38-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy39-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy310-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy311-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy312-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy38-diff-match-patch-20230430.tgz
NetBSD 10.0sparcpy39-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py38-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py39-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py38-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py39-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py38-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py39-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 10.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py38-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py39-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py38-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py39-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py38-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py39-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py310-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py311-diff-match-patch-20230430.tgz
NetBSD 9.0aarch64py312-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy310-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy311-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy38-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy39-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy310-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy311-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy38-diff-match-patch-20230430.tgz
NetBSD 9.0alphapy39-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy310-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy311-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy38-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy39-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy310-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy311-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy38-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy39-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy310-diff-match-patch-20230430.tgz
NetBSD 9.0earmv6hfpy311-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy310-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy311-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy38-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy39-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy310-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy311-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy38-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy39-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy310-diff-match-patch-20230430.tgz
NetBSD 9.0earmv7hfpy311-diff-match-patch-20230430.tgz
NetBSD 9.0i386py310-diff-match-patch-20230430.tgz
NetBSD 9.0i386py311-diff-match-patch-20230430.tgz
NetBSD 9.0i386py312-diff-match-patch-20230430.tgz
NetBSD 9.0i386py38-diff-match-patch-20230430.tgz
NetBSD 9.0i386py39-diff-match-patch-20230430.tgz
NetBSD 9.0i386py310-diff-match-patch-20230430.tgz
NetBSD 9.0i386py311-diff-match-patch-20230430.tgz
NetBSD 9.0i386py38-diff-match-patch-20230430.tgz
NetBSD 9.0i386py39-diff-match-patch-20230430.tgz
NetBSD 9.0i386py310-diff-match-patch-20230430.tgz
NetBSD 9.0i386py311-diff-match-patch-20230430.tgz
NetBSD 9.0i386py312-diff-match-patch-20230430.tgz
NetBSD 9.0i386py38-diff-match-patch-20230430.tgz
NetBSD 9.0i386py39-diff-match-patch-20230430.tgz
NetBSD 9.0i386py310-diff-match-patch-20230430.tgz
NetBSD 9.0i386py311-diff-match-patch-20230430.tgz
NetBSD 9.0i386py312-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy310-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy311-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy312-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy38-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy39-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy27-diff-match-patch-20200713nb1.tgz
NetBSD 9.0powerpcpy310-diff-match-patch-20200713nb1.tgz
NetBSD 9.0powerpcpy311-diff-match-patch-20200713nb1.tgz
NetBSD 9.0powerpcpy37-diff-match-patch-20200713nb1.tgz
NetBSD 9.0powerpcpy38-diff-match-patch-20200713nb1.tgz
NetBSD 9.0powerpcpy39-diff-match-patch-20200713nb1.tgz
NetBSD 9.0powerpcpy310-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy311-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy312-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy38-diff-match-patch-20230430.tgz
NetBSD 9.0powerpcpy39-diff-match-patch-20230430.tgz
NetBSD 9.0sparc64py310-diff-match-patch-20230430.tgz
NetBSD 9.0sparc64py311-diff-match-patch-20230430.tgz
NetBSD 9.0sparc64py312-diff-match-patch-20230430.tgz
NetBSD 9.0sparc64py38-diff-match-patch-20230430.tgz
NetBSD 9.0sparc64py39-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py38-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py39-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py38-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py39-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py38-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py39-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py310-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py311-diff-match-patch-20230430.tgz
NetBSD 9.0x86_64py312-diff-match-patch-20230430.tgz
NetBSD 9.3x86_64py310-diff-match-patch-20230430.tgz
NetBSD 9.3x86_64py311-diff-match-patch-20230430.tgz
NetBSD 9.3x86_64py312-diff-match-patch-20230430.tgz
NetBSD 9.3x86_64py310-diff-match-patch-20230430.tgz
NetBSD 9.3x86_64py311-diff-match-patch-20230430.tgz
NetBSD 9.3x86_64py312-diff-match-patch-20230430.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.