https://github.com/sayanarijit/datagovindia
WIP
https://github.com/sayanarijit/datagovindia
Last synced: 8 months ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/sayanarijit/datagovindia
- Owner: sayanarijit
- License: mit
- Created: 2023-05-15T07:07:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T06:23:42.000Z (almost 2 years ago)
- Last Synced: 2025-02-09T05:30:04.482Z (9 months ago)
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()`.