Kural is a wrapper to getthirukkural API.
Install it using pip.
pip install kural
Get an API Key from getthirukkural and you can start making API requests as below:
import kural
api = kural.Kural(api_key='API_KEY') # initialize with your key
kural = api.get_kural(2) # fetches you second kural
kurals = api.get_kurals(1,5) # fetches kurals 1 to 5
kural = api.get_random() # fetches a random kural
It is licensed under MIT.