addypy / datagovindia Goto Github PK
View Code? Open in Web Editor NEWPython Client for India’s - Open Government Data (OGD) (https://data.gov.in/) platform APIs
License: MIT License
Python Client for India’s - Open Government Data (OGD) (https://data.gov.in/) platform APIs
License: MIT License
Hi, thanks for publishing the library. I wanted to contribute to this repo, however, cloning takes an absurd amount of time on a general internet connection, making it impractical to clone without using --depth
. I think this will only get worse as more "Automatic Meta-Update" commits are added to the repo. Github also doesn't recommend such usage.
So, I was wondering, if we can can stop committing this data directly to the repo, and instead, provide a simple script to download it from a source (govt site or github releases or custom CDN) on individual machines.
Also, I think it'd be best to hard reset this repo to 33ab07a, so that it becomes easy to clone and contribute.
git reset --hard 33ab07ab65583c76f11c684aab3213152099acf1
git push --force
I know the date filter can be applied on OGD API. can you show one example. I have been trying it multiple times for APMC mandi data. Please help me out
Thanks in advance
Regards,
Sangamesh KS
Dataframe.append has been removed for pandas 2.0 and gives an error. Previous versions also give warnings:
FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. self.data = self.data.append(df, ignore_index=True)
Can this be updated?
DataGovIndia("API-KEY")
Step (1/2) : API key is VALID
You don't need to enter it again
Traceback (most recent call last):PI meta-data. This may take a few seconds........
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/datagovindia/init.py", line 531, in init
self.assets = util.git_assets()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/datagovindia/util.py", line 91, in init
asset_data = fetch_assets_from_github(asset_url_seq)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/datagovindia/util.py", line 17, in fetch_assets_from_github
with concurrent.futures.ThreadPoolExecutor() as executor:
AttributeError: module 'concurrent' has no attribute 'futures'
Python version is 3.9.4
OS: MacOS
The script gets stuck on the step when I try to initialize using DataGovIndia(API_KEY)
on second step, "Latest API meta-data loaded! You may begin."
from datagovindia import DataGovIndia
import streamlit as st
@st.cache(suppress_st_warning=True)
def getDataGovAdaptor():
return DataGovIndia(API_KEY)
datagovin = getDataGovAdaptor()
result = datagovin.search(description="Wheat",max_results=1,print_results=True)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.