Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Pretty side-by-side diff

Project Description
# pdiff

Pretty side-by-side diff.

Inspired by [`cdiff`](https://github.com/ymattw/cdiff) and
[`icdiff`](https://github.com/jeffkaufman/icdiff).

## Installation

pip install pdiff

## Usage

```
usage: pdiff [<options>] [--] <old-file> <new-file>

Pretty side-by-side diff

optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--expand-tabs <n> expand tabs to <n> spaces; default: 8
--signs, --no-signs show sign columns; default: True
-U <n>, --unified <n>
show <n> lines of context; default: 3
--width <n> fit output to <n> columns; default: autodetect
```

### Git

Configure a `pdiff` `difftool`, and add some aliases to your liking, e.g.:

```
[difftool.pdiff]
cmd = "pdiff -- \"$LOCAL\" \"$REMOTE\" | less -R"

[alias]
dfp = difftool --tool=pdiff
dfpc = difftool --tool=pdiff --cached
```

## License

Licensed under the [MIT License](https://opensource.org/licenses/MIT).


Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pdiff-1.0.1-py2.py3-none-any.whl (6.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 19, 2017
pdiff-1.0.1.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Dec 19, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting