graph-diff
Utilities to view diff between graphs
Getting started
Install prerequisites
Debian / Ubuntu:
sudo apt-get install libgraph-easy-perl
Install
From source
git clone https://github.com/yeger00/graph-diff
pip install -e .
From PyPI
pip install graphdiff
Generate and view diff
cat samples/before.dot | graph-easy --as boxart
cat samples/after.dot | graph-easy --as boxart
graph-diff samples/before.dot samples/after.dot > ./diff.dot
cat ./diff.dot | graph-diff-color
git-graph-diff-tool
It is possible to use graph-diff with git, with git-graph-diff-tool provided in this library. An usage example:
Install
For every repository you would like to install you need to add to .gitattributes file a rules to know how to handle .dot files. For example:
echo "*.dot diff=graph_diff" >> .gitattributes
Then, configure the difftool to be the git-graph-diff-tool. For example:
git config diff.graph_diff.command git-graph-diff-tool
Then, you can use git as usual, while adding --ext-diff flag to enable external difftools.
git log -p --ext-diff
Metadata
Release files for graphdiff 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| graphdiff-0.0.6.tar.gz | 4.4 kB | Without provenance | Details for graphdiff-0.0.6.tar.gz |
Release files / graphdiff-0.0.6.tar.gz
| Download URL | graphdiff-0.0.6.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5989e8c91c8f6746180e005e67680f59f901e0f078a290c9beac18af1722ba6
|
|
BLAKE2b-256 checksum How to use checksums |
e2a210219fae5ebfde98b4df741fec3c92d67b32e0fd2b0e0896ef1e42314ecb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|
Security for graphdiff 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.