io4edge-client 2.6.3.dev0__tar.gz → 2.6.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 (301) hide show
  1. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.gitignore +2 -0
  2. io4edge_client-2.6.5/.vscode/settings.json +9 -0
  3. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/PKG-INFO +1 -1
  4. io4edge_client-2.6.5/io4edge_client/__init__.py +99 -0
  5. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/_version.py +1 -1
  6. io4edge_client-2.6.5/io4edge_client/api/.devcontainer/devcontainer.json +31 -0
  7. io4edge_client-2.6.5/io4edge_client/api/.github/workflows/generate.yaml +40 -0
  8. io4edge_client-2.6.5/io4edge_client/api/.gitignore +4 -0
  9. io4edge_client-2.6.5/io4edge_client/api/.pre-commit-config.yaml +34 -0
  10. io4edge_client-2.6.5/io4edge_client/api/LICENSE +21 -0
  11. io4edge_client-2.6.5/io4edge_client/api/Makefile +9 -0
  12. io4edge_client-2.6.5/io4edge_client/api/README.md +18 -0
  13. io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/Makefile +3 -0
  14. io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/go/analogInTypeA/v1alpha1/analogInTypeA.pb.go +660 -0
  15. io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/proto/analogInTypeA/v1alpha1/analogInTypeA.proto +98 -0
  16. io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/protobuf-c/analogInTypeA/v1alpha1/analogInTypeA.pb-c.c +941 -0
  17. io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/protobuf-c/analogInTypeA/v1alpha1/analogInTypeA.pb-c.h +521 -0
  18. io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/Makefile +3 -0
  19. io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/go/analogInTypeB/v1/analogInTypeB.pb.go +828 -0
  20. io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/proto/analogInTypeB/v1/analogInTypeB.proto +120 -0
  21. io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/protobuf-c/analogInTypeB/v1/analogInTypeB.pb-c.c +1212 -0
  22. io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/protobuf-c/analogInTypeB/v1/analogInTypeB.pb-c.h +613 -0
  23. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/Makefile +3 -0
  24. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/go/binaryIoTypeA/v1alpha1/binaryIoTypeA.pb.go +1402 -0
  25. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/proto/binaryIoTypeA/v1alpha1/binaryIoTypeA.proto +181 -0
  26. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/protobuf-c/binaryIoTypeA/v1alpha1/binaryIoTypeA.pb-c.c +1897 -0
  27. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/protobuf-c/binaryIoTypeA/v1alpha1/binaryIoTypeA.pb-c.h +950 -0
  28. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/Makefile +3 -0
  29. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/go/binaryIoTypeB/v1alpha1/binaryIoTypeB.pb.go +1612 -0
  30. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/proto/binaryIoTypeB/v1alpha1/binaryIoTypeB.proto +190 -0
  31. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/protobuf-c/binaryIoTypeB/v1alpha1/binaryIoTypeB.pb-c.c +2077 -0
  32. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/protobuf-c/binaryIoTypeB/v1alpha1/binaryIoTypeB.pb-c.h +1034 -0
  33. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/Makefile +3 -0
  34. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/go/binaryIoTypeC/v1alpha1/binaryIoTypeC.pb.go +1683 -0
  35. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/proto/binaryIoTypeC/v1alpha1/binaryIoTypeC.proto +228 -0
  36. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/protobuf-c/binaryIoTypeC/v1alpha1/binaryIoTypeC.pb-c.c +2123 -0
  37. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/protobuf-c/binaryIoTypeC/v1alpha1/binaryIoTypeC.pb-c.h +1071 -0
  38. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/Makefile +3 -0
  39. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/go/binaryIoTypeD/v1/binaryIoTypeD.pb.go +1174 -0
  40. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/proto/binaryIoTypeD/v1/binaryIoTypeD.proto +161 -0
  41. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/protobuf-c/binaryIoTypeD/v1/binaryIoTypeD.pb-c.c +1515 -0
  42. io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/protobuf-c/binaryIoTypeD/v1/binaryIoTypeD.pb-c.h +778 -0
  43. io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/Makefile +3 -0
  44. io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/go/bitbusSniffer/v1/bitbusSniffer.pb.go +810 -0
  45. io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/proto/bitbusSniffer/v1/bitbusSniffer.proto +128 -0
  46. io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/protobuf-c/bitbusSniffer/v1/bitbusSniffer.pb-c.c +1088 -0
  47. io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/protobuf-c/bitbusSniffer/v1/bitbusSniffer.pb-c.h +614 -0
  48. io4edge_client-2.6.5/io4edge_client/api/canL2/Makefile +3 -0
  49. io4edge_client-2.6.5/io4edge_client/api/canL2/go/canL2/v1alpha1/canL2.pb.go +1099 -0
  50. io4edge_client-2.6.5/io4edge_client/api/canL2/proto/canL2/v1alpha1/canL2.proto +154 -0
  51. io4edge_client-2.6.5/io4edge_client/api/canL2/protobuf-c/canL2/v1alpha1/canL2.pb-c.c +1406 -0
  52. io4edge_client-2.6.5/io4edge_client/api/canL2/protobuf-c/canL2/v1alpha1/canL2.pb-c.h +690 -0
  53. io4edge_client-2.6.5/io4edge_client/api/colorLED/Makefile +3 -0
  54. io4edge_client-2.6.5/io4edge_client/api/colorLED/go/colorLED/v1alpha1/colorLED.pb.go +1000 -0
  55. io4edge_client-2.6.5/io4edge_client/api/colorLED/proto/colorLED/v1alpha1/colorLED.proto +129 -0
  56. io4edge_client-2.6.5/io4edge_client/api/colorLED/protobuf-c/colorLED/v1alpha1/colorLED.pb-c.c +1266 -0
  57. io4edge_client-2.6.5/io4edge_client/api/colorLED/protobuf-c/colorLED/v1alpha1/colorLED.pb-c.h +640 -0
  58. io4edge_client-2.6.5/io4edge_client/api/digiwave/Makefile +3 -0
  59. io4edge_client-2.6.5/io4edge_client/api/digiwave/go/digiwave/v1/digiwave.pb.go +664 -0
  60. io4edge_client-2.6.5/io4edge_client/api/digiwave/proto/digiwave/v1/digiwave.proto +102 -0
  61. io4edge_client-2.6.5/io4edge_client/api/digiwave/protobuf-c/digiwave/v1/digiwave.pb-c.c +934 -0
  62. io4edge_client-2.6.5/io4edge_client/api/digiwave/protobuf-c/digiwave/v1/digiwave.pb-c.h +532 -0
  63. io4edge_client-2.6.5/io4edge_client/api/eeprom/Makefile +3 -0
  64. io4edge_client-2.6.5/io4edge_client/api/eeprom/go/eeprom/v1alpha1/eeprom.pb.go +1473 -0
  65. io4edge_client-2.6.5/io4edge_client/api/eeprom/proto/eeprom/v1alpha1/eeprom.proto +198 -0
  66. io4edge_client-2.6.5/io4edge_client/api/eeprom/protobuf-c/eeprom/v1alpha1/eeprom.pb-c.c +1903 -0
  67. io4edge_client-2.6.5/io4edge_client/api/eeprom/protobuf-c/eeprom/v1alpha1/eeprom.pb-c.h +915 -0
  68. io4edge_client-2.6.5/io4edge_client/api/go.mod +5 -0
  69. io4edge_client-2.6.5/io4edge_client/api/go.sum +8 -0
  70. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/Makefile +5 -0
  71. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/go/google.golang.org/protobuf/types/known/anypb/any.pb.go +393 -0
  72. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/go/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go +326 -0
  73. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/proto/google/protobuf/any.proto +158 -0
  74. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/proto/google/protobuf/timestamp.proto +147 -0
  75. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/any.pb-c.c +105 -0
  76. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/any.pb-c.h +167 -0
  77. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/timestamp.pb-c.c +105 -0
  78. io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/timestamp.pb-c.h +151 -0
  79. io4edge_client-2.6.5/io4edge_client/api/install_tools_ubuntu.sh +49 -0
  80. io4edge_client-2.6.5/io4edge_client/api/io4edge/Makefile +9 -0
  81. io4edge_client-2.6.5/io4edge_client/api/io4edge/core_api.mk +3 -0
  82. io4edge_client-2.6.5/io4edge_client/api/io4edge/functionblock.mk +3 -0
  83. io4edge_client-2.6.5/io4edge_client/api/io4edge/go/core_api/v1alpha2/io4edge_core_api.pb.go +1180 -0
  84. io4edge_client-2.6.5/io4edge_client/api/io4edge/go/functionblock/v1alpha1/io4edge_functionblock.pb.go +1322 -0
  85. io4edge_client-2.6.5/io4edge_client/api/io4edge/go/inventory/v1alpha1/io4edge_inventory.pb.go +155 -0
  86. io4edge_client-2.6.5/io4edge_client/api/io4edge/inventory.mk +3 -0
  87. io4edge_client-2.6.5/io4edge_client/api/io4edge/proto/core_api/v1alpha2/io4edge_core_api.proto +129 -0
  88. io4edge_client-2.6.5/io4edge_client/api/io4edge/proto/functionblock/v1alpha1/io4edge_functionblock.proto +153 -0
  89. io4edge_client-2.6.5/io4edge_client/api/io4edge/proto/inventory/v1alpha1/io4edge_inventory.proto +25 -0
  90. io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/core_api/v1alpha2/io4edge_core_api.pb-c.c +1403 -0
  91. io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/core_api/v1alpha2/io4edge_core_api.pb-c.h +539 -0
  92. io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/functionblock/v1alpha1/io4edge_functionblock.pb-c.c +1385 -0
  93. io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/functionblock/v1alpha1/io4edge_functionblock.pb-c.h +664 -0
  94. io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/inventory/v1alpha1/io4edge_inventory.pb-c.c +118 -0
  95. io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/inventory/v1alpha1/io4edge_inventory.pb-c.h +73 -0
  96. io4edge_client-2.6.5/io4edge_client/api/motionSensor/Makefile +3 -0
  97. io4edge_client-2.6.5/io4edge_client/api/motionSensor/go/motionSensor/v1/motionSensor.pb.go +732 -0
  98. io4edge_client-2.6.5/io4edge_client/api/motionSensor/proto/motionSensor/v1/motionSensor.proto +114 -0
  99. io4edge_client-2.6.5/io4edge_client/api/motionSensor/protobuf-c/motionSensor/v1/motionSensor.pb-c.c +1025 -0
  100. io4edge_client-2.6.5/io4edge_client/api/motionSensor/protobuf-c/motionSensor/v1/motionSensor.pb-c.h +553 -0
  101. io4edge_client-2.6.5/io4edge_client/api/mvbDebug/Makefile +3 -0
  102. io4edge_client-2.6.5/io4edge_client/api/mvbDebug/go/mvbDebug/v1/mvbDebug.pb.go +637 -0
  103. io4edge_client-2.6.5/io4edge_client/api/mvbDebug/proto/mvbDebug/v1/mvbDebug.proto +92 -0
  104. io4edge_client-2.6.5/io4edge_client/api/mvbDebug/protobuf-c/mvbDebug/v1/mvbDebug.pb-c.c +908 -0
  105. io4edge_client-2.6.5/io4edge_client/api/mvbDebug/protobuf-c/mvbDebug/v1/mvbDebug.pb-c.h +513 -0
  106. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/Makefile +3 -0
  107. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/go/mvbSniffer/v1/mvbSniffer.pb.go +628 -0
  108. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/go/mvbSniffer/v1/telegram.pb.go +464 -0
  109. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/proto/mvbSniffer/v1/mvbSniffer.proto +104 -0
  110. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/proto/mvbSniffer/v1/telegram.proto +76 -0
  111. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/mvbSniffer.pb-c.c +864 -0
  112. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/mvbSniffer.pb-c.h +496 -0
  113. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/telegram.pb-c.c +369 -0
  114. io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/telegram.pb-c.h +189 -0
  115. io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/Makefile +3 -0
  116. io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/go/pixelDisplay/v1alpha1/pixelDisplay.pb.go +1012 -0
  117. io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/proto/pixelDisplay/v1alpha1/pixelDisplay.proto +125 -0
  118. io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/protobuf-c/pixelDisplay/v1alpha1/pixelDisplay.pb-c.c +1317 -0
  119. io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/protobuf-c/pixelDisplay/v1alpha1/pixelDisplay.pb-c.h +692 -0
  120. io4edge_client-2.6.5/io4edge_client/api/programmablePsu/Makefile +3 -0
  121. io4edge_client-2.6.5/io4edge_client/api/programmablePsu/go/programmablePsu/v1/programmablePsu.pb.go +1388 -0
  122. io4edge_client-2.6.5/io4edge_client/api/programmablePsu/proto/programmablePsu/v1/programmablePsu.proto +178 -0
  123. io4edge_client-2.6.5/io4edge_client/api/programmablePsu/protobuf-c/programmablePsu/v1/programmablePsu.pb-c.c +1777 -0
  124. io4edge_client-2.6.5/io4edge_client/api/programmablePsu/protobuf-c/programmablePsu/v1/programmablePsu.pb-c.h +828 -0
  125. io4edge_client-2.6.5/io4edge_client/api/rules.mk +44 -0
  126. io4edge_client-2.6.5/io4edge_client/api/ssm/Makefile +4 -0
  127. io4edge_client-2.6.5/io4edge_client/api/ssm/go/ssm/v1/ssm.pb.go +1963 -0
  128. io4edge_client-2.6.5/io4edge_client/api/ssm/proto/ssm/v1/ssm.proto +224 -0
  129. io4edge_client-2.6.5/io4edge_client/api/ssm/protobuf-c/ssm/v1/ssm.pb-c.c +2281 -0
  130. io4edge_client-2.6.5/io4edge_client/api/ssm/protobuf-c/ssm/v1/ssm.pb-c.h +1044 -0
  131. io4edge_client-2.6.5/io4edge_client/api/templateInterface/Makefile +3 -0
  132. io4edge_client-2.6.5/io4edge_client/api/templateInterface/go/templateInterface/v1alpha1/templateInterface.pb.go +805 -0
  133. io4edge_client-2.6.5/io4edge_client/api/templateInterface/proto/templateInterface/v1alpha1/templateInterface.proto +115 -0
  134. io4edge_client-2.6.5/io4edge_client/api/templateInterface/protobuf-c/templateInterface/v1alpha1/templateInterface.pb-c.c +1110 -0
  135. io4edge_client-2.6.5/io4edge_client/api/templateInterface/protobuf-c/templateInterface/v1alpha1/templateInterface.pb-c.h +590 -0
  136. io4edge_client-2.6.5/io4edge_client/api/tracelet/Makefile +3 -0
  137. io4edge_client-2.6.5/io4edge_client/api/tracelet/go/tracelet/tracelet.pb.go +1632 -0
  138. io4edge_client-2.6.5/io4edge_client/api/tracelet/proto/v1/speedfeed.proto +33 -0
  139. io4edge_client-2.6.5/io4edge_client/api/tracelet/proto/v1/tracelet.proto +332 -0
  140. io4edge_client-2.6.5/io4edge_client/api/tracelet/protobuf-c/v1/tracelet.pb-c.c +1978 -0
  141. io4edge_client-2.6.5/io4edge_client/api/tracelet/protobuf-c/v1/tracelet.pb-c.h +711 -0
  142. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/client.py +16 -11
  143. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/connections.py +15 -8
  144. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/socket_transport.py +11 -6
  145. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/functionblock/client.py +33 -16
  146. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/PKG-INFO +1 -1
  147. io4edge_client-2.6.5/io4edge_client.egg-info/SOURCES.txt +296 -0
  148. io4edge_client-2.6.5/io4edge_client.egg-info/scm_file_list.json +292 -0
  149. io4edge_client-2.6.5/io4edge_client.egg-info/scm_version.json +8 -0
  150. io4edge_client-2.6.3.dev0/.vscode/settings.json +0 -3
  151. io4edge_client-2.6.3.dev0/io4edge_client/__init__.py +0 -51
  152. io4edge_client-2.6.3.dev0/io4edge_client.egg-info/SOURCES.txt +0 -158
  153. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.devcontainer/devcontainer.json +0 -0
  154. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.github/copilot-instructions.md +0 -0
  155. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.github/workflows/pypi.yaml +0 -0
  156. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.gitmodules +0 -0
  157. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.gitpod.yml +0 -0
  158. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.pre-commit-config.yaml +0 -0
  159. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/LICENSE +0 -0
  160. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/README.md +0 -0
  161. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypea/README.md +0 -0
  162. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypea/main.py +0 -0
  163. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/README.md +0 -0
  164. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/describe.py +0 -0
  165. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/iou09_calibrate.py +0 -0
  166. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/poll.py +0 -0
  167. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/stream.py +0 -0
  168. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypea/README.md +0 -0
  169. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypea/main.py +0 -0
  170. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypeb/outputs/README.md +0 -0
  171. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypeb/outputs/main.py +0 -0
  172. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypeb/stream/main.py +0 -0
  173. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypec/README.md +0 -0
  174. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypec/main.py +0 -0
  175. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/config.py +0 -0
  176. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/get_channels.py +0 -0
  177. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/get_configuration.py +0 -0
  178. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/set_output.py +0 -0
  179. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/sq1_blinky.py +0 -0
  180. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/bitbussniffer/dumpstream.py +0 -0
  181. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/README.md +0 -0
  182. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/config.py +0 -0
  183. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/dumpstream.py +0 -0
  184. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/send.py +0 -0
  185. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/get_parameter.py +0 -0
  186. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/identify_firmware.py +0 -0
  187. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/identify_hardware.py +0 -0
  188. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/load_firmware.py +0 -0
  189. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/reset_reason.py +0 -0
  190. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/restart.py +0 -0
  191. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/set_parameter.py +0 -0
  192. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/digiwave/dumpwave.py +0 -0
  193. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/digiwave/sendwave.py +0 -0
  194. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/docker/Dockerfile +0 -0
  195. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/mvbsniffer/README.md +0 -0
  196. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/mvbsniffer/dumpstream.py +0 -0
  197. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/README.md +0 -0
  198. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/display/main.py +0 -0
  199. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/display_partial_image/main.py +0 -0
  200. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/partial_test1.jpg +0 -0
  201. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/partial_test2.jpg +0 -0
  202. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/sq3/main.py +0 -0
  203. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/sq3_stream/main.py +0 -0
  204. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/test.jpg +0 -0
  205. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypea/__init__.py +0 -0
  206. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypea/client.py +0 -0
  207. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypeb/__init__.py +0 -0
  208. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypeb/client.py +0 -0
  209. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeA/python/analogInTypeA/v1alpha1/analogInTypeA_pb2.py +0 -0
  210. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeA/python/analogInTypeA/v1alpha1/analogInTypeA_pb2.pyi +0 -0
  211. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeB/python/analogInTypeB/v1/analogInTypeB_pb2.py +0 -0
  212. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeB/python/analogInTypeB/v1/analogInTypeB_pb2.pyi +0 -0
  213. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeA/python/binaryIoTypeA/v1alpha1/binaryIoTypeA_pb2.py +0 -0
  214. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeA/python/binaryIoTypeA/v1alpha1/binaryIoTypeA_pb2.pyi +0 -0
  215. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeB/python/binaryIoTypeB/v1alpha1/binaryIoTypeB_pb2.py +0 -0
  216. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeB/python/binaryIoTypeB/v1alpha1/binaryIoTypeB_pb2.pyi +0 -0
  217. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeC/python/binaryIoTypeC/v1alpha1/binaryIoTypeC_pb2.py +0 -0
  218. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeC/python/binaryIoTypeC/v1alpha1/binaryIoTypeC_pb2.pyi +0 -0
  219. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeD/python/binaryIoTypeD/v1/binaryIoTypeD_pb2.py +0 -0
  220. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeD/python/binaryIoTypeD/v1/binaryIoTypeD_pb2.pyi +0 -0
  221. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/bitbusSniffer/python/bitbusSniffer/v1/bitbusSniffer_pb2.py +0 -0
  222. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/bitbusSniffer/python/bitbusSniffer/v1/bitbusSniffer_pb2.pyi +0 -0
  223. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/canL2/python/canL2/v1alpha1/canL2_pb2.py +0 -0
  224. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/canL2/python/canL2/v1alpha1/canL2_pb2.pyi +0 -0
  225. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/colorLED/python/colorLED/v1alpha1/colorLED_pb2.py +0 -0
  226. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/colorLED/python/colorLED/v1alpha1/colorLED_pb2.pyi +0 -0
  227. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/digiwave/python/digiwave/v1/digiwave_pb2.py +0 -0
  228. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/digiwave/python/digiwave/v1/digiwave_pb2.pyi +0 -0
  229. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/eeprom/python/eeprom/v1alpha1/eeprom_pb2.py +0 -0
  230. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/eeprom/python/eeprom/v1alpha1/eeprom_pb2.pyi +0 -0
  231. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/any_pb2.py +0 -0
  232. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/any_pb2.pyi +0 -0
  233. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/timestamp_pb2.py +0 -0
  234. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/timestamp_pb2.pyi +0 -0
  235. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/core_api/v1alpha2/io4edge_core_api_pb2.py +0 -0
  236. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/core_api/v1alpha2/io4edge_core_api_pb2.pyi +0 -0
  237. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/functionblock/v1alpha1/io4edge_functionblock_pb2.py +0 -0
  238. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/functionblock/v1alpha1/io4edge_functionblock_pb2.pyi +0 -0
  239. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/inventory/v1alpha1/io4edge_inventory_pb2.py +0 -0
  240. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/inventory/v1alpha1/io4edge_inventory_pb2.pyi +0 -0
  241. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/motionSensor/python/motionSensor/v1/motionSensor_pb2.py +0 -0
  242. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/motionSensor/python/motionSensor/v1/motionSensor_pb2.pyi +0 -0
  243. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbDebug/python/mvbDebug/v1/mvbDebug_pb2.py +0 -0
  244. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbDebug/python/mvbDebug/v1/mvbDebug_pb2.pyi +0 -0
  245. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/mvbSniffer_pb2.py +0 -0
  246. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/mvbSniffer_pb2.pyi +0 -0
  247. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/telegram_pb2.py +0 -0
  248. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/telegram_pb2.pyi +0 -0
  249. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/pixelDisplay/python/pixelDisplay/v1alpha1/pixelDisplay_pb2.py +0 -0
  250. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/pixelDisplay/python/pixelDisplay/v1alpha1/pixelDisplay_pb2.pyi +0 -0
  251. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/programmablePsu/python/programmablePsu/v1/programmablePsu_pb2.py +0 -0
  252. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/programmablePsu/python/programmablePsu/v1/programmablePsu_pb2.pyi +0 -0
  253. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/ssm/python/ssm/v1/ssm_pb2.py +0 -0
  254. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/ssm/python/ssm/v1/ssm_pb2.pyi +0 -0
  255. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/templateInterface/python/templateInterface/v1alpha1/templateInterface_pb2.py +0 -0
  256. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/templateInterface/python/templateInterface/v1alpha1/templateInterface_pb2.pyi +0 -0
  257. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/tracelet/python/v1/tracelet_pb2.py +0 -0
  258. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/tracelet/python/v1/tracelet_pb2.pyi +0 -0
  259. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/__init__.py +0 -0
  260. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/logging.py +0 -0
  261. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypea/__init__.py +0 -0
  262. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypea/client.py +0 -0
  263. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypeb/__init__.py +0 -0
  264. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypeb/client.py +0 -0
  265. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypec/__init__.py +0 -0
  266. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypec/client.py +0 -0
  267. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotyped/__init__.py +0 -0
  268. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotyped/client.py +0 -0
  269. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/bitbussniffer/__init__.py +0 -0
  270. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/bitbussniffer/client.py +0 -0
  271. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/canl2/__init__.py +0 -0
  272. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/canl2/client.py +0 -0
  273. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/colorLED/__init__.py +0 -0
  274. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/colorLED/client.py +0 -0
  275. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/__init__.py +0 -0
  276. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/coreclient.py +0 -0
  277. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/protobufcom/__init__.py +0 -0
  278. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/protobufcom/pbcoreclient.py +0 -0
  279. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/types/__init__.py +0 -0
  280. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/digiwave/__init__.py +0 -0
  281. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/digiwave/client.py +0 -0
  282. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/eeprom/__init__.py +0 -0
  283. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/eeprom/eeprom.py +0 -0
  284. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/functionblock/__init__.py +0 -0
  285. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/mvbsniffer/__init__.py +0 -0
  286. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/mvbsniffer/client.py +0 -0
  287. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/pixelDisplay/__init__.py +0 -0
  288. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/pixelDisplay/client.py +0 -0
  289. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/py.typed +0 -0
  290. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/ssm/__init__.py +0 -0
  291. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/ssm/client.py +0 -0
  292. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/util/__init__.py +0 -0
  293. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/util/any.py +0 -0
  294. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/util/exceptions.py +0 -0
  295. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/dependency_links.txt +0 -0
  296. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/requires.txt +0 -0
  297. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/top_level.txt +0 -0
  298. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/pyproject.toml +0 -0
  299. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/requirements.txt +0 -0
  300. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/setup.cfg +0 -0
  301. {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/tests/test_base.py +0 -0
@@ -131,3 +131,5 @@ dmypy.json
131
131
  *.vcd
132
132
 
133
133
  *.bin
134
+
135
+ io4edge_client/_version.py
@@ -0,0 +1,9 @@
1
+ {
2
+ "python-envs.pythonProjects": [
3
+ {
4
+ "path": ".",
5
+ "envManager": "ms-python.python:venv",
6
+ "packageManager": "ms-python.python:pip"
7
+ }
8
+ ]
9
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: io4edge_client
3
- Version: 2.6.3.dev0
3
+ Version: 2.6.5
4
4
  Summary: Python client for io4edge devices
5
5
  Author-email: Ci4Rail GmbH <engineering@ci4rail.com>, EKF GmbH <info@ekf.com>
6
6
  License-Expression: Apache-2.0
@@ -0,0 +1,99 @@
1
+ # SPDX-License-Identifier: Apache-2.0
2
+
3
+ from pathlib import Path
4
+ import re
5
+ import subprocess
6
+
7
+ # Import all client classes with descriptive names
8
+ from .analogintypea import Client as AnalogInTypeAClient
9
+ from .analogintypeb import Client as AnalogInTypeBClient
10
+ from .binaryiotypea import Client as BinaryIoTypeAClient
11
+ from .binaryiotypeb import Client as BinaryIoTypeBClient
12
+ from .binaryiotypec import Client as BinaryIoTypeCClient
13
+ from .binaryiotyped import Client as BinaryIoTypeDClient
14
+ from .bitbussniffer import Client as BitbusSnifferClient
15
+ from .canl2 import Client as CanL2Client
16
+ from .colorLED import Client as ColorLEDClient
17
+ from .digiwave import Client as DigiwaveClient
18
+ from .eeprom import Client as EepromClient
19
+ from .mvbsniffer import Client as MvbSnifferClient
20
+ from .pixelDisplay import Client as PixelDisplayClient
21
+ from .ssm import Client as SsmClient
22
+ # from .watchdog import Client as WatchdogClient
23
+
24
+ # Import core clients
25
+ from .core import CoreClient
26
+ from .functionblock import Client as FunctionblockClient
27
+
28
+ # This create _version.py file if it doesn't exist,
29
+ # using git describe to generate version information
30
+ # Use when running from source, but will be ignored when installed via pip (since _version.py is in .gitignore)
31
+ def _version_tuple_from_git() -> tuple:
32
+ package_dir = Path(__file__).resolve().parent
33
+ repo_dir = package_dir.parent
34
+
35
+ try:
36
+ describe = subprocess.run(
37
+ ["git", "describe", "--tags", "--long", "--dirty", "--always"],
38
+ cwd=repo_dir,
39
+ check=True,
40
+ capture_output=True,
41
+ text=True,
42
+ ).stdout.strip()
43
+ except (OSError, subprocess.CalledProcessError):
44
+ return (0, 0, 0, "dev0")
45
+
46
+ match = re.match(r"^v?(\d+)\.(\d+)\.(\d+)-(\d+)-g[0-9a-f]+(?:-dirty)?$", describe)
47
+ if not match:
48
+ return (0, 0, 0, "dev0")
49
+
50
+ major, minor, patch, distance = (int(part) for part in match.groups())
51
+ if distance == 0 and not describe.endswith("-dirty"):
52
+ return (major, minor, patch)
53
+
54
+ return (major, minor, patch + 1, f"dev{distance}")
55
+
56
+
57
+ def _ensure_version_file() -> None:
58
+ version_path = Path(__file__).resolve().with_name("_version.py")
59
+ if version_path.exists():
60
+ return
61
+
62
+ generated_version = _version_tuple_from_git()
63
+ version_path.write_text(
64
+ "# SPDX-License-Identifier: Apache-2.0\n"
65
+ f"version = {generated_version!r}\n"
66
+ 'VERSION = ".".join(str(x) for x in version)\n',
67
+ encoding="utf-8",
68
+ )
69
+
70
+
71
+ # Version information
72
+ _ensure_version_file()
73
+ from ._version import version, VERSION
74
+
75
+ __all__ = [
76
+ # Device-specific clients
77
+ "AnalogInTypeAClient",
78
+ "AnalogInTypeBClient",
79
+ "BinaryIoTypeAClient",
80
+ "BinaryIoTypeBClient",
81
+ "BinaryIoTypeCClient",
82
+ "BinaryIoTypeDClient",
83
+ "BitbusSnifferClient",
84
+ "CanL2Client",
85
+ "ColorLEDClient",
86
+ "DigiwaveClient",
87
+ "EepromClient",
88
+ "MvbSnifferClient",
89
+ "PixelDisplayClient",
90
+ "SsmClient",
91
+
92
+ # Core clients
93
+ "CoreClient",
94
+ "FunctionblockClient",
95
+
96
+ # Version
97
+ "version",
98
+ "VERSION"
99
+ ]
@@ -1,3 +1,3 @@
1
1
  # SPDX-License-Identifier: Apache-2.0
2
- version = (2, 6, 3, 'dev0')
2
+ version = (2, 6, 5)
3
3
  VERSION = ".".join(str(x) for x in version)
@@ -0,0 +1,31 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/universal
3
+ {
4
+ "name": "Protobuf Dev Container",
5
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
+ // based on Ubuntu 24.04.3
7
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
8
+ "features": {
9
+ "ghcr.io/devcontainers/features/python:1": {},
10
+ "ghcr.io/devcontainers/features/go:1": {
11
+ "version": "1.25.1"
12
+ }
13
+ },
14
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
15
+ // "forwardPorts": [],
16
+
17
+ // Use 'postCreateCommand' to run commands after the container is created.
18
+ "postCreateCommand": "./install_tools_ubuntu.sh",
19
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
20
+ // "remoteUser": "root"
21
+ "customizations": {
22
+ "vscode": {
23
+ "extensions": [
24
+ "zxh404.vscode-proto3",
25
+ "twxs.cmake",
26
+ "github.copilot",
27
+ "golang.go"
28
+ ]
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,40 @@
1
+ name: generate code
2
+ on:
3
+ push:
4
+ branches: [ main, ci ]
5
+
6
+ permissions:
7
+ contents: write # allow pushing back to the repo
8
+
9
+ jobs:
10
+ generate:
11
+ env:
12
+ GO_VERSION: '1.25.1'
13
+ runs-on: ubuntu-24.04
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
+
20
+ - uses: actions/setup-go@v5
21
+ with:
22
+ go-version: ${{ env.GO_VERSION }}
23
+
24
+ - name: install tools
25
+ run: ./install_tools_ubuntu.sh
26
+
27
+ - name: generate code
28
+ run: make clean && make build
29
+
30
+ - name: push generated code
31
+ run: |
32
+ if [[ -n "$(git status --porcelain)" ]]; then
33
+ git config --local user.email "actions@github.com"
34
+ git config --local user.name "GitHub Actions"
35
+ git add --all
36
+ git commit -m 'ci: Generate code from protobuf files'
37
+ git push
38
+ else
39
+ echo "No changes to commit"
40
+ fi
@@ -0,0 +1,4 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
@@ -0,0 +1,34 @@
1
+ # See https://pre-commit.com for more information
2
+ # See https://pre-commit.com/hooks.html for more hooks
3
+
4
+ repos:
5
+ - repo: https://github.com/pre-commit/pre-commit-hooks
6
+ rev: v3.4.0
7
+ hooks:
8
+ - id: trailing-whitespace
9
+ # note: whitespace exclusions use multiline regex, see https://pre-commit.com/#regular-expressions
10
+ # items are:
11
+ # 1 - some file extensions
12
+ # 2 - any file matching *test*/*expected* (for host tests, if possible use this naming pattern always)
13
+ # 3 - any directory named 'testdata'
14
+ # 4 - IDF monitor test data
15
+ exclude: &whitespace_excludes |
16
+ (?x)^(
17
+ .+\.(md|rst|map|bin|py)|
18
+ .+test.*\/.*expected.*|
19
+ .+\/testdata\/.+|
20
+ .+test_idf_monitor\/tests\/.+
21
+ )$
22
+ - id: end-of-file-fixer
23
+ exclude: *whitespace_excludes
24
+ - id: check-executables-have-shebangs
25
+ - id: mixed-line-ending
26
+ args: ["-f=lf"]
27
+ - id: double-quote-string-fixer
28
+ exclude: *whitespace_excludes
29
+ - repo: https://github.com/pocc/pre-commit-hooks
30
+ rev: 093614db90b54cca053c04de00128d70c638b4c2
31
+ hooks:
32
+ - id: clang-format
33
+ exclude: ^(?x).+\.pb-c\.[ch]
34
+ args: ["--style=file", "-i"]
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Ci4Rail
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,9 @@
1
+ SUBDIRS := $(dir $(wildcard */Makefile))
2
+
3
+ TOPTARGETS := build clean
4
+
5
+ $(TOPTARGETS): $(SUBDIRS)
6
+ $(SUBDIRS):
7
+ @$(MAKE) -C $@ $(MAKECMDGOALS)
8
+
9
+ .PHONY: $(TOPTARGETS) $(SUBDIRS)
@@ -0,0 +1,18 @@
1
+ # io4edge_api
2
+
3
+ This repository contain all proto files for communicate with io4edge modules.
4
+
5
+ ## How to build
6
+
7
+ Run this repo from a vscode devcontainer. (CTRL+SHIFT+P -> Remote-Containers: Open Folder in Container, or clone the repo in the devcontainer)
8
+
9
+ Run `make` to generate all the files.
10
+
11
+ Currently implemented:
12
+ - golang
13
+ - protobuf-c
14
+ - python
15
+
16
+ # CI
17
+
18
+ When you push to main, the CI will build the go/python/protobuf-c files and check if the files are up to date. If not, the CI will push the changes to the main branch.
@@ -0,0 +1,3 @@
1
+ MODULE := analogInTypeA/v1alpha1
2
+ PROTOS := analogInTypeA.proto
3
+ include ../rules.mk