python-google-weather-api 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl

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.
@@ -119,6 +119,11 @@ class Precipitation(DataClassJSONMixin):
119
119
  qpf: QuantitativePrecipitationForecast
120
120
  """The amount of precipitation (rain or snow), measured as liquid water."""
121
121
 
122
+ snow_qpf: QuantitativePrecipitationForecast | None = field(
123
+ default=None, metadata={"alias": "snowQpf"}
124
+ )
125
+ """The amount of snow accumulation, measured as liquid water equivalent."""
126
+
122
127
 
123
128
  @dataclass
124
129
  class WindSpeed(DataClassJSONMixin):
@@ -401,6 +406,11 @@ class ForecastDayPart(DataClassJSONMixin):
401
406
  cloud_cover: int = field(metadata={"alias": "cloudCover"})
402
407
  """Average cloud cover percent."""
403
408
 
409
+ ice_thickness: IceThickness | None = field(
410
+ default=None, metadata={"alias": "iceThickness"}
411
+ )
412
+ """The forecasted ice thickness."""
413
+
404
414
 
405
415
  @dataclass
406
416
  class SunEvents(DataClassJSONMixin):
@@ -430,15 +440,19 @@ class MoonEvents(DataClassJSONMixin):
430
440
  LAST_QUARTER = "LAST_QUARTER"
431
441
  WANING_CRESCENT = "WANING_CRESCENT"
432
442
 
433
- moonrise_times: list[str] = field(metadata={"alias": "moonriseTimes"})
443
+ moon_phase: MoonPhase = field(metadata={"alias": "moonPhase"})
444
+ """The moon phase (a.k.a. lunar phase)."""
445
+
446
+ moonrise_times: list[str] = field(
447
+ default_factory=list, metadata={"alias": "moonriseTimes"}
448
+ )
434
449
  """The time(s) when the upper limb of the moon appears above the horizon."""
435
450
 
436
- moonset_times: list[str] = field(metadata={"alias": "moonsetTimes"})
451
+ moonset_times: list[str] = field(
452
+ default_factory=list, metadata={"alias": "moonsetTimes"}
453
+ )
437
454
  """The time(s) when the upper limb of the moon disappears below the horizon."""
438
455
 
439
- moon_phase: MoonPhase = field(metadata={"alias": "moonPhase"})
440
- """The moon phase (a.k.a. lunar phase)."""
441
-
442
456
 
443
457
  @dataclass
444
458
  class ForecastDay(DataClassJSONMixin):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-google-weather-api
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: A python client library for Google Weather API
5
5
  Author-email: tronikos <tronikos@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -1,10 +1,10 @@
1
1
  google_weather_api/__init__.py,sha256=-QhZtqKdRYohLgaw5DwSa81EnrRWQ6Wb0j5A0SS5Qcs,1465
2
2
  google_weather_api/api.py,sha256=_exNxMthEln2iho93Uk_P7-zKJDj-oAZu77yQPau_zk,4271
3
3
  google_weather_api/exceptions.py,sha256=RnF47YwX0K-COrEi1E9r5xoBXPPOHBGr_unpHzlje2U,409
4
- google_weather_api/model.py,sha256=yGQ1qquAKuYloS1nYgCd8-LQ_Ta_zC4jMOkq149_WNI,21868
4
+ google_weather_api/model.py,sha256=mAI-79Qo-6zJJowlDG4QSCjIpNjRlHhgZ3SnBsJLSqk,22309
5
5
  google_weather_api/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- python_google_weather_api-0.0.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
7
- python_google_weather_api-0.0.3.dist-info/METADATA,sha256=AwaW5jWlszGwUTnpEmghiR3k0tqpQd05Cfqzs1puZqw,1498
8
- python_google_weather_api-0.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- python_google_weather_api-0.0.3.dist-info/top_level.txt,sha256=ZkFbtKDHz3vUJhH6DGEPVLj3PPeNpR9-Wg0f4HqGD78,19
10
- python_google_weather_api-0.0.3.dist-info/RECORD,,
6
+ python_google_weather_api-0.0.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
7
+ python_google_weather_api-0.0.4.dist-info/METADATA,sha256=7X_qQm039FmHyTThQtS6U5sr_x7JWVO6zZItg6v74Ks,1498
8
+ python_google_weather_api-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ python_google_weather_api-0.0.4.dist-info/top_level.txt,sha256=ZkFbtKDHz3vUJhH6DGEPVLj3PPeNpR9-Wg0f4HqGD78,19
10
+ python_google_weather_api-0.0.4.dist-info/RECORD,,