simple-dwd-weatherforecast 3.0.4__tar.gz → 3.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simple_dwd_weatherforecast-3.0.4/simple_dwd_weatherforecast.egg-info → simple_dwd_weatherforecast-3.0.5}/PKG-INFO +1 -1
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/setup.py +1 -1
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast/dwdforecast.py +2 -1
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5/simple_dwd_weatherforecast.egg-info}/PKG-INFO +1 -1
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/LICENCE +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/README.md +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/setup.cfg +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast/__init__.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast/dwdmap.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast/stations.json +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast/uv_stations.json +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast.egg-info/SOURCES.txt +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast.egg-info/dependency_links.txt +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast.egg-info/requires.txt +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/simple_dwd_weatherforecast.egg-info/top_level.txt +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/__init__.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/dummy_data.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/dummy_data_full.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/dummy_uv.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_avg.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_condition.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_max.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_min.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_sum.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_day_values.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_forecast_condition.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_forecast_data.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_station_name.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_timeframe_avg.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_timeframe_condition.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_timeframe_max.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_timeframe_min.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_timeframe_sum.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_timeframe_values.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_is_in_timerange.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_is_valid_timeframe.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_location_tools.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_map.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_parsekml.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_region.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_reported_weather.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_station.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_stationsfile.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_update.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_update_hourly.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_uv_index.py +0 -0
- {simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_weather.py +0 -0
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
5
5
|
|
6
6
|
setuptools.setup(
|
7
7
|
name="simple_dwd_weatherforecast",
|
8
|
-
version="v3.0.
|
8
|
+
version="v3.0.5",
|
9
9
|
author="Max Fermor",
|
10
10
|
description="A simple tool to retrieve a weather forecast from DWD OpenData",
|
11
11
|
long_description=long_description,
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import csv
|
2
2
|
import importlib
|
3
|
+
import importlib.resources
|
3
4
|
import json
|
4
5
|
import math
|
5
6
|
from collections import OrderedDict, defaultdict
|
@@ -900,7 +901,7 @@ class Weather:
|
|
900
901
|
}
|
901
902
|
|
902
903
|
def get_weather_report(self, shouldUpdate=False):
|
903
|
-
if
|
904
|
+
if shouldUpdate and self.region is not None:
|
904
905
|
self.update(with_report=True)
|
905
906
|
return self.weather_report
|
906
907
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/dummy_data_full.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_avg.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_max.py
RENAMED
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_min.py
RENAMED
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_daily_sum.py
RENAMED
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_day_values.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_get_station_name.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_is_in_timerange.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_location_tools.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_parsekml.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_reported_weather.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_stationsfile.py
RENAMED
File without changes
|
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_update_hourly.py
RENAMED
File without changes
|
{simple_dwd_weatherforecast-3.0.4 → simple_dwd_weatherforecast-3.0.5}/tests/test_uv_index.py
RENAMED
File without changes
|
File without changes
|