xaal.lib 0.7.4__tar.gz → 0.7.5__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.
Files changed (33) hide show
  1. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/PKG-INFO +1 -1
  2. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/pyproject.toml +1 -1
  3. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/messages.py +3 -3
  4. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal.lib.egg-info/PKG-INFO +1 -1
  5. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/README.rst +0 -0
  6. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/setup.cfg +0 -0
  7. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/tests/test_bindings.py +0 -0
  8. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/tests/test_cbor.py +0 -0
  9. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/tests/test_device.py +0 -0
  10. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/tests/test_engine.py +0 -0
  11. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/tests/test_message.py +0 -0
  12. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/tests/test_tools.py +0 -0
  13. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/__init__.py +0 -0
  14. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/__init__.py +0 -0
  15. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/__main__.py +0 -0
  16. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/aioengine.py +0 -0
  17. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/aiohelpers.py +0 -0
  18. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/aionetwork.py +0 -0
  19. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/bindings.py +0 -0
  20. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/cbor.py +0 -0
  21. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/config.py +0 -0
  22. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/core.py +0 -0
  23. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/devices.py +0 -0
  24. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/engine.py +0 -0
  25. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/exceptions.py +0 -0
  26. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/helpers.py +0 -0
  27. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/network.py +0 -0
  28. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/test.py +0 -0
  29. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal/lib/tools.py +0 -0
  30. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal.lib.egg-info/SOURCES.txt +0 -0
  31. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal.lib.egg-info/dependency_links.txt +0 -0
  32. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal.lib.egg-info/requires.txt +0 -0
  33. {xaal_lib-0.7.4 → xaal_lib-0.7.5}/xaal.lib.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xaal.lib
3
- Version: 0.7.4
3
+ Version: 0.7.5
4
4
  Summary: Official Python stack for xAAL protocol
5
5
  Author-email: Jerome Kerdreux <Jerome.Kerdreux@imt-atlantique.fr>
6
6
  License: GPL License
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "xaal.lib"
3
- version = "0.7.4"
3
+ version = "0.7.5"
4
4
  description = "Official Python stack for xAAL protocol"
5
5
  readme = "README.rst"
6
6
  authors = [
@@ -210,7 +210,7 @@ class MessageFactory(object):
210
210
  class MessageType(Enum):
211
211
  NOTIFY = 0
212
212
  REQUEST = 1
213
- REPLY = 2
213
+ REPLY = 2
214
214
 
215
215
 
216
216
  class MessageAction(Enum):
@@ -323,8 +323,8 @@ def build_nonce(data):
323
323
 
324
324
  def build_timestamp():
325
325
  """Return array [seconds since epoch, microseconds since last seconds] Time = UTC+0000"""
326
- epoch = datetime.datetime.utcfromtimestamp(0)
327
- timestamp = datetime.datetime.utcnow() - epoch
326
+ epoch = datetime.datetime.fromtimestamp(0, datetime.UTC)
327
+ timestamp = datetime.datetime.now(datetime.UTC) - epoch
328
328
  return _packtimestamp(timestamp.total_seconds(), timestamp.microseconds)
329
329
 
330
330
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xaal.lib
3
- Version: 0.7.4
3
+ Version: 0.7.5
4
4
  Summary: Official Python stack for xAAL protocol
5
5
  Author-email: Jerome Kerdreux <Jerome.Kerdreux@imt-atlantique.fr>
6
6
  License: GPL License
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