enapter 0.9.0__py3-none-any.whl → 0.9.2__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.

Potentially problematic release.


This version of enapter might be problematic. Click here for more details.

enapter/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.9.0"
1
+ __version__ = "0.9.2"
2
2
 
3
3
  from . import async_, log, mdns, mqtt, types, vucm
4
4
 
enapter/vucm/app.py CHANGED
@@ -37,6 +37,7 @@ class App(enapter.async_.Routine):
37
37
  device = await self._stack.enter_async_context(
38
38
  self._device_factory(
39
39
  channel=enapter.mqtt.api.DeviceChannel(
40
+ client=mqtt_client,
40
41
  hardware_id=self._config.hardware_id,
41
42
  channel_id=self._config.channel_id,
42
43
  )
enapter/vucm/ucm.py CHANGED
@@ -1,13 +1,15 @@
1
1
  import asyncio
2
2
 
3
+ import enapter
4
+
3
5
  from .device import Device
4
6
 
5
7
 
6
8
  class UCM(Device):
7
9
  def __init__(self, mqtt_client, hardware_id):
8
10
  super().__init__(
9
- channel=mqtt_client.device_channel(
10
- hardware_id=hardware_id, channel_id="ucm"
11
+ channel=enapter.mqtt.api.DeviceChannel(
12
+ client=mqtt_client, hardware_id=hardware_id, channel_id="ucm"
11
13
  )
12
14
  )
13
15
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: enapter
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Enapter Python SDK
5
5
  Home-page: https://github.com/Enapter/python-sdk
6
6
  Author: Roman Novatorov
7
7
  Author-email: rnovatorov@enapter.com
8
8
  Description-Content-Type: text/markdown
9
9
  Requires-Dist: aiomqtt ==1.0.*
10
- Requires-Dist: dnspython ==2.2.*
10
+ Requires-Dist: dnspython ==2.6.*
11
11
  Requires-Dist: json-log-formatter ==0.5.*
12
12
 
13
13
  # Enapter Python SDK
@@ -1,4 +1,4 @@
1
- enapter/__init__.py,sha256=6GErgPijAxZsp9p85NaLqWYVcaCEV-PP2SBHc7S_zLs,182
1
+ enapter/__init__.py,sha256=h2hySSbGrLvW5vO6yVmf7t8DPWVpflma66GhlNmUPdw,182
2
2
  enapter/types.py,sha256=2366bx_VI7bIBNnIaG5sol7G4k0PqaQ6oS74dzM4l1M,52
3
3
  enapter/async_/__init__.py,sha256=JuiRI2bN2AgB-HLfAUoSsZpEziwFRftNNEp59Evnd0M,109
4
4
  enapter/async_/generator.py,sha256=qBhnt36Gl2166sJFnZHsREbZu8l43M4DfxybUMIv6W4,300
@@ -15,11 +15,11 @@ enapter/mqtt/api/command.py,sha256=ozhDTjRrdCWv_bzPTjVFpL8tx7nhirm3JtQaD45wTdo,1
15
15
  enapter/mqtt/api/device_channel.py,sha256=fma_R59kxMoH6S4DwDBcSqgTsr8KNJkEov-c3poNsD0,2371
16
16
  enapter/mqtt/api/log_severity.py,sha256=ZmHXMc8d1e2ZnsXDWwl3S3noAEJjILYab_qjqk374Qw,126
17
17
  enapter/vucm/__init__.py,sha256=OhUYlVNO1RereHiZEyeJPdpEcy2QEqDBg4xBk_-A7-c,177
18
- enapter/vucm/app.py,sha256=3RPoRnE-FHwrg-Z624aDnTpT8Nisx0HMjVoZU0x3M-M,1344
18
+ enapter/vucm/app.py,sha256=NLA4z32rykoxa9I3YDYh0TbT-25fx0gBpR6oKgaJzSs,1384
19
19
  enapter/vucm/config.py,sha256=fYvHk7vDWYf0w5OGQX7f_-Y4RmrrK2U1WY3DiOBEKcg,1660
20
20
  enapter/vucm/device.py,sha256=nRV83ZYmaWwwma8mPTlxym57LYB5vZYUr4yB0tb6YzQ,3620
21
21
  enapter/vucm/logger.py,sha256=a_ZtuIinATbEtiP5avV8JGAKFKG0-RZhF6SozaF-_PU,1445
22
- enapter/vucm/ucm.py,sha256=tcHy-Lkv5XhwwcgOiG6hsNNT1CzEKISNqWOJiZxjeIk,824
22
+ enapter/vucm/ucm.py,sha256=zRU4hCuF04LgV65zxJqiy5EYHU_gHRmLyZFmmD26Uhw,864
23
23
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  tests/conftest.py,sha256=qEZwCEK8F6hJZ5sSHK6hUmUYKaWfY77UuNOHntfNS3c,397
25
25
  tests/fake_data_generator.py,sha256=lpVgazRRXAP07SeiTeY3Fe1LzDdM44lS50QTlwBdMYg,587
@@ -32,7 +32,7 @@ tests/unit/test_log.py,sha256=DQD1OCVkYYzy-Kq-jH_xsaRDtiwIqULuTgMitjSeiuo,1876
32
32
  tests/unit/test_vucm.py,sha256=h3sY9GXxNizHyjx0lxM5yErHUI4VzzJj_O1MbIu6OGM,685
33
33
  tests/unit/test_mqtt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  tests/unit/test_mqtt/test_api.py,sha256=ObKCHB-KDOYQLFrdzjTmLfjdWXXX0oanGKpX49P0qMI,2670
35
- enapter-0.9.0.dist-info/METADATA,sha256=eVnEv3s1I7Q6n6FTob_YoIxYaqvbxESydD7ulUlut7w,3153
36
- enapter-0.9.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
37
- enapter-0.9.0.dist-info/top_level.txt,sha256=DsMzVradd7z3A0fm7zmn9oh08ijO41RtzglrnPlx54w,14
38
- enapter-0.9.0.dist-info/RECORD,,
35
+ enapter-0.9.2.dist-info/METADATA,sha256=h4HfaVY9ko8wFfK-R-ICaq98OHErV0X63bH46XZqjMU,3153
36
+ enapter-0.9.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
37
+ enapter-0.9.2.dist-info/top_level.txt,sha256=DsMzVradd7z3A0fm7zmn9oh08ijO41RtzglrnPlx54w,14
38
+ enapter-0.9.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5