Internet-Draft diff tool
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iddiff-0.5.1.tar.gz.
File metadata
- Download URL: iddiff-0.5.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5175ecd233d17c8be4ef3c0e00e68ea9c8a0df4e1bad647c238c2b2181e98e3
|
|
| MD5 |
f543c1329fdc12a62e2c37c180114188
|
|
| BLAKE2b-256 |
845b3628fdd6c0044c585fe4372341267413662e0083dd757ae9cbb3571e17be
|
Provenance
The following attestation bundles were made for iddiff-0.5.1.tar.gz:
Publisher:
pypi-publish.yml on ietf-tools/iddiff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iddiff-0.5.1.tar.gz -
Subject digest:
f5175ecd233d17c8be4ef3c0e00e68ea9c8a0df4e1bad647c238c2b2181e98e3 - Sigstore transparency entry: 1326783886
- Sigstore integration time:
-
Permalink:
ietf-tools/iddiff@9da80175e527d3a61da353b0dcb22fe5ec05fc42 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ietf-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9da80175e527d3a61da353b0dcb22fe5ec05fc42 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file iddiff-0.5.1-py3-none-any.whl.
File metadata
- Download URL: iddiff-0.5.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45546ce4e694b560f893b58e9bb4b01d3e8054618fedadd170a31dfa6eb39994
|
|
| MD5 |
10654f4e077cb2ed424145bf3edf6bca
|
|
| BLAKE2b-256 |
273588bb944a4eab2f1aa8a1e881a955e932c07df5e45abd1c2c916c08c68b3b
|
Provenance
The following attestation bundles were made for iddiff-0.5.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on ietf-tools/iddiff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iddiff-0.5.1-py3-none-any.whl -
Subject digest:
45546ce4e694b560f893b58e9bb4b01d3e8054618fedadd170a31dfa6eb39994 - Sigstore transparency entry: 1326783952
- Sigstore integration time:
-
Permalink:
ietf-tools/iddiff@9da80175e527d3a61da353b0dcb22fe5ec05fc42 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ietf-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9da80175e527d3a61da353b0dcb22fe5ec05fc42 -
Trigger Event:
workflow_dispatch
-
Statement type: