Skip to main content

pull_requests_san

Single-pane word-flow and character/grapheme-level GitHub Pull Request reviewer tailored for Sanskrit and Indic repositories (vishvAsa by default, or any --owner / --repo).

Install

pip install pull_requests_san

Usage

- Live static web app (load any GitHub PR in browser): [sanskrit-coders.github.io/diff_san/pull_requests/](https://sanskrit-coders.github.io/diff_san/pull_requests/)

# Export a standalone static HTML PR reviewer page
pull_requests_san --export-static docs/pull_requests/index.html

# Review all open PRs in vishvAsa repos (or specify any GitHub user/org)
pull_requests_san --owner vishvAsa --state open

# Review a specific repo or use module invocation
python -m pull_requests_san --owner vishvAsa --repo mahAbhAratam

GitHub authentication is auto-resolved in order from --token, GITHUB_TOKEN/GH_TOKEN, ~/.config/gh/hosts.yml, gh auth token, or optional tokens.toml (curation_utils.creds / TOML fallback).

Key Features

  • Single-pane word-flow diff (default) matching changed space-separated strings inline without requiring strict line-by-line alignment (toggleable to 2-pane LHS/RHS) and highlighting intra-word character differences cleanly.
  • Vedic grapheme & codepoint modes keeping trailing Vedic svaras (including U+1CD3 ᳓) attached to their akṣara (Alt+W toggles between Word and Char (Grapheme \X)).
  • Unicode normalization (NFC/NFD/NFKC) & Ignore punct (।, ॥, quotes, commas) adapted from bhashika-org-in/wordiff.
  • Full GitHub review & PR management: inline line/range comments (Ctrl+Click or Shift+Click/↑/↓ + Ctrl+Enter), Tab/Shift+Tab stepping across individual diffs (moving selected line across lines/files), Ctrl+Space "Checked until here" green checkpoint persisted per PR, multiline Shift+Enter replies, right-click Copy link to line in PR / Copy diff_san line link / Copy diff for bug report, 🔗 Copy PR URL icon beside 🌐, deep links (?pr=...&file=...&side=...&line=...), Ctrl+F codepoint-exact search (finding combining marks like ँ), Sandhi diff highlighting (default ON, jump with ◀/▶ or Alt+Shift+↑/↓), draft review batching, approve / request changes, resolve threads, mergeability & 3-way conflict inspection, open PR in main browser (Alt+B), merge PR (Alt+Shift+M), close/reopen PR (Alt+Shift+C).

Screenshots

Single-Pane Word-Flow Diff (Default)

Matches changed space-separated strings inline across reflowed paragraphs and line breaks cleanly, with Vedic/Devanagari font sizing (Tiro Devanagari Sanskrit, 26px) and inline Sanskrit review threads:

Single-pane word-flow diff

PR Controls, Mergeability & Review Submission

Browse all open PRs across an organization or repo, inspect mergeability status, open PRs in your main browser, approve/request changes, close, or merge:

PR review overview

After a successful merge, the local server schedules a best-effort git pull --ff-only in ~/gitland/vishvAsa/<repo> about a minute later (only when that checkout exists; it pulls the currently checked-out branch).

2-Pane Vedic Grapheme Diff & 3-Way Conflict Inspection

Toggle Single-pane / 2-pane LHS/RHS mode and Char (Grapheme \X) to keep Vedic accent marks (U+1CD3 ᳓, etc.) attached to their akṣara, plus inspect 3-way overlapping merge conflicts before resolving or rebasing:

2-pane Vedic grapheme and 3-way conflict diff

Metadata

Release files for pull-requests-san 0.1.43

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

Source distribution (sdist)

Source distribution for pull-requests-san 0.1.43
File Size Uploaded Provenance Actions
pull_requests_san-0.1.43.tar.gz 149.3 kB Without provenance Details for pull_requests_san-0.1.43.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pull-requests-san 0.1.43
File Interpreter ABI Platform Actions
pull_requests_san-0.1.43-py3-none-any.whl Python 3 none any Details for pull_requests_san-0.1.43-py3-none-any.whl

Total release size: 302.2 kB

Release files / pull_requests_san-0.1.43.tar.gz

Download URL pull_requests_san-0.1.43.tar.gz
Size 149.3 kB
Tags Source
SHA-256 checksum
How to use checksums
931dbf8ed331da1cf41342aad29c78606e3ac70ee50988ffb807fde94be587ae
BLAKE2b-256 checksum
How to use checksums
a82ca3bf7ba0edda89a7d83a1bf10b37af7e8d46d176897f9aa97011ef4a4599
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pull_requests_san-0.1.43-py3-none-any.whl

Download URL pull_requests_san-0.1.43-py3-none-any.whl
Size 152.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc80f4cadf873750b8fcfcb64c9c68071e7075cc36b9625bee627cc55a943230
BLAKE2b-256 checksum
How to use checksums
5cac696df3a5413975a0ec3908ab25251dac45be46cfea1f126e43b68e1d8a1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for pull-requests-san 0.1.43

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.

Release history Release notifications | RSS feed

This release

0.1.43 This release

2 release files No provenance

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