Socket
Book a DemoInstallSign in
Socket

smhi-weather

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smhi-weather

Fetch weather data from SMHI open API.

pipPyPI
Version
0.1.2
Maintainers
1

smhi-weather

PyPI version Testing

Provides friendly functions to fetch data from SMHI:s open data api.

The source off all data provided is SMHI, use in accordance with SMHI:s guidelines and API policy.

Install with

pip install smhi-weather

Import and use as

from smhi_weather import SmhiWeather

forecast = SmhiWeather(59.334591, 18.063240).get_forecast()

For now a single function exists which return a full forecast according to SMHI:s docs on Get Point Forecast.

FAQs

Did you know?

Socket

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.

Install

Related posts