Skip to main content

intentumdiff (Python)

CI License: MIT Python 3.12+

The Python binding and intentumdiff PyPI package — a thin shell over the IntentumDiff engine. Semantic code review: detect intent, moves, refactorings, and style changes.

All diffing, matching, classification, guardrails, and presentation live in the engine (intentumdiff-core, Rust). This package is the public Python API, CLI, and VCS/config orchestration: it loads the engine's cdylib via ctypes and drives the stable C ABI (intentumdiff_call). The binding does zero functional work.

from intentumdiff import SemanticDiffer

diff = SemanticDiffer().diff_strings(old, new, "example.py")
for change in diff.changes:
    print(change.change_type, change.description)

Building from source

The wheel bundles two provisioned build inputs — the engine and the parser components:

python scripts/provision_build_inputs.py \
    --core-dir /path/to/intentumdiff-core \      # or let it clone the repo
    --wasm-dir /path/to/built/components       # built by the parser repos
pip install -e .[dev]

Released wheels on PyPI are pre-built per platform — installing from source is a development workflow, not the user path.

Tests

python -m pytest tests/unit -q

The suite runs entirely over the ctypes path (there is no other path — the engine has no Python dependency and this package has no engine).

Provenance

Migrated files-only (no history) from the IntentumDiff monorepo (buchochelliq-labs/intentumdiff), which remains the archive of record.

License: MIT.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

intentumdiff_python-0.0.1-py3-none-win_arm64.whl (20.8 MB view details)

Uploaded Python 3Windows ARM64

intentumdiff_python-0.0.1-py3-none-win_amd64.whl (22.1 MB view details)

Uploaded Python 3Windows x86-64

intentumdiff_python-0.0.1-py3-none-manylinux_2_39_x86_64.whl (22.1 MB view details)

Uploaded Python 3manylinux: glibc 2.39+ x86-64

intentumdiff_python-0.0.1-py3-none-macosx_11_0_arm64.whl (20.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file intentumdiff_python-0.0.1-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for intentumdiff_python-0.0.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9f8f2ccf15519d93397ca2e30e3e6f4659d08318a9843dca0dfb6c8a9a2e301c
MD5 593e109da93199034119a48221cc4252
BLAKE2b-256 f59ec6b1a52adfe993bf2d42c2d31bb27c17374432bf81f8479730462f20fd0f

See more details on using hashes here.

File details

Details for the file intentumdiff_python-0.0.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for intentumdiff_python-0.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 010b94ce3b26ce8876f63e180ec71d9cc2d7edaaf100afd5227969d5998a8fff
MD5 7ef08262c98551446c62e1c30fe3164e
BLAKE2b-256 cf26701485f6e5b0e11e0868984a3800dfb15dab49a40f98e4e0ca075b8f5127

See more details on using hashes here.

File details

Details for the file intentumdiff_python-0.0.1-py3-none-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for intentumdiff_python-0.0.1-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7abc3b9bc65cb4a3bf6f803a331157c58f0945dbeb715ab98d560b49da9aba9d
MD5 31a0ce3976e103f3fb6bbcd5663e97d7
BLAKE2b-256 011de5b347b2eb1910e4f153d50a6e788b40671826cec5aa015e34bf2179fcb4

See more details on using hashes here.

File details

Details for the file intentumdiff_python-0.0.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for intentumdiff_python-0.0.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a0509b1c2e277f0497d804ce46d4681c26178df012e27005c222cdd14ccb8d15
MD5 b97e2e1f61666b91b1c07d7818816a08
BLAKE2b-256 8157aef29722042fa2c694bb4a991ed541394f80b5b366a7c8160c9972e60505

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page