An open API service indexing awesome lists of open source software.

https://github.com/sayanarijit/datagovindia

WIP
https://github.com/sayanarijit/datagovindia

Last synced: 8 months ago
JSON representation

WIP

Awesome Lists containing this project

README

          

# datagovindia

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

## Install

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

```bash
python -m venv .venv

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

## Usage

### Python API

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

### CLI Tool

```bash
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()`.