>>> pip install pygetindia
import pygetindia as pyin
pyin.states_cities()
: Will return a Python Dictionary containing all the States (as KEY) and the LIST of there respective Cities (as VALUES).
pyin.states()
: Will return a Python List Containing all the States from India.
pyin.cities()
: Will return a Python List Containing all the Cities from India.