Skip to main content

The simple diff tool which is written by Python. The diff result can be printed in console or to html file.

Project description

diff_py
=====
.. image:: https://travis-ci.org/askeing/diff_py.svg?branch=master
:target: https://travis-ci.org/askeing/diff_py

The simple diff tool which is written by Python. The diff result can be printed in console or to html file.

Usage
-----
.. code-block:: bash

usage: diff_py [-h] [-c | -C NUM | -u | -U NUM | -n | -H OUTPUT_FILE] [-v]
FILES FILES

The simple diff tool which is written by Python.

positional arguments:
FILES can be "FILE1 FILE2", "DIR1 DIR2", "FILE DIR", or "DIR
FILE"

optional arguments:
-h, --help show this help message and exit
-c, --context output 3 lines of copied context
-C NUM output NUM lines of copied context
-u, --unified output 3 lines of unified context
-U NUM output NUM lines of unified context
-n, --ndiff output Python Differ-style context
-H OUTPUT_FILE, --html OUTPUT_FILE
output HTML format context
-v, --version show program's version number and exit

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_py-0.0.4.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file diff_py-0.0.4.tar.gz.

File metadata

  • Download URL: diff_py-0.0.4.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for diff_py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c0d3c6cd1a876fb930b59724dff9f5d2e71d1aa72ac1bdb6f046bb1c89f748bd
MD5 9a7de8f329452f95e6feabf313e263bf
BLAKE2b-256 39254e6f0e10eb653aeb8010d4c2aef657b32b5cfe328bbe29ca5dbd0141f2e1

See more details on using hashes here.

Supported by

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