difftastic Python wrapper
Project description
ocdiff
Fast diff library for Python - wraps similar.
Usage
pip install ocdiff
ocdiff.html_diff(
a,
b,
context_lines=5,
# This isn't respected yet
column_limit=80,
)
Install/Develop
uv pip install -e '.[dev]'
maturin develop
Make release
- Add pypi token and user =
__token__
to settings (do this once). - Upversion
pyproject.toml
.
git tag -a v0.0.x head -m v0.0.x
git push origin v0.0.x
TODO
- Implement
column_limit
- should just be a function ofVec<LinePartsDiff>
toVec<LinePartsDiff>
. - Add console output with colours.
- Add pytest plugin magic that plays with
rich
. - Write some docs.
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for ocdiff-0.0.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8310b0796a47aec90dd14901cddc4de73213a392e2db5870f369233a3ab92eff |
|
MD5 | 1e23a9eed438b4e4758412fb9d5d1af6 |
|
BLAKE2b-256 | b8ae186f7af99451fb1cc50a12ed4a39e84c2f37d964e117bc93c07a7af4b687 |
Close
Hashes for ocdiff-0.0.21-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f9b5ee11e6f6f3bff5fbab47179e4b5b1a100fa845b3e3f1a462bbd43788687 |
|
MD5 | b4df62d0454ee147c06aa78d16846df8 |
|
BLAKE2b-256 | 541a6a2e06bd9025dc24b52b3d872912d60ed343e3a07f55eb9793dec415ca15 |
Close
Hashes for ocdiff-0.0.21-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c29688e50bc8592c440724bc1c31377626b3ada5d55bbe7373de393fc17dbce |
|
MD5 | 7267d1a2f4e6b26b479f45a72b720e4e |
|
BLAKE2b-256 | 961a0fdb36eebf0ae4899456de2c23b03b9db42c052dd66208ec80dc3e70a83c |
Close
Hashes for ocdiff-0.0.21-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e6c547ded4aadd123fdb798404d350c5714ad0e78ee4e87e3cc1e55c4d55a5 |
|
MD5 | ccf33f5fb8c22d81b8e38b41d7afc533 |
|
BLAKE2b-256 | 4fcb62227f8ebef511e912654195eb1f484ef005d891310f09c0ac2fc3167f22 |