Skip to main content

Display a diff between two files in HTML.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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

# Get Makefile help
make help

Usage

Usage:
    diff-tool -f1 /path/to/file1.txt -f2 /path/to/file2.txt -o 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 to the output file including filename..

Development

# Lint the project
make lint

# Run tests
make test

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diff-tool-2.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diff_tool-2.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file diff-tool-2.0.0.tar.gz.

File metadata

  • Download URL: diff-tool-2.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for diff-tool-2.0.0.tar.gz
Algorithm Hash digest
SHA256 547bf3b9d704a6641cff94f9e2c023181b2fd53b267017cd96bd05f8390cf514
MD5 9344f765df0292b13efb42ad4dfc1e8c
BLAKE2b-256 0527740a26dec9bced0ffb9d87b58699913b170fa4550a5b418bf651814fc17e

See more details on using hashes here.

File details

Details for the file diff_tool-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: diff_tool-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for diff_tool-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdcb5eeb3d2c3cd6c228ef45a238fabf30f6555a3e889d3cdcf9c910118fd7b3
MD5 14618f08a704afa3855ac0d28261af32
BLAKE2b-256 5ee1c5c066a6bc441847152a77206776d3cabbb9c21b3f0d5b3d4c2e4c19c3db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page