pdiff


Namepdiff JSON
Version 1.1.4 PyPI version JSON
download
home_pagehttps://github.com/nkouevda/pdiff
SummaryPretty side-by-side diff
upload_time2023-07-30 05:09:39
maintainer
docs_urlNone
authorNikita Kouevda
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pdiff

Pretty side-by-side diff.

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

## Example

![pdiff.png](https://github.com/nkouevda/images/raw/main/pdiff.png)

## Installation

    pip install pdiff

Or:

    brew install nkouevda/nkouevda/pdiff

## Usage

```
usage: pdiff [<options>] [--] <left file> <right file>

Pretty side-by-side diff

optional arguments:
  -h, --help            show this help message and exit
  -b, --background, --no-background
                        highlight background instead of foreground (default: True)
  -l, --line-numbers, --no-line-numbers
                        show line number columns (default: True)
  -t <n>, --expand-tabs <n>
                        expand tabs to <n> spaces (default: 8)
  -s, --signs, --no-signs
                        show sign columns (default: True)
  -U <n>, --unified <n>
                        show <n> lines of context (default: 3)
  -v, --version         show program's version number and exit
  -w <n>, --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 --Raw-control-chars"

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

## License

[MIT License](LICENSE.txt)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nkouevda/pdiff",
    "name": "pdiff",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Nikita Kouevda",
    "author_email": "nkouevda@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0a/b4/37c13ba28107998673bee37ab4efa075e7f3059f68539c193ad14ca3128f/pdiff-1.1.4.tar.gz",
    "platform": null,
    "description": "# pdiff\n\nPretty side-by-side diff.\n\nInspired by [`ydiff`](https://github.com/ymattw/ydiff) and\n[`icdiff`](https://github.com/jeffkaufman/icdiff).\n\n## Example\n\n![pdiff.png](https://github.com/nkouevda/images/raw/main/pdiff.png)\n\n## Installation\n\n    pip install pdiff\n\nOr:\n\n    brew install nkouevda/nkouevda/pdiff\n\n## Usage\n\n```\nusage: pdiff [<options>] [--] <left file> <right file>\n\nPretty side-by-side diff\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -b, --background, --no-background\n                        highlight background instead of foreground (default: True)\n  -l, --line-numbers, --no-line-numbers\n                        show line number columns (default: True)\n  -t <n>, --expand-tabs <n>\n                        expand tabs to <n> spaces (default: 8)\n  -s, --signs, --no-signs\n                        show sign columns (default: True)\n  -U <n>, --unified <n>\n                        show <n> lines of context (default: 3)\n  -v, --version         show program's version number and exit\n  -w <n>, --width <n>   fit output to <n> columns (default: autodetect)\n```\n\n### Git\n\nConfigure a `pdiff` `difftool`, and add some aliases to your liking, e.g.:\n\n```\n[difftool \"pdiff\"]\n\tcmd = \"pdiff -- \\\"$LOCAL\\\" \\\"$REMOTE\\\" | less --Raw-control-chars\"\n\n[alias]\n\tdfp = difftool --tool=pdiff\n\tdfpc = difftool --tool=pdiff --cached\n```\n\n## License\n\n[MIT License](LICENSE.txt)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Pretty side-by-side diff",
    "version": "1.1.4",
    "project_urls": {
        "Homepage": "https://github.com/nkouevda/pdiff"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f35274ae783736e30a36db773372a97a9c2c93144c4a83bc43eef5df93572aee",
                "md5": "c5b97086f6e3ae0aff1a78dc0b4d11df",
                "sha256": "ff50f19caffb7415c4244363233e019669b35b5ec43bd5f0f84f6837ab1068a4"
            },
            "downloads": -1,
            "filename": "pdiff-1.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c5b97086f6e3ae0aff1a78dc0b4d11df",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7466,
            "upload_time": "2023-07-30T05:09:37",
            "upload_time_iso_8601": "2023-07-30T05:09:37.424391Z",
            "url": "https://files.pythonhosted.org/packages/f3/52/74ae783736e30a36db773372a97a9c2c93144c4a83bc43eef5df93572aee/pdiff-1.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ab437c13ba28107998673bee37ab4efa075e7f3059f68539c193ad14ca3128f",
                "md5": "2da0d12ec9b1c2f0506c327bffd210a6",
                "sha256": "9d8f6f8e7ed2ee61aa2f2526106c0047a2bd80eab7d1237f7086139a6e921c45"
            },
            "downloads": -1,
            "filename": "pdiff-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "2da0d12ec9b1c2f0506c327bffd210a6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6262,
            "upload_time": "2023-07-30T05:09:39",
            "upload_time_iso_8601": "2023-07-30T05:09:39.102633Z",
            "url": "https://files.pythonhosted.org/packages/0a/b4/37c13ba28107998673bee37ab4efa075e7f3059f68539c193ad14ca3128f/pdiff-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-30 05:09:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nkouevda",
    "github_project": "pdiff",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pdiff"
}
        
Elapsed time: 0.21165s