iddiff
Internet-Draft (ID) diff tool. Inspired by rfcdiff.
Install
pip install iddiff
Dependencies
- Python 3.8 or higher.
- Word difference functionality (
wdiffandhwdiff) 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)
| File | Size | Uploaded | |
|---|---|---|---|
| iddiff-0.5.1.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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