Releases: addypy/datagovindia
v1.0.2
v1.0.1
[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.
- Reduced default
Bug Fixes
- Fixed Data Insertion Issues
- Ensured all values being inserted into the SQLite database are of supported types to avoid
sqlite3.InterfaceError
.
- Ensured all values being inserted into the SQLite database are of supported types to avoid
Notes
- Make sure to update your local environment with the latest version of the package by running:
pip install --upgrade datagovindia
v1.0.0
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.