my-PV 0.0.1.dev2__tar.gz → 0.0.1.dev4__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.
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/PKG-INFO +1 -1
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/__init__.py +1 -1
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/_version.py +2 -2
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/__init__.py +1 -1
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/connection.py +1 -1
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/pyproject.toml +4 -5
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/.github/dependabot.yml +0 -0
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/.github/workflows/check-format.yml +0 -0
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/.github/workflows/pypi-publish.yml +0 -0
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/.gitignore +0 -0
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/LICENSE +0 -0
- {my_pv-0.0.1.dev2 → my_pv-0.0.1.dev4}/README.md +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/000000.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/140100.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/160150.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/160151.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/160152.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/200100.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/200103.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/200110.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/200113.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/200300.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/200310.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/210300.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/configs/210900.json +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/exceptions.py +0 -0
- {my_pv-0.0.1.dev2/mypv → my_pv-0.0.1.dev4/my_pv}/py.typed +0 -0
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.0.1.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 0, 1, '
|
|
21
|
+
__version__ = version = '0.0.1.dev4'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 0, 1, 'dev4')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -68,7 +68,7 @@ async def read_config(serial_number: str) -> dict | None:
|
|
|
68
68
|
for config_file in config_files:
|
|
69
69
|
try:
|
|
70
70
|
text = await asyncio.get_running_loop().run_in_executor(
|
|
71
|
-
None, importlib.resources.read_text, "
|
|
71
|
+
None, importlib.resources.read_text, "my_pv.configs", config_file
|
|
72
72
|
)
|
|
73
73
|
|
|
74
74
|
if text is not None and len(text) > 0:
|
|
@@ -27,7 +27,7 @@ from urllib.parse import urlencode, urlunsplit
|
|
|
27
27
|
from aiohttp import ClientSession
|
|
28
28
|
from aiohttp.client_exceptions import ClientConnectionError, ConnectionTimeoutError
|
|
29
29
|
|
|
30
|
-
from
|
|
30
|
+
from my_pv.exceptions import MyPVAuthenticationError, MyPVConnectionError
|
|
31
31
|
|
|
32
32
|
logger = logging.getLogger(__name__)
|
|
33
33
|
|
|
@@ -3,7 +3,7 @@ requires = ["hatchling>=1.29", "hatch-vcs"]
|
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
|
|
5
5
|
[tool.hatch.build.hooks.vcs]
|
|
6
|
-
version-file = "
|
|
6
|
+
version-file = "my_pv/_version.py"
|
|
7
7
|
|
|
8
8
|
[tool.hatch.version]
|
|
9
9
|
source = "vcs"
|
|
@@ -38,10 +38,10 @@ Issues = "https://github.com/my-PV/py-mypv/issues"
|
|
|
38
38
|
[tool.isort]
|
|
39
39
|
# https://github.com/PyCQA/isort/wiki/isort-Settings
|
|
40
40
|
profile = "black"
|
|
41
|
-
skip = "
|
|
41
|
+
skip = "my_pv/_version.py"
|
|
42
42
|
|
|
43
43
|
[tool.black]
|
|
44
|
-
exclude = '
|
|
44
|
+
exclude = 'my_pv/_version.py'
|
|
45
45
|
|
|
46
46
|
[tool.pylint]
|
|
47
47
|
ignore = "_version.py"
|
|
@@ -49,9 +49,8 @@ recursive = "y"
|
|
|
49
49
|
|
|
50
50
|
[tool.mypy]
|
|
51
51
|
python_version = "3.14"
|
|
52
|
-
mypy_path = "
|
|
52
|
+
mypy_path = "my_pv"
|
|
53
53
|
|
|
54
54
|
[[tool.mypy.overrides]]
|
|
55
55
|
module = ["*._version"]
|
|
56
56
|
ignore_missing_imports = true
|
|
57
|
-
|
|
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
|