Skip to content

ambuda-org/vidyut-py

Repository files navigation

vidyut-py

Python bindings for Vidyut

vidyut-py defines Python bindings for Vidyut, a high-performance Sanskrit toolkit. These bindings are under active development as part of the Ambuda project.

Installing

Install and update with pip:

$ pip install -U vidyut

Vidyut is more interesting when used with our rich linguistic data, which you can download here:

$ wget https://github.com/ambuda-org/vidyut-py/releases/download/0.2.0/data-0.2.0.zip
$ unzip data-0.2.0.zip

You can use this data like so:

from vidyut.cheda import Chedaka

c = Chedaka("data-0.2.0")
for token in c.run("tapaHsvADyAyaniratam"):
    print(token)

Links

For users:

For contributors: