Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Diff Tool

Display a diff between two files in HTML.

Build Status Coverage Status PyPi Licence

Showcase

Running this tool requires two files to compare. It will output the difference to an HTML file which can be viewed in a browser to see what changed between files.

Install

# Install tool
pip3 install diff-tool

# Install locally
make install

Usage

Usage:
    diff-tool --file1 /path/to/file1.txt --file2 /path/to/file2.txt --output path/to/diff.html

Options:
    -h, --help            show this help message and exit
    -f1 FILE1, --file1 FILE1
                            The path to the base file to compare a second file to.
    -f2 FILE2, --file2 FILE2
                            The path to the second file compared to the base file.
    -o OUTPUT, --output OUTPUT
                            The path/name to the output file where the diff will be stored.

Development

# Get a comprehensive list of development tools
make help

# Run the tool locally
venv/bin/python diff_tool/diff_files.py --help

Release files for diff-tool 3.0.0

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

Source distribution (sdist)

Source distribution for diff-tool 3.0.0
File Size Uploaded
diff-tool-3.0.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for diff-tool 3.0.0
File Interpreter ABI Platform
diff_tool-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size:9.3 kB

Release files / diff-tool-3.0.0.tar.gz

Download URL diff-tool-3.0.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
db347c86baac3253bad86d517ed8eb03ac43098b50fa3b596ff893d627f9a6f7
BLAKE2b-256 checksum
How to use checksums
3ae0d63a39ebe8daf644c45256aaa7504b4de567f470da29fd59609ea312d9ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / diff_tool-3.0.0-py3-none-any.whl

Download URL diff_tool-3.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd779f9671da1b3bba8b842d48cb07cb65d15f593829449c48d5cf3d34ca1804
BLAKE2b-256 checksum
How to use checksums
54fbf34883ca4d13697d99e95a1ab781d7372cbdb2532faa7e9b692f4b603372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
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