python-pooldose 0.4.1__tar.gz → 0.4.2__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_pooldose-0.4.1/src/python_pooldose.egg-info → python_pooldose-0.4.2}/PKG-INFO +10 -5
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/README.md +9 -4
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/pyproject.toml +1 -1
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/client.py +2 -1
- {python_pooldose-0.4.1 → python_pooldose-0.4.2/src/python_pooldose.egg-info}/PKG-INFO +10 -5
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/tests/test_client.py +2 -1
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/LICENSE +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/setup.cfg +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/__init__.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/mappings/__init__.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/mappings/mapping_info.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/mappings/model_PDPR1H1HAW100_FW539187.json +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/request_handler.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/request_status.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/values/__init__.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/values/instant_values.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/pooldose/values/static_values.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/python_pooldose.egg-info/SOURCES.txt +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/python_pooldose.egg-info/dependency_links.txt +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/python_pooldose.egg-info/requires.txt +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/python_pooldose.egg-info/top_level.txt +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/tests/test_instant_values.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/tests/test_mapping_info.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/tests/test_request_handler.py +0 -0
- {python_pooldose-0.4.1 → python_pooldose-0.4.2}/tests/test_static_values.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-pooldose
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Unoffical async Python client for SEKO PoolDose devices
|
|
5
5
|
Author-email: Lukas Maertin <pypi@lukas-maertin.de>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -125,7 +125,7 @@ pip install python-pooldose
|
|
|
125
125
|
import asyncio
|
|
126
126
|
import json
|
|
127
127
|
from pooldose.client import PooldoseClient
|
|
128
|
-
from pooldose.
|
|
128
|
+
from pooldose.request_status import RequestStatus
|
|
129
129
|
|
|
130
130
|
HOST = "192.168.1.100" # Change this to your device's host or IP address
|
|
131
131
|
TIMEOUT = 30
|
|
@@ -211,7 +211,8 @@ if __name__ == "__main__":
|
|
|
211
211
|
|
|
212
212
|
#### Connection Management
|
|
213
213
|
```python
|
|
214
|
-
from pooldose.client import PooldoseClient
|
|
214
|
+
from pooldose.client import PooldoseClient
|
|
215
|
+
from pooldose.request_status import RequestStatus
|
|
215
216
|
|
|
216
217
|
# Recommended: Separate initialization and connection
|
|
217
218
|
client = PooldoseClient("192.168.1.100", timeout=30)
|
|
@@ -226,7 +227,7 @@ else:
|
|
|
226
227
|
|
|
227
228
|
#### Error Handling
|
|
228
229
|
```python
|
|
229
|
-
from pooldose.client import PooldoseClient
|
|
230
|
+
from pooldose.client import PooldoseClient
|
|
230
231
|
|
|
231
232
|
client = PooldoseClient("192.168.1.100")
|
|
232
233
|
status = await client.connect()
|
|
@@ -354,7 +355,7 @@ PooldoseClient(host, timeout=10, include_sensitive_data=False)
|
|
|
354
355
|
All client methods return `RequestStatus` enum values:
|
|
355
356
|
|
|
356
357
|
```python
|
|
357
|
-
from pooldose.
|
|
358
|
+
from pooldose.request_status import RequestStatus
|
|
358
359
|
|
|
359
360
|
RequestStatus.SUCCESS # Operation successful
|
|
360
361
|
RequestStatus.CONNECTION_ERROR # Network connection failed
|
|
@@ -452,6 +453,10 @@ Data Classification:
|
|
|
452
453
|
|
|
453
454
|
## Changelog
|
|
454
455
|
|
|
456
|
+
### [0.4.2] - 2025-07-19
|
|
457
|
+
- Corrected imports of RequestStatus class
|
|
458
|
+
- Fixing broken release 0.4.1
|
|
459
|
+
|
|
455
460
|
### [0.4.1] - 2025-07-17
|
|
456
461
|
- **BREAKING**: Moved all RequestStatus into client module - import from `pooldose.client` instead of `pooldose.request_handler`
|
|
457
462
|
- Moved all connect checks into client (incl. API Version check) to avoid public access to requesthandler
|
|
@@ -107,7 +107,7 @@ pip install python-pooldose
|
|
|
107
107
|
import asyncio
|
|
108
108
|
import json
|
|
109
109
|
from pooldose.client import PooldoseClient
|
|
110
|
-
from pooldose.
|
|
110
|
+
from pooldose.request_status import RequestStatus
|
|
111
111
|
|
|
112
112
|
HOST = "192.168.1.100" # Change this to your device's host or IP address
|
|
113
113
|
TIMEOUT = 30
|
|
@@ -193,7 +193,8 @@ if __name__ == "__main__":
|
|
|
193
193
|
|
|
194
194
|
#### Connection Management
|
|
195
195
|
```python
|
|
196
|
-
from pooldose.client import PooldoseClient
|
|
196
|
+
from pooldose.client import PooldoseClient
|
|
197
|
+
from pooldose.request_status import RequestStatus
|
|
197
198
|
|
|
198
199
|
# Recommended: Separate initialization and connection
|
|
199
200
|
client = PooldoseClient("192.168.1.100", timeout=30)
|
|
@@ -208,7 +209,7 @@ else:
|
|
|
208
209
|
|
|
209
210
|
#### Error Handling
|
|
210
211
|
```python
|
|
211
|
-
from pooldose.client import PooldoseClient
|
|
212
|
+
from pooldose.client import PooldoseClient
|
|
212
213
|
|
|
213
214
|
client = PooldoseClient("192.168.1.100")
|
|
214
215
|
status = await client.connect()
|
|
@@ -336,7 +337,7 @@ PooldoseClient(host, timeout=10, include_sensitive_data=False)
|
|
|
336
337
|
All client methods return `RequestStatus` enum values:
|
|
337
338
|
|
|
338
339
|
```python
|
|
339
|
-
from pooldose.
|
|
340
|
+
from pooldose.request_status import RequestStatus
|
|
340
341
|
|
|
341
342
|
RequestStatus.SUCCESS # Operation successful
|
|
342
343
|
RequestStatus.CONNECTION_ERROR # Network connection failed
|
|
@@ -434,6 +435,10 @@ Data Classification:
|
|
|
434
435
|
|
|
435
436
|
## Changelog
|
|
436
437
|
|
|
438
|
+
### [0.4.2] - 2025-07-19
|
|
439
|
+
- Corrected imports of RequestStatus class
|
|
440
|
+
- Fixing broken release 0.4.1
|
|
441
|
+
|
|
437
442
|
### [0.4.1] - 2025-07-17
|
|
438
443
|
- **BREAKING**: Moved all RequestStatus into client module - import from `pooldose.client` instead of `pooldose.request_handler`
|
|
439
444
|
- Moved all connect checks into client (incl. API Version check) to avoid public access to requesthandler
|
|
@@ -6,7 +6,8 @@ import asyncio
|
|
|
6
6
|
import logging
|
|
7
7
|
from typing import Optional
|
|
8
8
|
from pooldose.values.instant_values import InstantValues
|
|
9
|
-
from pooldose.request_handler import RequestHandler
|
|
9
|
+
from pooldose.request_handler import RequestHandler
|
|
10
|
+
from pooldose.request_status import RequestStatus
|
|
10
11
|
from pooldose.values.static_values import StaticValues
|
|
11
12
|
from pooldose.mappings.mapping_info import (
|
|
12
13
|
MappingInfo,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-pooldose
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Unoffical async Python client for SEKO PoolDose devices
|
|
5
5
|
Author-email: Lukas Maertin <pypi@lukas-maertin.de>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -125,7 +125,7 @@ pip install python-pooldose
|
|
|
125
125
|
import asyncio
|
|
126
126
|
import json
|
|
127
127
|
from pooldose.client import PooldoseClient
|
|
128
|
-
from pooldose.
|
|
128
|
+
from pooldose.request_status import RequestStatus
|
|
129
129
|
|
|
130
130
|
HOST = "192.168.1.100" # Change this to your device's host or IP address
|
|
131
131
|
TIMEOUT = 30
|
|
@@ -211,7 +211,8 @@ if __name__ == "__main__":
|
|
|
211
211
|
|
|
212
212
|
#### Connection Management
|
|
213
213
|
```python
|
|
214
|
-
from pooldose.client import PooldoseClient
|
|
214
|
+
from pooldose.client import PooldoseClient
|
|
215
|
+
from pooldose.request_status import RequestStatus
|
|
215
216
|
|
|
216
217
|
# Recommended: Separate initialization and connection
|
|
217
218
|
client = PooldoseClient("192.168.1.100", timeout=30)
|
|
@@ -226,7 +227,7 @@ else:
|
|
|
226
227
|
|
|
227
228
|
#### Error Handling
|
|
228
229
|
```python
|
|
229
|
-
from pooldose.client import PooldoseClient
|
|
230
|
+
from pooldose.client import PooldoseClient
|
|
230
231
|
|
|
231
232
|
client = PooldoseClient("192.168.1.100")
|
|
232
233
|
status = await client.connect()
|
|
@@ -354,7 +355,7 @@ PooldoseClient(host, timeout=10, include_sensitive_data=False)
|
|
|
354
355
|
All client methods return `RequestStatus` enum values:
|
|
355
356
|
|
|
356
357
|
```python
|
|
357
|
-
from pooldose.
|
|
358
|
+
from pooldose.request_status import RequestStatus
|
|
358
359
|
|
|
359
360
|
RequestStatus.SUCCESS # Operation successful
|
|
360
361
|
RequestStatus.CONNECTION_ERROR # Network connection failed
|
|
@@ -452,6 +453,10 @@ Data Classification:
|
|
|
452
453
|
|
|
453
454
|
## Changelog
|
|
454
455
|
|
|
456
|
+
### [0.4.2] - 2025-07-19
|
|
457
|
+
- Corrected imports of RequestStatus class
|
|
458
|
+
- Fixing broken release 0.4.1
|
|
459
|
+
|
|
455
460
|
### [0.4.1] - 2025-07-17
|
|
456
461
|
- **BREAKING**: Moved all RequestStatus into client module - import from `pooldose.client` instead of `pooldose.request_handler`
|
|
457
462
|
- Moved all connect checks into client (incl. API Version check) to avoid public access to requesthandler
|
|
@@ -4,7 +4,8 @@ from unittest.mock import Mock
|
|
|
4
4
|
|
|
5
5
|
import pytest
|
|
6
6
|
|
|
7
|
-
from pooldose.client import PooldoseClient
|
|
7
|
+
from pooldose.client import PooldoseClient
|
|
8
|
+
from pooldose.request_status import RequestStatus
|
|
8
9
|
from pooldose.request_handler import RequestHandler
|
|
9
10
|
from pooldose.mappings.mapping_info import MappingInfo
|
|
10
11
|
|
|
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
|
{python_pooldose-0.4.1 → python_pooldose-0.4.2}/src/python_pooldose.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|