/datagovindia-v2

WIP

Primary LanguagePythonMIT LicenseMIT

datagovindia

A rewrite attempt of https://github.com/addypy/datagovindia

Install

This library requires python>=3.10 compiled with sqlite>=3.34.

python -m venv .venv

pip install git+https://github.com/sayanarijit/datagovindia

Usage

Python API

api = DataGovIndia()
api.search(title="indian population")

CLI Tool

datagovindia --help

# Or

python -m datagovindia --help

NOTE: First time initialization takes some time to fetch and build local metadata database.

You can refresh the local database by running datagovindia refresh or by calling api.refresh().