pada_svara
A FastAPI-backed local web GUI and scanner for reviewing Sanskrit Vedic accent fix suggestions ([[OLD|NEW]]) alongside aligned विश्वास-प्रस्तुतिः and पद-पाठः blocks across vishvAsa Markdown corpora.
Installation
pip install vishvAsa_pada_svara
Or from source / GitHub:
pip install -e .
pip install "git+https://github.com/sanskrit-coders/diff_san.git#subdirectory=vishvAsa/pada_svara"
Usage
pada_svara --dir /path/to/vedAH_yajuH/content/maitrAyaNIyam/saMhitA/sarva-prastutiH
# or:
python -m pada_svara --dir /path/to/vedAH_yajuH/content/maitrAyaNIyam/saMhitA/sarva-prastutiH
Useful options:
--dir DIR: Initial directory to scan for[[OLD|NEW]]accent fix suggestions and+++(...)+++feedback notes.-n, --context-lines N: Number of preceding/succeedingपद-पाठःlines to display around the target token (default:3).--port PORT: Port to bind on127.0.0.1(default:8765, advancing to the next free port if busy).--no-browser: Start the server without auto-opening a browser window.
Screenshots
Suggestion Review Overview & Collapsed Large-Font Preview
Aligned विश्वास-प्रस्तुतिः, पद-पाठः (यान्त्रिकः) context lines, GoldenDict prātipadika lookup pills, and large --dev-font-size correction preview on collapsed cards.
With !! Feedback Filter & Inline Corpus Notes
Dedicated With !! filter (Alt+W) excludes flagged items from Pending counts, highlights inline +++(...!!)+++ comments in पद-पाठः, and prefills the feedback editor.
Scoped Git Diff & Batch Review
Inspect per-file unified git diffs directly from the review workspace before running scoped commits on marked files.
Features
- Aligned context: Renders
विश्वास-प्रस्तुतिःwith active/inactive[[OLD|NEW]]diffs and paired or embeddedपद-पाठःprovenance bullets (±nconfigurable context lines). - Zero-clutter
Pendingqueue: Excludes items carrying!!comments from thePendingfilter (Alt+U) into a dedicatedWith !!queue (Alt+W). - Keyboard-first review:
Alt+1(Accept),Alt+2(Reject),Alt+3(Focus feedback),Enter(Submit),Ctrl+Enter(Accept + Submit),←/→(Collapse/Expand card),Ctrl+Z(Undo), andCtrl+R(Rescan directory after external edits). - Vedic dictionary, Aṣṭādhyāyī & IDE links: One-click GoldenDict prātipadika/stem lookup chips, automatic
ashtadhyayi.com/sutraani/<a>/<p>/<n>links for Pāṇini sūtra references (पा॰ .../पा.सू. ..., ignoring Vedic verse numbers), and IntelliJ IDEA--linenavigation forविश्वास-प्रस्तुतिः,पद-पाठः, and host include files. - Prefill sync & scoped git commits: Propagates edits across nested
<div class="js_include">host prefills and commits only checked dirty files viagit commit --only.
Development & Tests
pytest -v
Metadata
Release files for vishvAsa-pada-svara 0.1.0
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 |
|---|---|---|---|---|
| vishvasa_pada_svara-0.1.0.tar.gz | 69.2 kB | Without provenance | Details for vishvasa_pada_svara-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vishvasa_pada_svara-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vishvasa_pada_svara-0.1.0-py3-none-any.whl |
Total release size: 138.2 kB
Release files / vishvasa_pada_svara-0.1.0.tar.gz
| Download URL | vishvasa_pada_svara-0.1.0.tar.gz |
|---|---|
| Size | 69.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f275a042352e5d5f98b7a262ce5135b7daf6c8d0aef4d8e9c94ade274bfb6cef
|
|
BLAKE2b-256 checksum How to use checksums |
0d054f718fd572fd32e87f19b917b393c1448d4ec7d07998eba24637e70d047d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / vishvasa_pada_svara-0.1.0-py3-none-any.whl
| Download URL | vishvasa_pada_svara-0.1.0-py3-none-any.whl |
|---|---|
| Size | 69.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
031e554627e1a13912b88f086f1fa6375d4471ad0131093070fa14c0ff8169db
|
|
BLAKE2b-256 checksum How to use checksums |
186ed1ddce118fb3b4b729f26ea04152d03ccbc59c932deb54014f5994a0323b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for vishvAsa-pada-svara 0.1.0
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.