pyechorobotics 2.1.0__tar.gz → 2.3.0__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.
- {pyechorobotics-2.1.0/src/pyechorobotics.egg-info → pyechorobotics-2.3.0}/PKG-INFO +2 -3
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/pyproject.toml +2 -3
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/echoroboticsapi/models.py +3 -2
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0/src/pyechorobotics.egg-info}/PKG-INFO +2 -3
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/LICENSE.md +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/README.md +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/setup.cfg +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/setup.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/echoroboticsapi/__init__.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/echoroboticsapi/api.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/echoroboticsapi/smart_fetch.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/echoroboticsapi/smart_mode.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/pyechorobotics.egg-info/SOURCES.txt +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/pyechorobotics.egg-info/dependency_links.txt +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/pyechorobotics.egg-info/requires.txt +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/pyechorobotics.egg-info/top_level.txt +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/test/test_api.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/test/test_smart_fetch.py +0 -0
- {pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/test/test_smart_mode.py +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyechorobotics
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Access API for echorobotics robot lawn mowers
|
|
5
5
|
Author-email: functionpointer <suspendfunction@gmail.com>
|
|
6
|
-
License:
|
|
6
|
+
License-Expression: GPL-3.0-or-later
|
|
7
7
|
Project-URL: homepage, https://github.com/functionpointer/pyechorobotics
|
|
8
8
|
Classifier: Programming Language :: Python :: 3.11
|
|
9
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
10
9
|
Requires-Python: >=3.11
|
|
11
10
|
Description-Content-Type: text/markdown
|
|
12
11
|
License-File: LICENSE.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyechorobotics"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.3.0"
|
|
4
4
|
dependencies = [
|
|
5
5
|
"aiohttp",
|
|
6
6
|
"yarl",
|
|
@@ -8,12 +8,11 @@ dependencies = [
|
|
|
8
8
|
"python-dateutil"
|
|
9
9
|
]
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "GPL-3.0-or-later"
|
|
12
12
|
description = "Access API for echorobotics robot lawn mowers"
|
|
13
13
|
requires-python = ">=3.11"
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Programming Language :: Python :: 3.11",
|
|
16
|
-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"
|
|
17
16
|
]
|
|
18
17
|
authors = [
|
|
19
18
|
{ name = "functionpointer", email = "suspendfunction@gmail.com" },
|
|
@@ -49,7 +49,8 @@ def dtparse(value) -> datetime.datetime:
|
|
|
49
49
|
ret = dateutil_isoparse(value)
|
|
50
50
|
is_aware = ret.tzinfo is not None and ret.tzinfo.utcoffset(ret) is not None
|
|
51
51
|
if not is_aware:
|
|
52
|
-
|
|
52
|
+
# since 2026 10 28 the API has started reporting non-aware timestamps in what appears to be zulu time
|
|
53
|
+
ret = ret.replace(tzinfo=datetime.timezone.utc)
|
|
53
54
|
return ret
|
|
54
55
|
|
|
55
56
|
|
|
@@ -90,7 +91,7 @@ class Position(BaseModel):
|
|
|
90
91
|
|
|
91
92
|
longitude: float = Field(..., alias="Longitude")
|
|
92
93
|
latitude: float = Field(..., alias="Latitude")
|
|
93
|
-
date_time: datetime.datetime = Field(
|
|
94
|
+
date_time: datetime.datetime | None = Field(None, alias="DateTime")
|
|
94
95
|
|
|
95
96
|
_normalize_date_time = field_validator("date_time", mode="before")(dtparse)
|
|
96
97
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyechorobotics
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Access API for echorobotics robot lawn mowers
|
|
5
5
|
Author-email: functionpointer <suspendfunction@gmail.com>
|
|
6
|
-
License:
|
|
6
|
+
License-Expression: GPL-3.0-or-later
|
|
7
7
|
Project-URL: homepage, https://github.com/functionpointer/pyechorobotics
|
|
8
8
|
Classifier: Programming Language :: Python :: 3.11
|
|
9
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
10
9
|
Requires-Python: >=3.11
|
|
11
10
|
Description-Content-Type: text/markdown
|
|
12
11
|
License-File: LICENSE.md
|
|
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
|
{pyechorobotics-2.1.0 → pyechorobotics-2.3.0}/src/pyechorobotics.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|