Skip to main content

local-diff-san

Single-pane word-flow, intra-word character/Vedic-grapheme, and 2-pane local diff viewer built on pull_requests_san for Sanskrit and Indic scholarship.

Install

pip install local-diff-san

Usage

# Compare a local file against Git HEAD (or another revision via --rev)
local-diff-san path/to/file.md
local-diff-san path/to/file.md --rev HEAD~1

# Compare two given local files side-by-side or in single-pane word flow
local-diff-san old_file.md new_file.md

# Browse all changed files in the current git repository (or a directory) vs HEAD
local-diff-san
local-diff-san path/to/dir

# Export a standalone static HTML website (pure JS client-side file/text diffing)
local-diff-san --export-static docs/index.html

# Or invoke as a Python module
python -m local_diff_san old_file.md new_file.md

Key Features

  • Single-pane word-flow diff (default) with intra-word character highlights and 2-pane LHS/RHS mode (Alt+S), powered by pull_requests_san.diff on the CLI or pure-JS DiffSanEngine in static browser mode.
  • Vedic grapheme (\X) & raw codepoint modes keeping Vedic svara marks (U+1CD3 ᳓, etc.) attached to their akṣara.
  • Expandable collapsed context lines (↓ Expand 20 below, ↑ Expand 20 above, ↕ Expand all), Unicode normalization (NFC/NFD/NFKC/NFKD), Ignore punct, customizable Settings color pickers (persisted across pull_requests_san and local-diff-san), GoldenDict lookup, and click-to-jump IntelliJ IDEA line opening.

Metadata

Release files for local-diff-san 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for local-diff-san 0.1.1
File Size Uploaded Provenance Actions
local_diff_san-0.1.1.tar.gz 20.2 kB Without provenance Details for local_diff_san-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for local-diff-san 0.1.1
File Interpreter ABI Platform Actions
local_diff_san-0.1.1-py3-none-any.whl Python 3 none any Details for local_diff_san-0.1.1-py3-none-any.whl

Total release size: 40.8 kB

Release files / local_diff_san-0.1.1.tar.gz

Download URL local_diff_san-0.1.1.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5fa8ca05ff8f94834277bb5f6fd58764caa14b980a5f3aa91f029f8cf286ea21
BLAKE2b-256 checksum
How to use checksums
20cafb84f549a0db84de74a3a1cc8008aa0cc09151611f3d067438d12df9d570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / local_diff_san-0.1.1-py3-none-any.whl

Download URL local_diff_san-0.1.1-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
baafc804afbf1e86490f83766da5ec3e02518c28b64de9816a78c4fb6a6acd33
BLAKE2b-256 checksum
How to use checksums
d372d414bdbe64a6b26ede919ef4da5b7d9aaae84ecbe982b4d1d5d5c2973c63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for local-diff-san 0.1.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page