This release is a pre-release and may not be stable for production use.
IntentumDiff
Semantic code review — see what a change means, not which lines moved.
A textual diff shows that 40 lines changed. It cannot tell you whether that is a rename, a function moved between files, a reformat, or a behavioural change hiding among them. IntentumDiff parses both sides, matches the trees, and classifies every change by what it does: meaningful, refactoring, moved, or ignored style.
Install
pip install --pre intentumdiff-python
0.0.2b2 is a pre-release, so --pre is needed; without it pip installs the older 0.0.1.
Requires Python 3.12+. The wheel bundles the Rust engine and language parser
components; built-in parsing needs no separate component download.
0.0.2 candidate platform limitation: PowerShell is unavailable on Windows ARM64 because of the tracked compiler limitation in #42. Rust reports this parser as unavailable; the package does not substitute a Python engine.
The distribution is
intentumdiff-python; the import package isintentumdiff.
Quick start
from intentumdiff import SemanticDiffer
old = """def greet(name):
return 'hi ' + name
"""
new = """def greet(name):
if not name:
return None
return 'hi ' + name
"""
diff = SemanticDiffer().diff_strings(old, new, "example.py")
for change in diff.changes:
print(change.change_type, change.description)
ChangeType.ADDITION Insert -> if_statement('if_statement')
A line diff reports three added lines. IntentumDiff reports that a guard clause was introduced — the thing a reviewer needs to know.
Command line
intentumdiff --help # or: python -m intentumdiff --help
intentumdiff file old.py new.py
intentumdiff git --help # diff against a ref in a git repository
See the 0.0.2 candidate CLI
This real installed-wheel recording changes the assigned value from 1 to 2.
Rust reports one modification; the main diff panel and table use rs-rich.
Watch the CLI examples and read their exact provenance. The recordings use the verified Python #98 Linux wheel and rs-rich-record. They are pre-publication candidate evidence, not a claim that 0.0.2 is available on PyPI. Standalone guardrail reports and errors still use the existing presentation paths.
Documentation
https://buchochelliq-labs.github.io/intentumdiff-docs/
There is also a VS Code extension, which uses this package as its engine.
Privacy
Everything runs locally and there is no telemetry. The optional LLM explainer is off by default and bring-your-own-key; when enabled for a cloud endpoint it sends a privacy-safe fact sheet — counts, categories and flags — never your source, identifiers or literals. See the privacy policy.
Licence
MIT. Contributing and build-from-source instructions are in CONTRIBUTING.md.
Metadata
Release files for intentumdiff-python 0.0.2b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| intentumdiff_python-0.0.2b2-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details for intentumdiff_python-0.0.2b2-py3-none-win_arm64.whl |
| intentumdiff_python-0.0.2b2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for intentumdiff_python-0.0.2b2-py3-none-win_amd64.whl |
| intentumdiff_python-0.0.2b2-py3-none-manylinux_2_39_x86_64.whl | Python 3 | none | Linux glibc 2.39+ x86-64 | Details for intentumdiff_python-0.0.2b2-py3-none-manylinux_2_39_x86_64.whl |
| intentumdiff_python-0.0.2b2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for intentumdiff_python-0.0.2b2-py3-none-macosx_11_0_arm64.whl |
Total release size: 91.0 MB
Release files / intentumdiff_python-0.0.2b2-py3-none-win_arm64.whl
| Download URL | intentumdiff_python-0.0.2b2-py3-none-win_arm64.whl |
|---|---|
| Size | 22.2 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
e7b9c2d43189dc0350653b4d3be7cf0b97c0835b164004f5e8c23afb701bcbc9
|
|
BLAKE2b-256 checksum How to use checksums |
e7056dcf39fd64f48faa799dadeb8c6d367b5468dede35b4948c9583e7e42b1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / intentumdiff_python-0.0.2b2-py3-none-win_amd64.whl
| Download URL | intentumdiff_python-0.0.2b2-py3-none-win_amd64.whl |
|---|---|
| Size | 23.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ca69f878cbb5d584b0e9b0e2d96f9b90f796844f13febd729caa642027c434a1
|
|
BLAKE2b-256 checksum How to use checksums |
6e14238b0ded20b02a7727a39b0acdb0cb51bd288b58c5308ce110419c72124a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / intentumdiff_python-0.0.2b2-py3-none-manylinux_2_39_x86_64.whl
| Download URL | intentumdiff_python-0.0.2b2-py3-none-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 23.5 MB |
| Tags | Linux glibc 2.39+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
8bf9cf778a315e54b6c62fd00029c1c73c555d30fe8d39acd7a190e098dc0319
|
|
BLAKE2b-256 checksum How to use checksums |
c704a9ae43b301e6aa759a57bba25accb3ddc27b6187c1cc2fcba5cb238bdd83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / intentumdiff_python-0.0.2b2-py3-none-macosx_11_0_arm64.whl
| Download URL | intentumdiff_python-0.0.2b2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 21.8 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a9453a324faa280c7bb1247846864864622a1e20a0b0e7ebea60d4b170e10e84
|
|
BLAKE2b-256 checksum How to use checksums |
bca6e32d89b31c2a0edd4a3ccbb9d83ac94993c244c504130c414336f3316bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for intentumdiff-python 0.0.2b2
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.