Skip to main content

iddiff

Internet-Draft (ID) diff tool. Inspired by rfcdiff.

Install

pip install iddiff

Dependencies

  • Python 3.8 or higher.
  • Word difference functionality (wdiff and hwdiff) requires GNU Wdiff.

Usage

usage: iddiff [-h] [--side-by-side | --wdiff | --hwdiff | --chbars | --abdiff]
              [-t] [-c CONTEXT_LINES] [-s] [-v]
              file1 file2

Internet-Draft diff tool

positional arguments:
  file1                 first file to compare
  file2                 second file to compare

options:
  -h, --help            show this help message and exit
  --side-by-side        side by side difference (default)
  --wdiff               produce word difference (requries GNU Wdiff)
  --hwdiff              produce HTML wrapped word difference
                        (requires GNU Wdiff)
  --chbars              produce changebar marked output
  --abdiff              produce before/after output
  -s, --skip-whitespace
                        skip multilines with only whitespace
  -v, --version         show program's version number and exit

side by side options:
  -t, --table-only      produce only a HTML table
  -c CONTEXT_LINES, --context-lines CONTEXT_LINES
                        set number of context lines (set to 0 for no context)
                        (default 8)

Tests

Run tests with tox.

tox

Generate coverage report with coverage.

coverage report

Metadata

Release files for iddiff 0.5.1

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

Source distribution (sdist)

Source distribution for iddiff 0.5.1
File Size Uploaded
iddiff-0.5.1.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iddiff 0.5.1
File Interpreter ABI Platform
iddiff-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / iddiff-0.5.1.tar.gz

Download URL iddiff-0.5.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f5175ecd233d17c8be4ef3c0e00e68ea9c8a0df4e1bad647c238c2b2181e98e3
BLAKE2b-256 checksum
How to use checksums
845b3628fdd6c0044c585fe4372341267413662e0083dd757ae9cbb3571e17be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.

Transparency log

Release files / iddiff-0.5.1-py3-none-any.whl

Download URL iddiff-0.5.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45546ce4e694b560f893b58e9bb4b01d3e8054618fedadd170a31dfa6eb39994
BLAKE2b-256 checksum
How to use checksums
273588bb944a4eab2f1aa8a1e881a955e932c07df5e45abd1c2c916c08c68b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.2

2 release files

0.0.1

2 release files

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