Datagovindia

Latest version: v1.0.2

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.2

Changes:
- Fix for Issue [8](8): Addressed network error handling.
- Integrated `Tenacity`: Added retries with exponential backoff for improved error handling during network requests.

1.0.1

Improvements and New Features

- **Improved Data Fetching Robustness**
- Reduced default `batch_size` to avoid timeouts.
- Implemented retry mechanism with exponential backoff for failed requests.
- Skipped batches if fetching fails to ensure the process continues.
- Added detailed logging for better debugging and monitoring.
- Log messages now include information about successful data fetches and any errors encountered.

Bug Fixes

- **Fixed Data Insertion Issues**
- Ensured all values being inserted into the SQLite database are of supported types to avoid `sqlite3.InterfaceError`.

Notes

- Make sure to update your local environment with the latest version of the package by running:
bash
pip install --upgrade datagovindia

1.0.0

The release of `datagovindia` v1.0.0 introduces several enhancements and new features aimed at optimizing interactions with data.gov.in APIs. Here are the key highlights of this release:

**1. Self-Managed Syncing**
This version allows users to manage the synchronization of data.gov.in API information autonomously. Unlike previous versions where metadata from data.gov.in were pre-packaged and downloadable via GitHub, this release brings forth the ability to self-manage this data by syncing the metadata directly from data.gov.in.

**2. Command Line Interface (CLI)**
A new CLI has been introduced to facilitate all the functionalities of the package. The CLI can be used to sync metadata, search for API resources, and download API resources. It can be accessed by running the following command in the terminal:
bash
datagovindia --help

**3. Lightweight Package**
`v1.0.0` has been designed to be lightweight and efficient. If you don't need the search and discovery capabilities of the package, you can skip the metadata syncing and still download data from data.gov.in APIs.

**4. Archiving of Old Metadata Files**
To preserve the functionality of previous releases, the old metadata files have been archived and remain available for download from the GitHub repository.

This release brings significant enhancements to the search and discovery capabilities of the package, making it easier for users to find the right API resources.

For more details please refer to the documentation available in the README file.

0.4

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.