PyNetioConf 0.3.0b1__py3-none-any.whl

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.
@@ -0,0 +1,5 @@
1
+ # from .esp_200_device import ESP200Device
2
+ # from .esp_300_device import ESP300Device
3
+ # from .esp_400_device import ESP400Device
4
+ # from .esp_500_device import ESP500Device
5
+ # from .esp_device import ESPDevice
@@ -0,0 +1,16 @@
1
+ """
2
+ Implementation specifics for ESP devices with the firmware 2.x.x.
3
+ """
4
+ from .esp_device import ESPDevice
5
+ from .. import NetioManager
6
+
7
+
8
+ class ESP200Device(ESPDevice):
9
+ """
10
+ A class to control ESP devices with the firmware 2.x.x.
11
+ """
12
+
13
+ def __init__(self, host: str, username: str, password: str, sn_number: str, hostname: str, keep_alive: bool =
14
+ True, netio_manager: NetioManager | None = None, use_https: bool = False):
15
+ super().__init__(host, username, password, sn_number, hostname, keep_alive, netio_manager, use_https)
16
+ self.fw_version = self.get_version()
@@ -0,0 +1,16 @@
1
+ """
2
+ Implementation specifics for ESP devices with the firmware 3.x.x.
3
+ """
4
+ from .esp_200_device import ESP200Device
5
+ from .. import NetioManager
6
+
7
+
8
+ class ESP300Device(ESP200Device):
9
+ """
10
+ A class to control ESP devices with the firmware 3.x.x.
11
+ """
12
+
13
+ def __init__(self, host: str, username: str, password: str, sn_number: str, hostname: str, keep_alive: bool =
14
+ True, netio_manager: NetioManager | None = None, use_https: bool = False):
15
+ super().__init__(host, username, password, sn_number, hostname, keep_alive, netio_manager, use_https)
16
+ self.fw_version = self.get_version()
@@ -0,0 +1,16 @@
1
+ """
2
+ Implementation specifics for ESP devices with the firmware 4.0.x.
3
+ """
4
+ from .esp_300_device import ESP300Device
5
+ from .. import NetioManager
6
+
7
+
8
+ class ESP400Device(ESP300Device):
9
+ """
10
+ A class to control ESP devices with the firmware 4.0.x.
11
+ """
12
+
13
+ def __init__(self, host: str, username: str, password: str, sn_number: str, hostname: str, keep_alive: bool =
14
+ True, netio_manager: NetioManager | None = None, use_https: bool = False):
15
+ super().__init__(host, username, password, sn_number, hostname, keep_alive, netio_manager, use_https)
16
+ self.fw_version = self.get_version()