pykgdiff 0.12.1__py3-none-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.4
2
+ Name: pykgdiff
3
+ Version: 0.12.1
4
+ Summary: git diff for knowledge graphs: the kgdiff command line, as a native binary. Compare two graph files from the terminal, CI, or as a shareable HTML report.
5
+ Keywords: kgdiff,cli,diff,knowledge-graph,ontology,rdf
6
+ Author: iiwish
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Operating System :: Microsoft :: Windows
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Rust
17
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
18
+ Classifier: Topic :: Software Development :: Version Control
19
+ Project-URL: Homepage, https://github.com/iiwish/kgdiff
20
+ Project-URL: Documentation, https://github.com/iiwish/kgdiff/blob/main/docs/cli.md
21
+ Project-URL: Repository, https://github.com/iiwish/kgdiff
22
+ Project-URL: Issues, https://github.com/iiwish/kgdiff/issues
23
+ Project-URL: Changelog, https://github.com/iiwish/kgdiff/releases
24
+ Description-Content-Type: text/markdown
25
+
26
+ # pykgdiff
27
+
28
+ **git diff for knowledge graphs.** Compare two versions of a graph — RDF, OBO or JSON — in the
29
+ terminal, in CI, or as a single-file interactive HTML report. kgdiff understands what changed:
30
+ a merge is a merge, a rename is a rename, a moved class is a move.
31
+
32
+ ```sh
33
+ pipx install pykgdiff # or: pip install pykgdiff, uv tool install pykgdiff
34
+ kgdiff before.ttl after.ttl
35
+
36
+ uvx --from pykgdiff kgdiff before.ttl after.ttl # without installing
37
+ ```
38
+
39
+ This package is the **kgdiff command line**, nothing else: a wheel per platform that holds the
40
+ native `kgdiff` binary (written in Rust, no Python code runs), the same binary as the npm package
41
+ `@kgdiff/cli` and the GitHub release. Installing it puts `kgdiff` on your `PATH`; it needs no
42
+ Node.js and no Rust. There is no Python API yet: `import pykgdiff` and `python -m pykgdiff` are
43
+ reserved for one, planned after kgdiff 1.0. The command line follows kgdiff's
44
+ [versioning promise](https://github.com/iiwish/kgdiff/blob/main/docs/versioning.md).
45
+
46
+ Wheels exist for macOS (Apple silicon, Intel), Linux x64 and Arm64 (glibc and musl) and
47
+ Windows x64. On another platform, `cargo install kgdiff` builds the same program from source.
48
+
49
+ ## Usage
50
+
51
+ ```
52
+ kgdiff <before> <after> [options]
53
+ kgdiff apply <graph> <delta> [-o <file>] [--no-strict [--verbose]]
54
+ kgdiff --help | --version
55
+ ```
56
+
57
+ ```sh
58
+ kgdiff v12.json v13.json # colored summary
59
+ kgdiff old.obo new.obo -o report.html --open # interactive report, opened in the browser
60
+ kgdiff a.ttl b.ttl --stat # diffstat only
61
+ kgdiff a.json b.json --json diff.json # full machine-readable diff
62
+ kgdiff a.ttl b.ttl --exit-code --quiet # exit 1 when the graphs differ
63
+ ```
64
+
65
+ Inputs are JSON (kgdiff, d3 / NetworkX, Cytoscape.js, G6, graphology, vis-network), JSON-LD,
66
+ Turtle, N-Triples, N-Quads, TriG, RDF/XML and OBO, detected from the extension and the content.
67
+
68
+ The full guide to the command line: https://github.com/iiwish/kgdiff/blob/main/docs/cli.md
69
+
70
+ ## License
71
+
72
+ MIT
@@ -0,0 +1,5 @@
1
+ pykgdiff-0.12.1.data/scripts/kgdiff,sha256=mIpML8B4jAPJGESjkF9VcvOK5EzxcZxX5hiEdfoqgq4,4705248
2
+ pykgdiff-0.12.1.dist-info/METADATA,sha256=5rkllzfuh6YQKsB4pTFZ4Wca2e6zq5PROjUCZ-lBXkU,3230
3
+ pykgdiff-0.12.1.dist-info/WHEEL,sha256=N-sZq0LRTO_QNZlkhn0okc-C65vYTUbv4xonE-khsFk,117
4
+ pykgdiff-0.12.1.dist-info/licenses/LICENSE,sha256=GbwwSq58Q88xmJlez-g43Pu7tHJtKJOQg7Gl6c0DBqg,1087
5
+ pykgdiff-0.12.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: kgdiff (scripts/pypi-wheels.py)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-macosx_11_0_arm64
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 iiwish and kgdiff contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.