Skip to main content

Compare 2 strings and highlight differences

Project description

# CharDiff

Take 2 strings as arguments and show the difference between them

## Installation

pip3 install chardiff

## Usage

python3 -m chardiff “string1” “string2” –color red

## License

Copyright (C) 2019 Matt Copperwaite <matt@copperwaite.net>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

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

chardiff-1.0.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file chardiff-1.0.1.tar.gz.

File metadata

  • Download URL: chardiff-1.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for chardiff-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8125f639bfbfabd26893acadf9b0b3ed490a82657ab0b9c01b847127bcfa2990
MD5 0a6d723595ab04874425e301d0f01bff
BLAKE2b-256 9f25b4b0be988e93f21ff276df2121a37f73ef76fa08dc49a879668edd54910c

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