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 (
Alt+Stoggles 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+Wtoggles betweenWordandChar (Grapheme \X)). - Unicode normalization (
NFC/NFD/NFKC) &Ignore punct(।,॥, quotes, commas) adapted frombhashika-org-in/wordiff. - Full GitHub review & PR management: inline line/range comments (
Ctrl+ClickorShift+Click/↑/↓+Ctrl+Enter),Tab/Shift+Tabstepping across individual diffs (moving selected line across lines/files),Ctrl+Space"Checked until here" green checkpoint persisted per PR, multilineShift+Enterreplies, 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+Fcodepoint-exact search (finding combining marks likeँ), Sandhi diff highlighting (default ON, jump with◀/▶orAlt+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 (Adishila SanVedic, 26px) and inline Sanskrit review threads:
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:
2-Pane Vedic Grapheme Diff & 3-Way Conflict Inspection
Toggle Alt+S for 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:
Metadata
Release files for pull-requests-san 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pull_requests_san-0.1.10.tar.gz | 115.8 kB | Without provenance | Details for pull_requests_san-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pull_requests_san-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for pull_requests_san-0.1.10-py3-none-any.whl |
Total release size: 235.2 kB
Release files / pull_requests_san-0.1.10.tar.gz
| Download URL | pull_requests_san-0.1.10.tar.gz |
|---|---|
| Size | 115.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0ad8de61ddff7f81a9f01c88461b3de390647d5086d4779f00858e5ee56be6b
|
|
BLAKE2b-256 checksum How to use checksums |
c442017cbeaf005a342cc07a5d001db9c5457fc4a1cd7a82d4af6b0bc0b59f72
|
| 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.10-py3-none-any.whl
| Download URL | pull_requests_san-0.1.10-py3-none-any.whl |
|---|---|
| Size | 119.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41b25708302cd66e2dc5dd9df9e60e5cfcaa0dc5c84f714a3d6b13765bf0e125
|
|
BLAKE2b-256 checksum How to use checksums |
439a80d4ee21abda5161045e2cfdd759ab31a50ebcaf741266430811ae42e0e8
|
| 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.10
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.