Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Readme
Python wrapper to fetch and parse observations from KNMI, either as csv or Pandas DataFrame
See http://knmi.nl/kennis-en-datacentrum/achtergrond/data-ophalen-vanuit-een-script
Note: This library is not affiliated in any way with KNMI, it only uses the KNMI API to request data.
Currently only daily data is implemented.
KNMI-py is available via pip.
python -m pip install knmi-py
knmi.get_day_data_raw(stations, start, end, inseason, variables)
knmi.get_day_data_dataframe(stations, start, end, inseason, variables)
knmi.get_hour_data_raw(stations, start, end, inseason, variables)
knmi.get_hour_data_dataframe(stations, start, end, inseason, variables)
knmi.get_forecast_dataframe(station, conform_values, variables)
Don't know which station number you need, or what the variables mean? We got you covered:
knmi.stations
provides a list of all available stationsknmi.variables
provides a list of all variables and explanationsAll raw data is included as argument to the DataFrame (however, the data is lost once you start manipulating the frame, so you'll have to copy it)
import knmi
df = knmi.get_day_data_dataframe(stations=[260])
print(df.disclaimer)
print(df.stations)
print(df.legend)
df = df.rename(columns=df.legend)
print(df)
The KNMI-py Python library is not affiliated, created or maintained by KNMI. It merely uses the KNMI API to request data.
FAQs
A Python API wrapper for KNMI data
We found that knmi-py demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.