weathergrabber 0.0.8b5__tar.gz → 0.0.8b7__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.
- {weathergrabber-0.0.8b5/weathergrabber.egg-info → weathergrabber-0.0.8b7}/PKG-INFO +1 -1
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/pyproject.toml +1 -1
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/__init__.py +1 -1
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/adapter/tty/waybar_tty.py +1 -1
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/moon_phase_enum.py +3 -2
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/weather_icon_enum.py +1 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_daily_forecast_service.py +1 -1
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_today_details_service.py +1 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7/weathergrabber.egg-info}/PKG-INFO +1 -1
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/LICENSE +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/README.md +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/setup.cfg +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/tests/test_cli.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/tests/test_cli_version.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/tests/test_core.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/tests/test_main.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/__main__.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/adapter/client/weather_api.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/adapter/client/weather_search_api.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/adapter/tty/console_tty.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/adapter/tty/json_tty.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/cli.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/core.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/icon_enum.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/air_quality_index_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/city_location_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/color_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/current_conditions_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/daily_predictions_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/day_night_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/forecast_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/health_activities_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/hourly_predictions_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/label_value_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/moon_phase_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/precipitation_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/search_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/sunrise_sunset_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/temperature_high_low_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/timestamp_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/today_details_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/uv_index_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/weather_icon_enum_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/mapper/wind_mapper.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/output_enum.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/params.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/air_quality_index.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/city_location.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/color.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/current_conditions.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/daily_predictions.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/day_night.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/forecast.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/health_activities.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/hourly_predictions.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/label_value.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/moon_phase.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/precipitation.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/search.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/sunrise_sunset.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/temperature_hight_low.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/timestamp.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/today_details.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/uv_index.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/wind.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_aqi_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_current_conditions_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_daily_forecast_oldstyle_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_health_activities_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_hourly_forecast_oldstyle_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_hourly_forecast_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_temperature_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/read_weather_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/search_location_service.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/usecase/use_case.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/weathergrabber_application.py +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber.egg-info/SOURCES.txt +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber.egg-info/dependency_links.txt +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber.egg-info/entry_points.txt +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber.egg-info/requires.txt +0 -0
- {weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber.egg-info/top_level.txt +0 -0
|
@@ -97,7 +97,7 @@ class WaybarTTY:
|
|
|
97
97
|
f"{d['title']}"
|
|
98
98
|
f"{'\t\t' if len(d['title']) < 5 else '\t'}"
|
|
99
99
|
f"{d['high_low']}"
|
|
100
|
-
f"{'\t\t' if len(d['high_low']) <
|
|
100
|
+
f"{'\t\t' if len(d['high_low']) < 33 else '\t'}"
|
|
101
101
|
f"{d['icon']}\t"
|
|
102
102
|
f"{rain_icon} {d['precipitation']}"
|
|
103
103
|
for d in daily_predictions_format
|
|
@@ -39,7 +39,8 @@ class MoonPhaseEnum(Enum):
|
|
|
39
39
|
PHASE_27 = ("phase-27", "\uf186", "🌘")
|
|
40
40
|
PHASE_28 = ("phase-28", "\uf186", "🌘")
|
|
41
41
|
PHASE_29 = ("phase-29", "\uf186", "🌑")
|
|
42
|
-
|
|
42
|
+
PHASE_30 = ("phase-30", "\uf186", "🌑")
|
|
43
|
+
|
|
43
44
|
|
|
44
45
|
def __init__(self, name: str, fa_icon: str, emoji_icon: str):
|
|
45
46
|
self._name = name
|
|
@@ -63,4 +64,4 @@ class MoonPhaseEnum(Enum):
|
|
|
63
64
|
for item in MoonPhaseEnum:
|
|
64
65
|
if item._name == name:
|
|
65
66
|
return item
|
|
66
|
-
|
|
67
|
+
raise ValueError(f'WeatherIconEnum: No icon found for name "{name}"')
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/weather_icon_enum.py
RENAMED
|
@@ -39,6 +39,7 @@ class WeatherIconEnum(Enum):
|
|
|
39
39
|
SUNNY = ('sunny', chr(0xF0599), '☀️')
|
|
40
40
|
SUNRISE = ('sunrise', '\ue34c', '🌅')
|
|
41
41
|
SUNSET = ('sunset', '\ue34d', '🌇')
|
|
42
|
+
STRONG_STORMS = ('strong-storms', '\uf01e', '🌩️')
|
|
42
43
|
THUNDERSTORMS = ('thunderstorms', '\uf0e7', '⛈️')
|
|
43
44
|
VISIBILITY = ('visibility', '\uf06e', '👁️')
|
|
44
45
|
WIND = ('wind', chr(0xf059d), '🌪️')
|
|
@@ -36,7 +36,7 @@ class ExtractDailyForecastService:
|
|
|
36
36
|
|
|
37
37
|
self.logger.debug("Extracted %s register(s)...",len(details))
|
|
38
38
|
|
|
39
|
-
daily_predictions = [
|
|
39
|
+
daily_predictions = [
|
|
40
40
|
DailyPredictions(
|
|
41
41
|
title=item["title"],
|
|
42
42
|
high_low = TemperatureHighLow.from_string(item["high-low"]),
|
|
@@ -17,6 +17,7 @@ class ExtractTodayDetailsService:
|
|
|
17
17
|
self.logger.debug("Extracting today's details...")
|
|
18
18
|
|
|
19
19
|
today_details_data = weather_data.find("div#todayDetails")
|
|
20
|
+
|
|
20
21
|
feelslike = PyQuery(today_details_data).find("div[data-testid='FeelsLikeSection'] span")
|
|
21
22
|
sunrise_sunset = PyQuery(today_details_data).find("div[data-testid='sunriseSunsetContainer'] div p[class*='TwcSunChart']")
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/adapter/client/weather_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/icon_enum.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/adapter/output_enum.py
RENAMED
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/air_quality_index.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/current_conditions.py
RENAMED
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/daily_predictions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/health_activities.py
RENAMED
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/hourly_predictions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/domain/temperature_hight_low.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/extract_aqi_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/read_weather_service.py
RENAMED
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/service/search_location_service.py
RENAMED
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber/weathergrabber_application.py
RENAMED
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b5 → weathergrabber-0.0.8b7}/weathergrabber.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|