python-weather 2.2.3__tar.gz → 2.2.4__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.
- {python_weather-2.2.3/python_weather.egg-info → python_weather-2.2.4}/PKG-INFO +2 -2
- {python_weather-2.2.3 → python_weather-2.2.4}/pyproject.toml +2 -2
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/enums.py +5 -1
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/version.py +1 -1
- {python_weather-2.2.3 → python_weather-2.2.4/python_weather.egg-info}/PKG-INFO +2 -2
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather.egg-info/requires.txt +1 -1
- {python_weather-2.2.3 → python_weather-2.2.4}/LICENSE +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/MANIFEST.in +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/README.md +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/__init__.py +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/base.py +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/client.py +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/constants.py +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/errors.py +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather/forecast.py +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather.egg-info/SOURCES.txt +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather.egg-info/dependency_links.txt +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/python_weather.egg-info/top_level.txt +0 -0
- {python_weather-2.2.3 → python_weather-2.2.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-weather
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: A free and asynchronous weather API wrapper made in Python, for Python.
|
|
5
5
|
Author: null8626
|
|
6
6
|
License-Expression: MIT
|
|
@@ -39,7 +39,7 @@ Requires-Dist: mock>=5.2.0; extra == "dev"
|
|
|
39
39
|
Requires-Dist: pytest>=9.1.1; extra == "dev"
|
|
40
40
|
Requires-Dist: pytest-asyncio>=1.4.0; extra == "dev"
|
|
41
41
|
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
|
|
42
|
-
Requires-Dist: multidict>=6.
|
|
42
|
+
Requires-Dist: multidict>=6.8.0; extra == "dev"
|
|
43
43
|
Requires-Dist: yarl>=1.24.5; extra == "dev"
|
|
44
44
|
Dynamic: license-file
|
|
45
45
|
|
|
@@ -3,7 +3,7 @@ requires = ["setuptools"]
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "python-weather"
|
|
6
|
-
version = "2.2.
|
|
6
|
+
version = "2.2.4"
|
|
7
7
|
description = "A free and asynchronous weather API wrapper made in Python, for Python."
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
license = "MIT"
|
|
@@ -35,7 +35,7 @@ classifiers = [
|
|
|
35
35
|
requires-python = ">=3.10"
|
|
36
36
|
|
|
37
37
|
[project.optional-dependencies]
|
|
38
|
-
dev = ["mock>=5.2.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0", "multidict>=6.
|
|
38
|
+
dev = ["mock>=5.2.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0", "multidict>=6.8.0", "yarl>=1.24.5"]
|
|
39
39
|
|
|
40
40
|
[project.urls]
|
|
41
41
|
Documentation = "https://python-weather.readthedocs.io/en/latest/"
|
|
@@ -299,7 +299,9 @@ class Kind(BasicEnum):
|
|
|
299
299
|
|
|
300
300
|
@classmethod
|
|
301
301
|
def _missing_(cls, value: object) -> 'Kind | None':
|
|
302
|
-
if value
|
|
302
|
+
if value == 125:
|
|
303
|
+
return cls.CLOUDY
|
|
304
|
+
elif value in (248, 260):
|
|
303
305
|
return cls.FOG
|
|
304
306
|
elif value in (263, 353):
|
|
305
307
|
return cls.LIGHT_SHOWERS
|
|
@@ -323,6 +325,8 @@ class Kind(BasicEnum):
|
|
|
323
325
|
return cls.LIGHT_SNOW_SHOWERS
|
|
324
326
|
elif value in (371, 395):
|
|
325
327
|
return cls.HEAVY_SNOW_SHOWERS
|
|
328
|
+
elif value == 146:
|
|
329
|
+
return cls.SMOKY_HAZE
|
|
326
330
|
|
|
327
331
|
@property
|
|
328
332
|
def emoji(self) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-weather
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: A free and asynchronous weather API wrapper made in Python, for Python.
|
|
5
5
|
Author: null8626
|
|
6
6
|
License-Expression: MIT
|
|
@@ -39,7 +39,7 @@ Requires-Dist: mock>=5.2.0; extra == "dev"
|
|
|
39
39
|
Requires-Dist: pytest>=9.1.1; extra == "dev"
|
|
40
40
|
Requires-Dist: pytest-asyncio>=1.4.0; extra == "dev"
|
|
41
41
|
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
|
|
42
|
-
Requires-Dist: multidict>=6.
|
|
42
|
+
Requires-Dist: multidict>=6.8.0; extra == "dev"
|
|
43
43
|
Requires-Dist: yarl>=1.24.5; extra == "dev"
|
|
44
44
|
Dynamic: license-file
|
|
45
45
|
|
|
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
|