Skip to content

Releases: addypy/datagovindia

v1.0.2

20 Sep 11:51
Compare
Choose a tag to compare

Release v1.0.2

Changes:

  • Fix for Issue #8: Addressed network error handling.
  • Integrated Tenacity: Added retries with exponential backoff for improved error handling during network requests.

v1.0.1

30 May 13:15
Compare
Choose a tag to compare

[v1.0.1] - 2024-05-30

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:
    pip install --upgrade datagovindia

v1.0.0

01 Oct 08:38
Compare
Choose a tag to compare

datagovindia v1.0.0 Release Announcement

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:

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.

v0.4

22 Jun 10:29
Compare
Choose a tag to compare
Version v0.4