python-weather 1.1.0__tar.gz → 1.1.1__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-1.1.0 → python-weather-1.1.1}/LICENSE +1 -1
- {python-weather-1.1.0/python_weather.egg-info → python-weather-1.1.1}/PKG-INFO +3 -3
- {python-weather-1.1.0 → python-weather-1.1.1}/pyproject.toml +3 -3
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/__init__.py +1 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/base.py +1 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/client.py +1 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/constants.py +1 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/enums.py +1 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/errors.py +1 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather/forecast.py +14 -3
- {python-weather-1.1.0 → python-weather-1.1.1/python_weather.egg-info}/PKG-INFO +3 -3
- python-weather-1.1.1/python_weather.egg-info/requires.txt +1 -0
- python-weather-1.1.0/python_weather.egg-info/requires.txt +0 -1
- {python-weather-1.1.0 → python-weather-1.1.1}/MANIFEST.in +0 -0
- {python-weather-1.1.0 → python-weather-1.1.1}/README.md +0 -0
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather.egg-info/SOURCES.txt +0 -0
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather.egg-info/dependency_links.txt +0 -0
- {python-weather-1.1.0 → python-weather-1.1.1}/python_weather.egg-info/top_level.txt +0 -0
- {python-weather-1.1.0 → python-weather-1.1.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021-
|
|
3
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-weather
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: A free and asynchronous weather API wrapper made in Python, for Python.
|
|
5
5
|
Author: null8626
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: repository, https://github.com/null8626/python-weather
|
|
8
|
-
Project-URL: download_url, https://github.com/null8626/python-weather/archive/1.1.
|
|
8
|
+
Project-URL: download_url, https://github.com/null8626/python-weather/archive/1.1.1.tar.gz
|
|
9
9
|
Keywords: weather,forecast,weather-api,weather-forecast
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Framework :: aiohttp
|
|
@@ -32,7 +32,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
32
32
|
Requires-Python: >=3.8
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
License-File: LICENSE
|
|
35
|
-
Requires-Dist: aiohttp==3.9.
|
|
35
|
+
Requires-Dist: aiohttp==3.9.3
|
|
36
36
|
|
|
37
37
|
# [python-weather][pypi-url] [![pypi][pypi-image]][pypi-url] [![downloads][downloads-image]][pypi-url] [![Build Status][ci-image]][ci-url] [![license][github-license-image]][github-license-url] [![BLAZINGLY FAST!!!][blazingly-fast-image]][blazingly-fast-url]
|
|
38
38
|
|
|
@@ -3,13 +3,13 @@ requires = ["setuptools"]
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "python-weather"
|
|
6
|
-
version = "1.1.
|
|
6
|
+
version = "1.1.1"
|
|
7
7
|
description = "A free and asynchronous weather API wrapper made in Python, for Python."
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
license = { text = "MIT" }
|
|
10
10
|
authors = [{ name = "null8626" }]
|
|
11
11
|
keywords = ["weather", "forecast", "weather-api", "weather-forecast"]
|
|
12
|
-
dependencies = ["aiohttp==3.9.
|
|
12
|
+
dependencies = ["aiohttp==3.9.3"]
|
|
13
13
|
classifiers = [
|
|
14
14
|
"Development Status :: 5 - Production/Stable",
|
|
15
15
|
"Framework :: aiohttp",
|
|
@@ -38,4 +38,4 @@ requires-python = ">=3.8"
|
|
|
38
38
|
|
|
39
39
|
[project.urls]
|
|
40
40
|
repository = "https://github.com/null8626/python-weather"
|
|
41
|
-
download_url = "https://github.com/null8626/python-weather/archive/1.1.
|
|
41
|
+
download_url = "https://github.com/null8626/python-weather/archive/1.1.1.tar.gz"
|
|
@@ -4,7 +4,7 @@ A free and asynchronous weather API wrapper made in Python, for Python.
|
|
|
4
4
|
|
|
5
5
|
The MIT License (MIT)
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2021-
|
|
7
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
8
8
|
|
|
9
9
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
10
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The MIT License (MIT)
|
|
3
3
|
|
|
4
|
-
Copyright (c) 2021-
|
|
4
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The MIT License (MIT)
|
|
3
3
|
|
|
4
|
-
Copyright (c) 2021-
|
|
4
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The MIT License (MIT)
|
|
3
3
|
|
|
4
|
-
Copyright (c) 2021-
|
|
4
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The MIT License (MIT)
|
|
3
3
|
|
|
4
|
-
Copyright (c) 2021-
|
|
4
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The MIT License (MIT)
|
|
3
3
|
|
|
4
|
-
Copyright (c) 2021-
|
|
4
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The MIT License (MIT)
|
|
3
3
|
|
|
4
|
-
Copyright (c) 2021-
|
|
4
|
+
Copyright (c) 2021-2024 null (https://github.com/null8626)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the 'Software'), to deal
|
|
@@ -22,6 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
22
22
|
SOFTWARE.
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
|
+
import warnings
|
|
25
26
|
from typing import Iterable, Optional, Tuple
|
|
26
27
|
from datetime import datetime, date, time
|
|
27
28
|
from enum import auto
|
|
@@ -239,11 +240,21 @@ class HourlyForecast(BaseForecast):
|
|
|
239
240
|
return int(self._BaseForecast__inner['chanceofrain'])
|
|
240
241
|
|
|
241
242
|
@property
|
|
242
|
-
def
|
|
243
|
-
""":class:`int`: Chances of
|
|
243
|
+
def chances_of_remaining_dry(self) -> int:
|
|
244
|
+
""":class:`int`: Chances of remaining dry in percent."""
|
|
244
245
|
|
|
245
246
|
return int(self._BaseForecast__inner['chanceofremdry'])
|
|
246
247
|
|
|
248
|
+
@property
|
|
249
|
+
def chances_of_remdry(self) -> int:
|
|
250
|
+
""":class:`int`: Deprecated, use chances_of_remaining_dry instead."""
|
|
251
|
+
|
|
252
|
+
warnings.warn(
|
|
253
|
+
'Deprecated as of v1.1.1. Use `chances_of_remaining_dry` instead.',
|
|
254
|
+
DeprecationWarning
|
|
255
|
+
)
|
|
256
|
+
return self.chances_of_remaining_dry
|
|
257
|
+
|
|
247
258
|
@property
|
|
248
259
|
def chances_of_snow(self) -> int:
|
|
249
260
|
""":class:`int`: Chances of a snow in percent."""
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-weather
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: A free and asynchronous weather API wrapper made in Python, for Python.
|
|
5
5
|
Author: null8626
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: repository, https://github.com/null8626/python-weather
|
|
8
|
-
Project-URL: download_url, https://github.com/null8626/python-weather/archive/1.1.
|
|
8
|
+
Project-URL: download_url, https://github.com/null8626/python-weather/archive/1.1.1.tar.gz
|
|
9
9
|
Keywords: weather,forecast,weather-api,weather-forecast
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Framework :: aiohttp
|
|
@@ -32,7 +32,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
32
32
|
Requires-Python: >=3.8
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
License-File: LICENSE
|
|
35
|
-
Requires-Dist: aiohttp==3.9.
|
|
35
|
+
Requires-Dist: aiohttp==3.9.3
|
|
36
36
|
|
|
37
37
|
# [python-weather][pypi-url] [![pypi][pypi-image]][pypi-url] [![downloads][downloads-image]][pypi-url] [![Build Status][ci-image]][ci-url] [![license][github-license-image]][github-license-url] [![BLAZINGLY FAST!!!][blazingly-fast-image]][blazingly-fast-url]
|
|
38
38
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aiohttp==3.9.3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
aiohttp==3.9.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|