weathergrabber 0.0.8b4__tar.gz → 0.0.8b5__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.8b4/weathergrabber.egg-info → weathergrabber-0.0.8b5}/PKG-INFO +1 -1
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/pyproject.toml +1 -1
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/__init__.py +1 -1
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/adapter/tty/console_tty.py +2 -2
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/adapter/tty/waybar_tty.py +5 -5
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/moon_phase_enum.py +1 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/weather_icon_enum.py +1 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5/weathergrabber.egg-info}/PKG-INFO +1 -1
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/LICENSE +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/README.md +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/setup.cfg +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/tests/test_cli.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/tests/test_cli_version.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/tests/test_core.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/tests/test_main.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/__main__.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/adapter/client/weather_api.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/adapter/client/weather_search_api.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/adapter/tty/json_tty.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/cli.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/core.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/icon_enum.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/air_quality_index_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/city_location_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/color_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/current_conditions_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/daily_predictions_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/day_night_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/forecast_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/health_activities_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/hourly_predictions_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/label_value_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/moon_phase_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/precipitation_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/search_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/sunrise_sunset_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/temperature_high_low_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/timestamp_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/today_details_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/uv_index_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/weather_icon_enum_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/mapper/wind_mapper.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/output_enum.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/params.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/air_quality_index.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/city_location.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/color.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/current_conditions.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/daily_predictions.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/day_night.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/forecast.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/health_activities.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/hourly_predictions.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/label_value.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/moon_phase.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/precipitation.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/search.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/sunrise_sunset.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/temperature_hight_low.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/timestamp.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/today_details.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/uv_index.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/wind.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_aqi_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_current_conditions_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_daily_forecast_oldstyle_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_daily_forecast_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_health_activities_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_hourly_forecast_oldstyle_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_hourly_forecast_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_temperature_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/extract_today_details_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/read_weather_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/search_location_service.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/usecase/use_case.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/weathergrabber_application.py +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber.egg-info/SOURCES.txt +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber.egg-info/dependency_links.txt +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber.egg-info/entry_points.txt +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber.egg-info/requires.txt +0 -0
- {weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber.egg-info/top_level.txt +0 -0
|
@@ -82,7 +82,7 @@ class ConsoleTTY:
|
|
|
82
82
|
# Hourly predictions and daily predictions
|
|
83
83
|
hourly_predictions = [
|
|
84
84
|
f"{h['title']}"
|
|
85
|
-
f"{'\t' if len(h['title']) < 3 else ''}
|
|
85
|
+
f"{'\t\t' if len(h['title']) < 3 else '\t'}"
|
|
86
86
|
f"{h['temperature']}"
|
|
87
87
|
"\t"
|
|
88
88
|
f"{h['icon']}\t"
|
|
@@ -92,7 +92,7 @@ class ConsoleTTY:
|
|
|
92
92
|
|
|
93
93
|
daily_predictions = [
|
|
94
94
|
f"{d['title']}"
|
|
95
|
-
f"{'\t' if len(d['title']) < 3 else ''}
|
|
95
|
+
f"{'\t\t' if len(d['title']) < 3 else '\t'}"
|
|
96
96
|
f"{d['high_low']}"
|
|
97
97
|
f"\t"
|
|
98
98
|
f"{d['icon']}\t"
|
|
@@ -67,7 +67,7 @@ class WaybarTTY:
|
|
|
67
67
|
aqi_value = forecast.air_quality_index.value
|
|
68
68
|
|
|
69
69
|
hourly_predictions_format = [{
|
|
70
|
-
'title': h.title if len(h.title) <
|
|
70
|
+
'title': h.title if len(h.title) < 9 else h.title[:8] + '.',
|
|
71
71
|
'temperature' : h.temperature,
|
|
72
72
|
'icon': h.icon.fa_icon if is_fa else h.icon.emoji_icon,
|
|
73
73
|
'precipitation': f"{h.precipitation.percentage if h.precipitation.percentage else ''}"
|
|
@@ -75,7 +75,7 @@ class WaybarTTY:
|
|
|
75
75
|
|
|
76
76
|
daily_predictions_format = [
|
|
77
77
|
{
|
|
78
|
-
'title': d.title if len(d.title) <
|
|
78
|
+
'title': d.title if len(d.title) < 9 else d.title[:8] + '.',
|
|
79
79
|
'high_low': f"{d.high_low.high}/<span size='small'>{d.high_low.low}</span>",
|
|
80
80
|
'icon': d.icon.fa_icon if is_fa else d.icon.emoji_icon,
|
|
81
81
|
'precipitation': f"{d.precipitation.percentage}"
|
|
@@ -85,7 +85,7 @@ class WaybarTTY:
|
|
|
85
85
|
# Hourly predictions and daily predictions
|
|
86
86
|
hourly_predictions = [
|
|
87
87
|
f"{h['title']}"
|
|
88
|
-
f"{'\t\t' if len(h['title']) <
|
|
88
|
+
f"{'\t\t' if len(h['title']) < 5 else '\t'}"
|
|
89
89
|
f"{h['temperature']}"
|
|
90
90
|
"\t\t"
|
|
91
91
|
f"{h['icon']}\t"
|
|
@@ -95,9 +95,9 @@ class WaybarTTY:
|
|
|
95
95
|
|
|
96
96
|
daily_predictions = [
|
|
97
97
|
f"{d['title']}"
|
|
98
|
-
f"
|
|
98
|
+
f"{'\t\t' if len(d['title']) < 5 else '\t'}"
|
|
99
99
|
f"{d['high_low']}"
|
|
100
|
-
f"
|
|
100
|
+
f"{'\t\t' if len(d['high_low']) < 32 else '\t'}"
|
|
101
101
|
f"{d['icon']}\t"
|
|
102
102
|
f"{rain_icon} {d['precipitation']}"
|
|
103
103
|
for d in daily_predictions_format
|
|
@@ -38,6 +38,7 @@ class MoonPhaseEnum(Enum):
|
|
|
38
38
|
PHASE_26 = ("phase-26", "\uf186", "🌘")
|
|
39
39
|
PHASE_27 = ("phase-27", "\uf186", "🌘")
|
|
40
40
|
PHASE_28 = ("phase-28", "\uf186", "🌘")
|
|
41
|
+
PHASE_29 = ("phase-29", "\uf186", "🌑")
|
|
41
42
|
DEFAULT = ("default", "\uf186", "🌑")
|
|
42
43
|
|
|
43
44
|
def __init__(self, name: str, fa_icon: str, emoji_icon: str):
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/weather_icon_enum.py
RENAMED
|
@@ -10,6 +10,7 @@ class WeatherIconEnum(Enum):
|
|
|
10
10
|
DRIZZLE = ('drizzle', '\uf0e9', '🌦️')
|
|
11
11
|
FEEL = ('feel', '\uf2c9', '🥵')
|
|
12
12
|
FOGGY = ('foggy', '\uf74e', '🌫️')
|
|
13
|
+
HEAVY_RAIN = ('heavy-rain', '\uf0e9', '🌧️')
|
|
13
14
|
HUMIDITY = ('humidity', '\uf043', '💧')
|
|
14
15
|
ISOLATED_THUNDERSTORMS = ('isolated-thunderstorms', chr(0x26C8), '⛈️')
|
|
15
16
|
MOSTLY_CLEAR_DAY = ('mostly-clear-day', chr(0xF0599), '☀️')
|
|
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.8b4 → weathergrabber-0.0.8b5}/weathergrabber/adapter/client/weather_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/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.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/adapter/output_enum.py
RENAMED
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/air_quality_index.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/current_conditions.py
RENAMED
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/daily_predictions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/domain/health_activities.py
RENAMED
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/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.8b4 → weathergrabber-0.0.8b5}/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.8b4 → weathergrabber-0.0.8b5}/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
|
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/read_weather_service.py
RENAMED
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/service/search_location_service.py
RENAMED
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber/weathergrabber_application.py
RENAMED
|
File without changes
|
|
File without changes
|
{weathergrabber-0.0.8b4 → weathergrabber-0.0.8b5}/weathergrabber.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|